From bede2a3ac794120be65fa50bfbc8ed04082c10e0 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Tue, 30 Dec 2014 21:36:00 +0100 Subject: Remove qv8engine usage in the contextwrapper Change-Id: Iaf807add5d971e96cac57e38e13385e901f9c930 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4runtime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/jsruntime/qv4runtime.cpp') diff --git a/src/qml/jsruntime/qv4runtime.cpp b/src/qml/jsruntime/qv4runtime.cpp index f6f552119a..7338b8abbe 100644 --- a/src/qml/jsruntime/qv4runtime.cpp +++ b/src/qml/jsruntime/qv4runtime.cpp @@ -1417,7 +1417,7 @@ QV4::ReturnedValue Runtime::getQmlSingleton(QV4::NoThrowEngine *engine, int name Scope scope(engine); ScopedString name(scope, engine->currentContext()->compilationUnit->runtimeStrings[nameIndex]); Scoped wrapper(scope, engine->qmlContextObject()); - return wrapper->qmlSingletonWrapper(engine->v8Engine, name); + return wrapper->qmlSingletonWrapper(engine, name); } void Runtime::convertThisToObject(ExecutionEngine *engine) -- cgit v1.2.3