diff options
Diffstat (limited to 'WebKit/qt/Api/qwebscriptworld.cpp')
-rw-r--r-- | WebKit/qt/Api/qwebscriptworld.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/WebKit/qt/Api/qwebscriptworld.cpp b/WebKit/qt/Api/qwebscriptworld.cpp index 84b678d..74ab651 100644 --- a/WebKit/qt/Api/qwebscriptworld.cpp +++ b/WebKit/qt/Api/qwebscriptworld.cpp @@ -32,7 +32,9 @@ using namespace WebCore; */ QWebScriptWorld::QWebScriptWorld() { +#if USE(JSC) d = new QWebScriptWorldPrivate(ScriptController::createWorld()); +#endif } QWebScriptWorld::QWebScriptWorld(const QWebScriptWorld& other) |