| Index: third_party/WebKit/Source/bindings/core/v8/BindingSecurity.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/BindingSecurity.cpp b/third_party/WebKit/Source/bindings/core/v8/BindingSecurity.cpp
|
| index e79f6af8840253391420cfec41c14d750513f20c..0a302a227aaa9df8ed960f99f38208fe0a4213bd 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/BindingSecurity.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/BindingSecurity.cpp
|
| @@ -212,9 +212,9 @@ bool BindingSecurity::shouldAllowAccessToDetachedWindow(
|
| const LocalDOMWindow* accessingWindow,
|
| const DOMWindow* target,
|
| ExceptionState& exceptionState) {
|
| - CHECK(target && !target->frame())
|
| - << "This version of shouldAllowAccessToFrame() must be used only for "
|
| - << "detached windows.";
|
| + // This version of shouldAllowAccessToFrame() must be used only for detached
|
| + // windows.
|
| + CHECK(target && !target->frame());
|
| if (!target->document())
|
| return false;
|
| return canAccessFrame(accessingWindow,
|
|
|