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

Unified Diff: Source/core/rendering/RenderText.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/RenderText.h ('k') | Source/core/rendering/RenderView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderText.cpp
diff --git a/Source/core/rendering/RenderText.cpp b/Source/core/rendering/RenderText.cpp
index b4eecb50d6c2226615809e9fd6ab83ced491c66f..92ae689099351ba98d48c07f3a446d9891e66da0 100644
--- a/Source/core/rendering/RenderText.cpp
+++ b/Source/core/rendering/RenderText.cpp
@@ -162,7 +162,7 @@ RenderText::RenderText(Node* node, PassRefPtr<StringImpl> str)
view()->frameView()->incrementVisuallyNonEmptyCharacterCount(m_text.length());
}
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
RenderText::~RenderText()
{
@@ -1839,7 +1839,7 @@ bool RenderText::computeCanUseSimpleFontCodePath() const
return Character::characterRangeCodePath(characters16(), length()) == SimplePath;
}
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
void RenderText::checkConsistency() const
{
« no previous file with comments | « Source/core/rendering/RenderText.h ('k') | Source/core/rendering/RenderView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698