2008-09-14 Maciej Stachowiak <mjs@apple.com>
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Sep 2008 02:55:16 +0000 (02:55 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Sep 2008 02:55:16 +0000 (02:55 +0000)
        Unreviewed build fix.

        Blind attempt to fix build. Correct parameters for hasInstance.

        * bindings/js/JSQuarantinedObjectWrapper.cpp:
        (WebCore::JSQuarantinedObjectWrapper::hasInstance):
        * bindings/js/JSQuarantinedObjectWrapper.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36421 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/bindings/js/JSQuarantinedObjectWrapper.cpp
WebCore/bindings/js/JSQuarantinedObjectWrapper.h

index c2454dc79855a669959a831136cb3807cdb759d2..60167bef4971ba9b4fb037b731a2a517120663a7 100644 (file)
@@ -1,3 +1,13 @@
+2008-09-14  Maciej Stachowiak  <mjs@apple.com>
+
+        Unreviewed build fix.
+
+        Blind attempt to fix build. Correct parameters for hasInstance.
+
+        * bindings/js/JSQuarantinedObjectWrapper.cpp:
+        (WebCore::JSQuarantinedObjectWrapper::hasInstance):
+        * bindings/js/JSQuarantinedObjectWrapper.h:
+
 2008-09-14  Dan Bernstein  <mitz@apple.com>
 
         Rubber-stamped by Sam Weinig.
index 813de080a96bfe3a43f963a52dbbb6ea6711cbfa..a3a22b9b6815b91434b397c1b4d08a63e8659d2c 100644 (file)
@@ -235,12 +235,12 @@ bool JSQuarantinedObjectWrapper::implementsHasInstance() const
     return m_unwrappedObject->implementsHasInstance();
 }
 
-bool JSQuarantinedObjectWrapper::hasInstance(ExecState* exec, JSValue* value)
+bool JSQuarantinedObjectWrapper::hasInstance(ExecState* exec, JSValue* value, JSValue* proto)
 {
     if (!allowsHasInstance())
         return false;
 
-    bool result = m_unwrappedObject->hasInstance(unwrappedExecState(), prepareIncomingValue(exec, value));
+    bool result = m_unwrappedObject->hasInstance(unwrappedExecState(), prepareIncomingValue(exec, value, proto));
 
     transferExceptionToExecState(exec);
 
index f5c8c96901470612829edf10e4eb938b8816c489..62c52e8719f5b4e7b9f41ab90441f85668bd1c00 100644 (file)
@@ -64,7 +64,7 @@ namespace WebCore {
         virtual JSC::ConstructType getConstructData(JSC::ConstructData&);
 
         virtual bool implementsHasInstance() const;
-        virtual bool hasInstance(JSC::ExecState*, JSC::JSValue*);
+        virtual bool hasInstance(JSC::ExecState*, JSC::JSValue*, JSC::JSValue* proto);
 
         virtual void getPropertyNames(JSC::ExecState*, JSC::PropertyNameArray&);