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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/PaintController.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/platform/graphics/paint/PaintController.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp b/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
index d36728ced3732bc601268463fe86f96f089dd5c8..388dd95146ff1bd3d71a1060adbcc13364fe1c4f 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/PaintController.cpp
@@ -383,8 +383,10 @@ size_t PaintController::findOutOfOrderCachedItemForward(
<< DisplayItem::typeAsDebugString(id.type);
#endif
- if (RuntimeEnabledFeatures::paintUnderInvalidationCheckingEnabled())
- CHECK(false) << "Can't find cached display item";
+ if (RuntimeEnabledFeatures::paintUnderInvalidationCheckingEnabled()) {
+ // Can't find cached display item.
+ CHECK(false);
+ }
// We did not find the cached display item. This should be impossible, but may
// occur if there is a bug in the system, such as under-invalidation,

Powered by Google App Engine
This is Rietveld 408576698