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

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

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/RenderTableSection.cpp ('k') | Source/core/rendering/RenderText.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderText.h
diff --git a/Source/core/rendering/RenderText.h b/Source/core/rendering/RenderText.h
index 5853d376d4c5559d4c08e81203369003084ac96a..22c300e24dacc6c4d3ced2c10af3f1b1f5abba06 100644
--- a/Source/core/rendering/RenderText.h
+++ b/Source/core/rendering/RenderText.h
@@ -40,7 +40,7 @@ public:
// not the content of the Text node, updating text-transform property
// doesn't re-transform the string.
RenderText(Node*, PassRefPtr<StringImpl>);
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
virtual ~RenderText();
#endif
@@ -225,7 +225,7 @@ inline UChar RenderText::characterAt(unsigned i) const
DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderText, isText());
-#ifdef NDEBUG
+#if !ENABLE(ASSERT)
inline void RenderText::checkConsistency() const
{
}
« no previous file with comments | « Source/core/rendering/RenderTableSection.cpp ('k') | Source/core/rendering/RenderText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698