| Index: third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
|
| index 1c9bafd8f5c9a36519102dd6dd9874f22641572a..5a8e2a26215886563d92ba9aebb00789d638fdfa 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp
|
| @@ -160,7 +160,7 @@ ScriptValue nodeAsScriptValue(ScriptState* scriptState, Node* node)
|
| ScriptState::Scope scope(scriptState);
|
| v8::Isolate* isolate = scriptState->isolate();
|
| ExceptionState exceptionState(ExceptionState::ExecutionContext, "nodeAsScriptValue", "InjectedScriptHost", scriptState->context()->Global(), isolate);
|
| - if (!BindingSecurity::shouldAllowAccessToNode(isolate, callingDOMWindow(isolate), node, exceptionState))
|
| + if (!BindingSecurity::shouldAllowAccessTo(isolate, callingDOMWindow(isolate), node, exceptionState))
|
| return ScriptValue(scriptState, v8::Null(isolate));
|
| return ScriptValue(scriptState, toV8(node, scriptState->context()->Global(), isolate));
|
| }
|
|
|