Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/BindingSecurity.cpp

Issue 2561963002: base: Remove the string logging from CHECK(). (Closed)
Patch Set: checkstring: rebase Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698