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

Unified Diff: Source/wtf/BloomFilter.h

Issue 394353002: Replace tests of ASSERT_ENABLED with ENABLE(ASSERT). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/BloomFilter.h
diff --git a/Source/wtf/BloomFilter.h b/Source/wtf/BloomFilter.h
index eed43d509be780c330a6bf017f6cc8f217a44516..bc16fb15abaa8a0b09db589e617283347ad3666d 100644
--- a/Source/wtf/BloomFilter.h
+++ b/Source/wtf/BloomFilter.h
@@ -64,7 +64,7 @@ public:
bool mayContain(const AtomicString& string) const { return mayContain(string.impl()->existingHash()); }
bool mayContain(const String& string) const { return mayContain(string.impl()->hash()); }
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
// Slow.
bool likelyEmpty() const;
bool isClear() const;
@@ -110,7 +110,7 @@ inline void BloomFilter<keyBits>::clear()
memset(m_table, 0, tableSize);
}
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
template <unsigned keyBits>
bool BloomFilter<keyBits>::likelyEmpty() const
{
« Source/wtf/Assertions.h ('K') | « Source/wtf/Assertions.h ('k') | Source/wtf/DateMath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698