From 635860845790a19bf50bbc51ba8fb66a96dde068 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Thu, 5 Mar 2009 14:34:32 -0800 Subject: auto import from //depot/cupcake/@136594 --- WebCore/bridge/runtime_array.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'WebCore/bridge/runtime_array.h') 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 createStructureID(JSValue* prototype) + static PassRefPtr 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 _array; }; -- cgit v1.1