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

Unified Diff: Source/wtf/StringHasher.h

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/wtf/StringHasher.h
diff --git a/Source/wtf/StringHasher.h b/Source/wtf/StringHasher.h
index 6a2527ebcc07e6a96cc54570b852fe4b8e691a41..a0ad0d50743b543fb35e7e8d7cf6be4f17e4726f 100644
--- a/Source/wtf/StringHasher.h
+++ b/Source/wtf/StringHasher.h
@@ -74,12 +74,12 @@ public:
void addCharacters(UChar a, UChar b)
{
if (m_hasPendingCharacter) {
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
m_hasPendingCharacter = false;
#endif
addCharactersAssumingAligned(m_pendingCharacter, a);
m_pendingCharacter = b;
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
m_hasPendingCharacter = true;
#endif
return;

Powered by Google App Engine
This is Rietveld 408576698