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 35d6afa57171c006c5b7d7af8e56b47d8147ccae..15651dff15f8f6eaede70731f35a71208ae7a4ea 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp |
+++ b/third_party/WebKit/Source/core/inspector/InspectorDOMAgent.cpp |
@@ -130,8 +130,7 @@ bool parseQuad(std::unique_ptr<protocol::Array<double>> quadArray, FloatQuad* qu |
v8::Local<v8::Value> nodeV8Value(v8::Local<v8::Context> context, Node* node) |
{ |
v8::Isolate* isolate = context->GetIsolate(); |
- ExceptionState exceptionState(ExceptionState::ExecutionContext, "nodeV8Value", "InjectedScriptHost", context->Global(), isolate); |
- if (!node || !BindingSecurity::shouldAllowAccessTo(currentDOMWindow(isolate), node, exceptionState)) |
+ if (!node || !BindingSecurity::shouldAllowAccessTo(currentDOMWindow(isolate), node, BindingSecurity::ErrorReportOption::DoNotReport)) |
return v8::Null(isolate); |
return toV8(node, context->Global(), isolate); |
} |