diff options
Diffstat (limited to 'WebKit/qt/Api/qwebscriptworld.cpp')
-rw-r--r-- | WebKit/qt/Api/qwebscriptworld.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/WebKit/qt/Api/qwebscriptworld.cpp b/WebKit/qt/Api/qwebscriptworld.cpp index 5d912cc..84b678d 100644 --- a/WebKit/qt/Api/qwebscriptworld.cpp +++ b/WebKit/qt/Api/qwebscriptworld.cpp @@ -35,6 +35,17 @@ QWebScriptWorld::QWebScriptWorld() d = new QWebScriptWorldPrivate(ScriptController::createWorld()); } +QWebScriptWorld::QWebScriptWorld(const QWebScriptWorld& other) + : d(other.d) +{ +} + +QWebScriptWorld &QWebScriptWorld::operator=(const QWebScriptWorld& other) +{ + d = other.d; + return *this; +} + DOMWrapperWorld* QWebScriptWorld::world() const { return d->world.get(); |