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

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

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed config.gni. Minor cleanups. Created 6 years, 5 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: Source/platform/graphics/GraphicsLayerClient.h
diff --git a/Source/platform/graphics/GraphicsLayerClient.h b/Source/platform/graphics/GraphicsLayerClient.h
index aec703d0a7afd04327f8745b8eeb358b1132ae8b..a947777c4f3289fcf5455ff6b6a6e561e19293d2 100644
--- a/Source/platform/graphics/GraphicsLayerClient.h
+++ b/Source/platform/graphics/GraphicsLayerClient.h
@@ -71,7 +71,7 @@ public:
virtual String debugName(const GraphicsLayer*) = 0;
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
// 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