diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-05 14:34:32 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-05 14:34:32 -0800 |
commit | 635860845790a19bf50bbc51ba8fb66a96dde068 (patch) | |
tree | ef6ad9ff73a5b57f65249d4232a202fa77e6a140 /WebCore/bridge/runtime_array.h | |
parent | 8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (diff) | |
download | external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.zip external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.gz external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.bz2 |
auto import from //depot/cupcake/@136594
Diffstat (limited to 'WebCore/bridge/runtime_array.h')
-rw-r--r-- | WebCore/bridge/runtime_array.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/WebCore/bridge/runtime_array.h b/WebCore/bridge/runtime_array.h index 22ad5f3..1ea47a4 100644 --- a/WebCore/bridge/runtime_array.h +++ b/WebCore/bridge/runtime_array.h @@ -37,8 +37,8 @@ public: virtual bool getOwnPropertySlot(ExecState *, const Identifier&, PropertySlot&); virtual bool getOwnPropertySlot(ExecState *, unsigned, PropertySlot&); - virtual void put(ExecState*, const Identifier& propertyName, JSValue*, PutPropertySlot&); - virtual void put(ExecState*, unsigned propertyName, JSValue*); + virtual void put(ExecState*, const Identifier& propertyName, JSValuePtr, PutPropertySlot&); + virtual void put(ExecState*, unsigned propertyName, JSValuePtr); virtual bool deleteProperty(ExecState *exec, const Identifier &propertyName); virtual bool deleteProperty(ExecState *exec, unsigned propertyName); @@ -56,14 +56,14 @@ public: return exec->lexicalGlobalObject()->arrayPrototype(); } - static PassRefPtr<StructureID> createStructureID(JSValue* prototype) + static PassRefPtr<Structure> createStructure(JSValuePtr prototype) { - return StructureID::create(prototype, TypeInfo(ObjectType)); + return Structure::create(prototype, TypeInfo(ObjectType)); } private: - static JSValue* lengthGetter(ExecState*, const Identifier&, const PropertySlot&); - static JSValue* indexGetter(ExecState*, const Identifier&, const PropertySlot&); + static JSValuePtr lengthGetter(ExecState*, const Identifier&, const PropertySlot&); + static JSValuePtr indexGetter(ExecState*, const Identifier&, const PropertySlot&); OwnPtr<Bindings::Array> _array; }; |