| Index: third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
|
| index 4a354bc7fb70624629aa131c0352746359a4041c..c39597dd48b3f7d93815710a47eba3b6dac3f634 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
|
| @@ -89,7 +89,7 @@ bool ScriptController::canAccessFromCurrentOrigin(LocalFrame *frame)
|
| if (!frame)
|
| return false;
|
| v8::Isolate* isolate = toIsolate(frame);
|
| - return !isolate->InContext() || BindingSecurity::shouldAllowAccessToFrame(isolate, callingDOMWindow(isolate), frame);
|
| + return !isolate->InContext() || BindingSecurity::shouldAllowAccessToFrame(isolate, callingDOMWindow(isolate), frame, ReportSecurityError);
|
| }
|
|
|
| ScriptController::ScriptController(LocalFrame* frame)
|
|
|