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

Unified Diff: Source/core/rendering/RenderLineBoxList.h

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased after ENABLE(ASSERT) renaming. 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/RenderLineBoxList.h
diff --git a/Source/core/rendering/RenderLineBoxList.h b/Source/core/rendering/RenderLineBoxList.h
index 611b4d42ba86259adf63d0583d89982e31357f92..3734af3e3d01ee13de98c91114c040ca9e4ee009 100644
--- a/Source/core/rendering/RenderLineBoxList.h
+++ b/Source/core/rendering/RenderLineBoxList.h
@@ -42,7 +42,7 @@ public:
{
}
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
~RenderLineBoxList();
#endif
@@ -79,7 +79,7 @@ private:
};
-#ifdef NDEBUG
+#if !ENABLE(ASSERT)
inline void RenderLineBoxList::checkConsistency() const
{
}

Powered by Google App Engine
This is Rietveld 408576698