diff options
author | Keith Isdale <keith.isdale@nokia.com> | 2009-06-24 00:57:03 (GMT) |
---|---|---|
committer | Keith Isdale <keith.isdale@nokia.com> | 2009-06-24 00:57:03 (GMT) |
commit | 188919b3c6e94714de71e4d12d3713aabb52ab8d (patch) | |
tree | 8552f757a2fea1b3c303ffb7ee9e7e199da29f7f /src/3rdparty/webkit/WebCore/generated/JSFile.cpp | |
parent | 07d3055a7402ba58bc299e79b96808c8025e33de (diff) | |
parent | 7e9eaea489f9760b74e8930069222dd1200fb854 (diff) | |
download | Qt-188919b3c6e94714de71e4d12d3713aabb52ab8d.zip Qt-188919b3c6e94714de71e4d12d3713aabb52ab8d.tar.gz Qt-188919b3c6e94714de71e4d12d3713aabb52ab8d.tar.bz2 |
Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt into 4.5
Diffstat (limited to 'src/3rdparty/webkit/WebCore/generated/JSFile.cpp')
-rw-r--r-- | src/3rdparty/webkit/WebCore/generated/JSFile.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/3rdparty/webkit/WebCore/generated/JSFile.cpp b/src/3rdparty/webkit/WebCore/generated/JSFile.cpp index cbb4281..7decde8 100644 --- a/src/3rdparty/webkit/WebCore/generated/JSFile.cpp +++ b/src/3rdparty/webkit/WebCore/generated/JSFile.cpp @@ -72,7 +72,7 @@ public: JSFileConstructor(ExecState* exec) : DOMObject(JSFileConstructor::createStructure(exec->lexicalGlobalObject()->objectPrototype())) { - putDirect(exec->propertyNames().prototype, JSFilePrototype::self(exec), None); + putDirect(exec->propertyNames().prototype, JSFilePrototype::self(exec, exec->lexicalGlobalObject()), None); } virtual bool getOwnPropertySlot(ExecState*, const Identifier&, PropertySlot&); virtual const ClassInfo* classInfo() const { return &s_info; } @@ -107,9 +107,9 @@ static const HashTable JSFilePrototypeTable = const ClassInfo JSFilePrototype::s_info = { "FilePrototype", 0, &JSFilePrototypeTable, 0 }; -JSObject* JSFilePrototype::self(ExecState* exec) +JSObject* JSFilePrototype::self(ExecState* exec, JSGlobalObject* globalObject) { - return getDOMPrototype<JSFile>(exec); + return getDOMPrototype<JSFile>(exec, globalObject); } const ClassInfo JSFile::s_info = { "File", 0, &JSFileTable, 0 }; @@ -126,9 +126,9 @@ JSFile::~JSFile() } -JSObject* JSFile::createPrototype(ExecState* exec) +JSObject* JSFile::createPrototype(ExecState* exec, JSGlobalObject* globalObject) { - return new (exec) JSFilePrototype(JSFilePrototype::createStructure(exec->lexicalGlobalObject()->objectPrototype())); + return new (exec) JSFilePrototype(JSFilePrototype::createStructure(globalObject->objectPrototype())); } bool JSFile::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) |