QV8DebugService: Simplify the service code
[profile/ivi/qtdeclarative.git] / src / declarative / qml / qdeclarativeengine.cpp
index 49239ae..9f2f4a0 100644 (file)
@@ -448,7 +448,7 @@ void QDeclarativeEnginePrivate::init()
         QDeclarativeEngineDebugService::isDebuggingEnabled()) {
         isDebugging = true;
         QDeclarativeEngineDebugService::instance()->addEngine(q);
-        QV8DebugService::initialize();
+        QV8DebugService::initialize(v8engine());
         QV8ProfilerService::initialize();
         QDeclarativeDebugTrace::initialize();
     }