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

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

Issue 2513893002: Make ifdefs consistent in WebKit/Source/core/ (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/SubsequenceDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.h
index 6edea7579598724bf5028c458d3271880890bb25..483da960e97e67567201b01998feaf65488400ff 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.h
@@ -22,7 +22,7 @@ class EndSubsequenceDisplayItem final : public PairedEndDisplayItem {
EndSubsequenceDisplayItem(const DisplayItemClient& client)
: PairedEndDisplayItem(client, kEndSubsequence, sizeof(*this)) {}
-#if ENABLE(ASSERT)
+#ifdef NDEBUG
bool isEndAndPairedWith(DisplayItem::Type otherType) const final {
return getType() == kEndSubsequence && otherType == kSubsequence;
}

Powered by Google App Engine
This is Rietveld 408576698