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

Unified Diff: Source/wtf/LinkedHashSet.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/LinkedHashSet.h
diff --git a/Source/wtf/LinkedHashSet.h b/Source/wtf/LinkedHashSet.h
index 9faff169915d82777f6db74140da1b9f818ad0a3..19c4ff3a586c5a78d14331fa14ef0ef0b7282f3c 100644
--- a/Source/wtf/LinkedHashSet.h
+++ b/Source/wtf/LinkedHashSet.h
@@ -380,7 +380,7 @@ private:
protected:
LinkedHashSetConstIterator(const LinkedHashSetNodeBase* position, const LinkedHashSetType* container)
: m_position(position)
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
, m_container(container)
, m_containerModifications(container->modifications())
#endif
@@ -426,7 +426,7 @@ public:
private:
const LinkedHashSetNodeBase* m_position;
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
void checkModifications() const { m_container->checkModifications(m_containerModifications); }
const LinkedHashSetType* m_container;
int64_t m_containerModifications;
« Source/wtf/Assertions.h ('K') | « Source/wtf/HashTable.h ('k') | Source/wtf/RefCounted.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698