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 --- JavaScriptCore/runtime/InternalFunction.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'JavaScriptCore/runtime/InternalFunction.h') diff --git a/JavaScriptCore/runtime/InternalFunction.h b/JavaScriptCore/runtime/InternalFunction.h index 54d90ae..cc4b917 100644 --- a/JavaScriptCore/runtime/InternalFunction.h +++ b/JavaScriptCore/runtime/InternalFunction.h @@ -25,7 +25,7 @@ #define InternalFunction_h #include "JSObject.h" -#include "identifier.h" +#include "Identifier.h" namespace JSC { @@ -38,22 +38,22 @@ namespace JSC { const UString& name(JSGlobalData*); - static PassRefPtr createStructureID(JSValue* proto) + static PassRefPtr createStructure(JSValuePtr proto) { - return StructureID::create(proto, TypeInfo(ObjectType, ImplementsHasInstance | HasStandardGetOwnPropertySlot)); + return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance | HasStandardGetOwnPropertySlot)); } protected: - InternalFunction(PassRefPtr structure) : JSObject(structure) { } - InternalFunction(JSGlobalData*, PassRefPtr, const Identifier&); + InternalFunction(PassRefPtr structure) : JSObject(structure) { } + InternalFunction(JSGlobalData*, PassRefPtr, const Identifier&); private: virtual CallType getCallData(CallData&) = 0; }; - InternalFunction* asInternalFunction(JSValue*); + InternalFunction* asInternalFunction(JSValuePtr); - inline InternalFunction* asInternalFunction(JSValue* value) + inline InternalFunction* asInternalFunction(JSValuePtr value) { ASSERT(asObject(value)->inherits(&InternalFunction::info)); return static_cast(asObject(value)); -- cgit v1.1