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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/FloatClipDisplayItem.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/FloatClipDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/FloatClipDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/FloatClipDisplayItem.h
index 97e18328788700661adf6f91d24cdf98d31c6247..18ac0a101bcf790398ebc17e7b1a7bf3b4cfd3d1 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/FloatClipDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/FloatClipDisplayItem.h
@@ -52,7 +52,7 @@ class PLATFORM_EXPORT EndFloatClipDisplayItem final
WebDisplayItemList*) const override;
private:
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
bool isEndAndPairedWith(DisplayItem::Type otherType) const final {
return DisplayItem::isFloatClipType(otherType);
}

Powered by Google App Engine
This is Rietveld 408576698