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

Unified Diff: Source/core/rendering/ClipRectsCache.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/core/rendering/ClipRectsCache.h
diff --git a/Source/core/rendering/ClipRectsCache.h b/Source/core/rendering/ClipRectsCache.h
index 457bc1f55893f043eff5e64a9a7b591db4e7aa7c..e2ba9611910a076d85e0ecc839d09888330991da 100644
--- a/Source/core/rendering/ClipRectsCache.h
+++ b/Source/core/rendering/ClipRectsCache.h
@@ -7,7 +7,7 @@
#include "core/rendering/ClipRects.h"
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
#include "core/rendering/RenderBox.h" // For OverlayScrollbarSizeRelevancy.
#endif
@@ -34,7 +34,7 @@ public:
struct Entry {
Entry()
: root(0)
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
, scrollbarRelevancy(IgnoreOverlayScrollbarSize)
#endif
{
@@ -42,7 +42,7 @@ public:
const RenderLayer* root;
RefPtr<ClipRects> clipRects;
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
OverlayScrollbarSizeRelevancy scrollbarRelevancy;
#endif
};

Powered by Google App Engine
This is Rietveld 408576698