summaryrefslogtreecommitdiff
path: root/src/3rdparty/webkit/WebCore/generated/JSEntity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/webkit/WebCore/generated/JSEntity.cpp')
-rw-r--r--src/3rdparty/webkit/WebCore/generated/JSEntity.cpp27
1 files changed, 15 insertions, 12 deletions
diff --git a/src/3rdparty/webkit/WebCore/generated/JSEntity.cpp b/src/3rdparty/webkit/WebCore/generated/JSEntity.cpp
index 464a93ff71..c9f355a56e 100644
--- a/src/3rdparty/webkit/WebCore/generated/JSEntity.cpp
+++ b/src/3rdparty/webkit/WebCore/generated/JSEntity.cpp
@@ -33,7 +33,7 @@ using namespace JSC;
namespace WebCore {
-ASSERT_CLASS_FITS_IN_CELL(JSEntity)
+ASSERT_CLASS_FITS_IN_CELL(JSEntity);
/* Hash table */
@@ -72,13 +72,13 @@ public:
JSEntityConstructor(ExecState* exec)
: DOMObject(JSEntityConstructor::createStructure(exec->lexicalGlobalObject()->objectPrototype()))
{
- putDirect(exec->propertyNames().prototype, JSEntityPrototype::self(exec), None);
+ putDirect(exec->propertyNames().prototype, JSEntityPrototype::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));
}
@@ -107,9 +107,9 @@ static const HashTable JSEntityPrototypeTable =
const ClassInfo JSEntityPrototype::s_info = { "EntityPrototype", 0, &JSEntityPrototypeTable, 0 };
-JSObject* JSEntityPrototype::self(ExecState* exec)
+JSObject* JSEntityPrototype::self(ExecState* exec, JSGlobalObject* globalObject)
{
- return getDOMPrototype<JSEntity>(exec);
+ return getDOMPrototype<JSEntity>(exec, globalObject);
}
const ClassInfo JSEntity::s_info = { "Entity", &JSNode::s_info, &JSEntityTable, 0 };
@@ -119,9 +119,9 @@ JSEntity::JSEntity(PassRefPtr<Structure> structure, PassRefPtr<Entity> impl)
{
}
-JSObject* JSEntity::createPrototype(ExecState* exec)
+JSObject* JSEntity::createPrototype(ExecState* exec, JSGlobalObject* globalObject)
{
- return new (exec) JSEntityPrototype(JSEntityPrototype::createStructure(JSNodePrototype::self(exec)));
+ return new (exec) JSEntityPrototype(JSEntityPrototype::createStructure(JSNodePrototype::self(exec, globalObject)));
}
bool JSEntity::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot)
@@ -129,29 +129,32 @@ bool JSEntity::getOwnPropertySlot(ExecState* exec, const Identifier& propertyNam
return getStaticValueSlot<JSEntity, Base>(exec, &JSEntityTable, this, propertyName, slot);
}
-JSValuePtr jsEntityPublicId(ExecState* exec, const Identifier&, const PropertySlot& slot)
+JSValue jsEntityPublicId(ExecState* exec, const Identifier&, const PropertySlot& slot)
{
+ UNUSED_PARAM(exec);
Entity* imp = static_cast<Entity*>(static_cast<JSEntity*>(asObject(slot.slotBase()))->impl());
return jsStringOrNull(exec, imp->publicId());
}
-JSValuePtr jsEntitySystemId(ExecState* exec, const Identifier&, const PropertySlot& slot)
+JSValue jsEntitySystemId(ExecState* exec, const Identifier&, const PropertySlot& slot)
{
+ UNUSED_PARAM(exec);
Entity* imp = static_cast<Entity*>(static_cast<JSEntity*>(asObject(slot.slotBase()))->impl());
return jsStringOrNull(exec, imp->systemId());
}
-JSValuePtr jsEntityNotationName(ExecState* exec, const Identifier&, const PropertySlot& slot)
+JSValue jsEntityNotationName(ExecState* exec, const Identifier&, const PropertySlot& slot)
{
+ UNUSED_PARAM(exec);
Entity* imp = static_cast<Entity*>(static_cast<JSEntity*>(asObject(slot.slotBase()))->impl());
return jsStringOrNull(exec, imp->notationName());
}
-JSValuePtr jsEntityConstructor(ExecState* exec, const Identifier&, const PropertySlot& slot)
+JSValue jsEntityConstructor(ExecState* exec, const Identifier&, const PropertySlot& slot)
{
return static_cast<JSEntity*>(asObject(slot.slotBase()))->getConstructor(exec);
}
-JSValuePtr JSEntity::getConstructor(ExecState* exec)
+JSValue JSEntity::getConstructor(ExecState* exec)
{
return getDOMConstructor<JSEntityConstructor>(exec);
}