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

Unified Diff: Source/core/html/HTMLFormElement.cpp

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/core/html/HTMLFormElement.cpp
diff --git a/Source/core/html/HTMLFormElement.cpp b/Source/core/html/HTMLFormElement.cpp
index 25bc025ffce6df691627934c4770b0cd680d674e..640f221bf3cabd1ec3198e43338b17e89bdbdad2 100644
--- a/Source/core/html/HTMLFormElement.cpp
+++ b/Source/core/html/HTMLFormElement.cpp
@@ -727,7 +727,7 @@ Element* HTMLFormElement::elementFromPastNamesMap(const AtomicString& pastName)
if (pastName.isEmpty() || !m_pastNamesMap)
return 0;
Element* element = m_pastNamesMap->get(pastName);
-#if ASSERT_ENABLED
+#if ENABLE(ASSERT)
if (!element)
return 0;
ASSERT_WITH_SECURITY_IMPLICATION(toHTMLElement(element)->formOwner() == this);

Powered by Google App Engine
This is Rietveld 408576698