diff options
Diffstat (limited to 'Source/JavaScriptCore/API/JSClassRef.cpp')
-rw-r--r-- | Source/JavaScriptCore/API/JSClassRef.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/JavaScriptCore/API/JSClassRef.cpp b/Source/JavaScriptCore/API/JSClassRef.cpp index 5f67fc37e..134431654 100644 --- a/Source/JavaScriptCore/API/JSClassRef.cpp +++ b/Source/JavaScriptCore/API/JSClassRef.cpp @@ -219,6 +219,6 @@ JSObject* OpaqueJSClass::prototype(ExecState* exec) prototype->setPrototype(exec->globalData(), parentPrototype); } - jsClassData.cachedPrototype = PassWeak<JSObject>(prototype, 0); + jsClassData.cachedPrototype = PassWeak<JSObject>(prototype); return prototype; } |