diff options
Diffstat (limited to 'src/3rdparty/webkit/WebCore/generated/JSEntityReference.cpp')
-rw-r--r-- | src/3rdparty/webkit/WebCore/generated/JSEntityReference.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/3rdparty/webkit/WebCore/generated/JSEntityReference.cpp b/src/3rdparty/webkit/WebCore/generated/JSEntityReference.cpp index 19effcaaa8..88450e75af 100644 --- a/src/3rdparty/webkit/WebCore/generated/JSEntityReference.cpp +++ b/src/3rdparty/webkit/WebCore/generated/JSEntityReference.cpp @@ -32,7 +32,7 @@ using namespace JSC; namespace WebCore { -ASSERT_CLASS_FITS_IN_CELL(JSEntityReference) +ASSERT_CLASS_FITS_IN_CELL(JSEntityReference); /* Hash table */ @@ -68,13 +68,13 @@ public: JSEntityReferenceConstructor(ExecState* exec) : DOMObject(JSEntityReferenceConstructor::createStructure(exec->lexicalGlobalObject()->objectPrototype())) { - putDirect(exec->propertyNames().prototype, JSEntityReferencePrototype::self(exec), None); + putDirect(exec->propertyNames().prototype, JSEntityReferencePrototype::self(exec, exec->lexicalGlobalObject()), None); } virtual bool getOwnPropertySlot(ExecState*, const Identifier&, PropertySlot&); virtual const ClassInfo* classInfo() const { return &s_info; } static const ClassInfo s_info; - static PassRefPtr<Structure> createStructure(JSValuePtr proto) + static PassRefPtr<Structure> createStructure(JSValue proto) { return Structure::create(proto, TypeInfo(ObjectType, ImplementsHasInstance)); } @@ -103,9 +103,9 @@ static const HashTable JSEntityReferencePrototypeTable = const ClassInfo JSEntityReferencePrototype::s_info = { "EntityReferencePrototype", 0, &JSEntityReferencePrototypeTable, 0 }; -JSObject* JSEntityReferencePrototype::self(ExecState* exec) +JSObject* JSEntityReferencePrototype::self(ExecState* exec, JSGlobalObject* globalObject) { - return getDOMPrototype<JSEntityReference>(exec); + return getDOMPrototype<JSEntityReference>(exec, globalObject); } const ClassInfo JSEntityReference::s_info = { "EntityReference", &JSNode::s_info, &JSEntityReferenceTable, 0 }; @@ -115,9 +115,9 @@ JSEntityReference::JSEntityReference(PassRefPtr<Structure> structure, PassRefPtr { } -JSObject* JSEntityReference::createPrototype(ExecState* exec) +JSObject* JSEntityReference::createPrototype(ExecState* exec, JSGlobalObject* globalObject) { - return new (exec) JSEntityReferencePrototype(JSEntityReferencePrototype::createStructure(JSNodePrototype::self(exec))); + return new (exec) JSEntityReferencePrototype(JSEntityReferencePrototype::createStructure(JSNodePrototype::self(exec, globalObject))); } bool JSEntityReference::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) @@ -125,11 +125,11 @@ bool JSEntityReference::getOwnPropertySlot(ExecState* exec, const Identifier& pr return getStaticValueSlot<JSEntityReference, Base>(exec, &JSEntityReferenceTable, this, propertyName, slot); } -JSValuePtr jsEntityReferenceConstructor(ExecState* exec, const Identifier&, const PropertySlot& slot) +JSValue jsEntityReferenceConstructor(ExecState* exec, const Identifier&, const PropertySlot& slot) { return static_cast<JSEntityReference*>(asObject(slot.slotBase()))->getConstructor(exec); } -JSValuePtr JSEntityReference::getConstructor(ExecState* exec) +JSValue JSEntityReference::getConstructor(ExecState* exec) { return getDOMConstructor<JSEntityReferenceConstructor>(exec); } |