| Index: Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp b/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
|
| index 10b4d984b2807ff55006d079c6e6bcf7e39e3ad6..8f4b24b91b85e249b3db308382fdd8b8799a6726 100644
|
| --- a/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
|
| @@ -79,10 +79,10 @@ ScriptValue InjectedScriptHost::nodeAsScriptValue(ScriptState* scriptState, Node
|
| v8::Local<v8::Context> context = scriptState->context();
|
| v8::Context::Scope contextScope(context);
|
|
|
| - ExceptionState exceptionState(ExceptionState::ExecutionContext, "nodeAsScriptValue", "InjectedScriptHost", v8::Handle<v8::Object>(), isolate);
|
| + ExceptionState exceptionState(ExceptionState::ExecutionContext, "nodeAsScriptValue", "InjectedScriptHost", context->Global(), isolate);
|
| if (!BindingSecurity::shouldAllowAccessToNode(isolate, node, exceptionState))
|
| return ScriptValue(scriptState, v8::Null(isolate));
|
| - return ScriptValue(scriptState, toV8(node, v8::Handle<v8::Object>(), isolate));
|
| + return ScriptValue(scriptState, toV8(node, context->Global(), isolate));
|
| }
|
|
|
| void V8InjectedScriptHost::inspectedObjectMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
|
|
|