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

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

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. 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
« no previous file with comments | « Source/core/rendering/RenderLineBoxList.h ('k') | Source/core/rendering/RenderMultiColumnSet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderLineBoxList.cpp
diff --git a/Source/core/rendering/RenderLineBoxList.cpp b/Source/core/rendering/RenderLineBoxList.cpp
index 982e64ec664eab496afc585ddbc758f08a6a3a40..68aa1ec257cacb7f2e45bc6e60ac8bfa3030c891 100644
--- a/Source/core/rendering/RenderLineBoxList.cpp
+++ b/Source/core/rendering/RenderLineBoxList.cpp
@@ -38,7 +38,7 @@
namespace WebCore {
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
RenderLineBoxList::~RenderLineBoxList()
{
ASSERT(!m_firstLineBox);
@@ -356,7 +356,7 @@ void RenderLineBoxList::dirtyLinesFromChangedChild(RenderObject* container, Rend
}
}
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
void RenderLineBoxList::checkConsistency() const
{
« no previous file with comments | « Source/core/rendering/RenderLineBoxList.h ('k') | Source/core/rendering/RenderMultiColumnSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698