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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsLayerClient.h

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: m_domTreeVersion initialization Created 3 years, 11 months 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/GraphicsLayerClient.h
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsLayerClient.h b/third_party/WebKit/Source/platform/graphics/GraphicsLayerClient.h
index 1a9f4ae9e7172adbb3a29427505c9d69f52d13f1..2e48204c99c2ae792e0e130d63b827fad9a553af 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsLayerClient.h
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsLayerClient.h
@@ -89,7 +89,7 @@ class PLATFORM_EXPORT GraphicsLayerClient {
virtual String debugName(const GraphicsLayer*) const = 0;
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
// CompositedLayerMapping overrides this to verify that it is not
// currently painting contents. An ASSERT fails, if it is.
// This is executed in GraphicsLayer construction and destruction

Powered by Google App Engine
This is Rietveld 408576698