]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - API/JSCallbackFunction.h
JavaScriptCore-721.26.tar.gz
[apple/javascriptcore.git] / API / JSCallbackFunction.h
index 7dd87b59b58c5b9435969580bcc26cf05e50210a..10dae6b73f0437c8a68f743573deaf601e6fca8c 100644 (file)
@@ -41,7 +41,7 @@ public:
     // refactor the code so this override isn't necessary
     static PassRefPtr<Structure> createStructure(JSValue proto) 
     { 
-        return Structure::create(proto, TypeInfo(ObjectType, HasStandardGetOwnPropertySlot)); 
+        return Structure::create(proto, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount); 
     }
 
 private: