src/script/bridge/qscriptqobject_p.h
branchRCL_3
changeset 13 c0432d11811c
parent 4 3b1da2848fc7
--- a/src/script/bridge/qscriptqobject_p.h	Wed Apr 21 12:15:23 2010 +0300
+++ b/src/script/bridge/qscriptqobject_p.h	Wed Apr 21 20:15:53 2010 +0300
@@ -304,7 +304,7 @@
 
     static WTF::PassRefPtr<JSC::Structure> createStructure(JSC::JSValue prototype)
     {
-        return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType));
+        return JSC::Structure::create(prototype, JSC::TypeInfo(JSC::ObjectType, JSC::ImplementsHasInstance));
     }
 
 protected: