summaryrefslogtreecommitdiffstats
path: root/src/v4/qv4v8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4/qv4v8.cpp')
-rw-r--r--src/v4/qv4v8.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v4/qv4v8.cpp b/src/v4/qv4v8.cpp
index 067e6561..2c7b83a1 100644
--- a/src/v4/qv4v8.cpp
+++ b/src/v4/qv4v8.cpp
@@ -2086,7 +2086,7 @@ Persistent<Context> Context::New(ExtensionConfiguration *extensions, Handle<Obje
Local<Object> Context::Global()
{
- return Local<Object>::New(Value::fromVmValue(d->engine->globalObject));
+ return Local<Object>::New(Value::fromVmValue(VM::Value::fromObject(d->engine->globalObject)));
}
Local<Context> Context::GetCurrent()