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

Unified Diff: Source/platform/fonts/GlyphPageTreeNode.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/platform/Timer.cpp ('k') | Source/platform/fonts/GlyphPageTreeNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/GlyphPageTreeNode.h
diff --git a/Source/platform/fonts/GlyphPageTreeNode.h b/Source/platform/fonts/GlyphPageTreeNode.h
index 2ac20a2ca2a9e216c4727e874b2653bfbf57f5c2..7184ba9a6b7e3ebe46f5a9be81b490a03674ef7b 100644
--- a/Source/platform/fonts/GlyphPageTreeNode.h
+++ b/Source/platform/fonts/GlyphPageTreeNode.h
@@ -102,7 +102,7 @@ private:
, m_level(0)
, m_isSystemFallback(false)
, m_customFontCount(0)
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
, m_pageNumber(0)
#endif
{
@@ -128,9 +128,10 @@ private:
unsigned m_customFontCount;
OwnPtr<GlyphPageTreeNode> m_systemFallbackChild;
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
unsigned m_pageNumber;
-
+#endif
+#ifndef NDEBUG
friend void ::showGlyphPageTrees();
friend void ::showGlyphPageTree(unsigned pageNumber);
#endif
« no previous file with comments | « Source/platform/Timer.cpp ('k') | Source/platform/fonts/GlyphPageTreeNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698