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

Unified Diff: Source/platform/fonts/FontCache.cpp

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed config.gni. Minor cleanups. 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/platform/fonts/FontCache.cpp
diff --git a/Source/platform/fonts/FontCache.cpp b/Source/platform/fonts/FontCache.cpp
index e1ca8cfe4ccad5876c9155e0860474ced7c7e183..c7a4413aab216f291515c04534e130c187e9f4c4 100644
--- a/Source/platform/fonts/FontCache.cpp
+++ b/Source/platform/fonts/FontCache.cpp
@@ -151,7 +151,7 @@ PassRefPtr<SimpleFontData> FontCache::fontDataFromFontPlatformData(const FontPla
if (!gFontDataCache)
gFontDataCache = new FontDataCache;
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
if (shouldRetain == DoNotRetain)
ASSERT(m_purgePreventCount);
#endif

Powered by Google App Engine
This is Rietveld 408576698