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

Unified Diff: third_party/WebKit/Source/core/editing/CaretBase.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/core/editing/CaretBase.cpp
diff --git a/third_party/WebKit/Source/core/editing/CaretBase.cpp b/third_party/WebKit/Source/core/editing/CaretBase.cpp
index 07e9ed7ed1df99b069ee9a4c4d4110394684be87..c267dbfde1fbc51aade703c0d4d4dfcd26fcf66a 100644
--- a/third_party/WebKit/Source/core/editing/CaretBase.cpp
+++ b/third_party/WebKit/Source/core/editing/CaretBase.cpp
@@ -71,8 +71,8 @@ LayoutBlock* CaretBase::caretLayoutObject(Node* node) {
// DocumentLifeCycle::LayoutClean but caretRendersInsideNode above can
// layout. Thus |node->layoutObject()| can be changed then this is bad
// design. We should make caret painting algorithm clean.
- CHECK_EQ(layoutObject, node->layoutObject())
- << "Layout tree should not changed";
+ // Layout tree should not changed
+ CHECK_EQ(layoutObject, node->layoutObject());
return paintedByBlock ? toLayoutBlock(layoutObject)
: layoutObject->containingBlock();
}

Powered by Google App Engine
This is Rietveld 408576698