aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qv4debugger
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-11-21 09:17:01 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-12-11 08:40:41 +0100
commitddfe9defa803fdbfab10ab58b77df242cdb4cedd (patch)
treeb13af2424e8ea466a9de9fece8f2fbb6415ce8b6 /tests/auto/qml/qv4debugger
parent254cf16ed4c6007a59a7cd5d64bb621430b3c01d (diff)
Encapsulate accesses to the root context
Change-Id: I668cef1363a5c1a5c5b9a7e138f3bd0338712eea Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tests/auto/qml/qv4debugger')
-rw-r--r--tests/auto/qml/qv4debugger/tst_qv4debugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qv4debugger/tst_qv4debugger.cpp b/tests/auto/qml/qv4debugger/tst_qv4debugger.cpp
index 63bfffacaa..4733c87290 100644
--- a/tests/auto/qml/qv4debugger/tst_qv4debugger.cpp
+++ b/tests/auto/qml/qv4debugger/tst_qv4debugger.cpp
@@ -83,7 +83,7 @@ public:
QV4::Scope scope(v4);
QV4::Scoped<QV4::String> name(scope, v4->newString(functionName));
- QV4::ScopedValue function(scope, BuiltinFunction::create(v4->rootContext, name, injectedFunction));
+ QV4::ScopedValue function(scope, BuiltinFunction::create(v4->rootContext(), name, injectedFunction));
v4->globalObject->put(name, function);
}