Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
index a95f10fc30b00e4b0c321788ff8a452a85917c96..1dcd17f8c92e6c1c3fa168b29f304125bf9ac3de 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -834,7 +834,7 @@ v8::Local<v8::Context> WebLocalFrameImpl::mainWorldScriptContext() const { |
bool WebFrame::scriptCanAccess(WebFrame* target) { |
return BindingSecurity::shouldAllowAccessToFrame( |
- currentDOMWindow(mainThreadIsolate()), target->toImplBase()->frame(), |
+ currentDOMWindow(mainThreadIsolate()), *target->toImplBase()->frame(), |
BindingSecurity::ErrorReportOption::DoNotReport); |
} |