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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h

Issue 2530493002: WebKit: make #if DCHECK_IS_ON consistent in third_party/WebKit/Source/platform/ (Closed)
Patch Set: Created 4 years, 1 month 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/DisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
index 69d04570510f9311d02c16038e32b708bf2da1ce..90d9449e1ac54dc86e2d5070de0884c9a59216d2 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
@@ -418,7 +418,7 @@ class PLATFORM_EXPORT PairedEndDisplayItem : public DisplayItem {
size_t derivedSize)
: DisplayItem(client, type, derivedSize) {}
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0;
Alexander Alekseev 2016/11/23 07:53:07 The only call to this is protected with #if DCHECK
#endif

Powered by Google App Engine
This is Rietveld 408576698