diff options
Diffstat (limited to 'WebCore/bridge/runtime_array.h')
-rw-r--r-- | WebCore/bridge/runtime_array.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/bridge/runtime_array.h b/WebCore/bridge/runtime_array.h index f614f7f..1218b8c 100644 --- a/WebCore/bridge/runtime_array.h +++ b/WebCore/bridge/runtime_array.h @@ -59,10 +59,11 @@ public: static PassRefPtr<Structure> createStructure(JSValue prototype) { - return Structure::create(prototype, TypeInfo(ObjectType)); + return Structure::create(prototype, TypeInfo(ObjectType, StructureFlags)); } private: + static const unsigned StructureFlags = OverridesGetOwnPropertySlot | OverridesGetPropertyNames | JSObject::StructureFlags; static JSValue lengthGetter(ExecState*, const Identifier&, const PropertySlot&); static JSValue indexGetter(ExecState*, const Identifier&, const PropertySlot&); |