diff -r cc75c76972ee -r c0432d11811c src/script/bridge/qscriptqobject_p.h --- 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 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: