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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.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/TransformDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h
index c8a47dc5cc47f4740db119a59b6085c9f7b363fb..491d498b581f455dc4b731b87756bd2e3dc862ad 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h
@@ -48,7 +48,7 @@ class PLATFORM_EXPORT EndTransformDisplayItem final
WebDisplayItemList*) const override;
private:
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
bool isEndAndPairedWith(DisplayItem::Type otherType) const final {
return otherType == kBeginTransform;
}

Powered by Google App Engine
This is Rietveld 408576698