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
+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.
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);
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&);