aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4context.cpp')
-rw-r--r--src/qml/jsruntime/qv4context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4context.cpp b/src/qml/jsruntime/qv4context.cpp
index 40c02ef4ee..408ccf051a 100644
--- a/src/qml/jsruntime/qv4context.cpp
+++ b/src/qml/jsruntime/qv4context.cpp
@@ -343,7 +343,7 @@ ReturnedValue ExecutionContext::getProperty(String *name)
{
Scope scope(this);
ScopedValue v(scope);
- name->makeIdentifier();
+ name->makeIdentifier(scope.engine);
if (name->equals(d()->engine->id_this))
return d()->callData->thisObject.asReturnedValue();
@@ -410,7 +410,7 @@ ReturnedValue ExecutionContext::getPropertyAndBase(String *name, Heap::Object **
Scope scope(this);
ScopedValue v(scope);
*base = (Heap::Object *)0;
- name->makeIdentifier();
+ name->makeIdentifier(scope.engine);
if (name->equals(d()->engine->id_this))
return d()->callData->thisObject.asReturnedValue();