summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/API/JSWeakObjectMapRefPrivate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptCore/API/JSWeakObjectMapRefPrivate.cpp')
-rw-r--r--JavaScriptCore/API/JSWeakObjectMapRefPrivate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/JavaScriptCore/API/JSWeakObjectMapRefPrivate.cpp b/JavaScriptCore/API/JSWeakObjectMapRefPrivate.cpp
index 7e6bb63..9beeb82 100644
--- a/JavaScriptCore/API/JSWeakObjectMapRefPrivate.cpp
+++ b/JavaScriptCore/API/JSWeakObjectMapRefPrivate.cpp
@@ -58,7 +58,7 @@ void JSWeakObjectMapSet(JSContextRef ctx, JSWeakObjectMapRef map, void* key, JSO
JSObject* obj = toJS(object);
if (!obj)
return;
- ASSERT(obj->inherits(&JSCallbackObject<JSGlobalObject>::info) || obj->inherits(&JSCallbackObject<JSObject>::info));
+ ASSERT(obj->inherits(&JSCallbackObject<JSGlobalObject>::info) || obj->inherits(&JSCallbackObject<JSObjectWithGlobalObject>::info));
map->map().set(key, obj);
}