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

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

Issue 2513893002: Make ifdefs consistent in WebKit/Source/core/ (Closed)
Patch Set: Added #if DCHECK_IS_ON where needed. 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..e96ae94134be68aec25a6e388ba8f323dde9fb1a 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)
+#ifndef NDEBUG
Yuta Kitamura 2016/11/21 09:26:12 This should be DCHECK_IS_ON().
Alexander Alekseev 2016/11/23 09:20:30 Done.
bool isEndAndPairedWith(DisplayItem::Type otherType) const override = 0;
#endif

Powered by Google App Engine
This is Rietveld 408576698