| Index: Source/core/html/HTMLFormElement.cpp
|
| diff --git a/Source/core/html/HTMLFormElement.cpp b/Source/core/html/HTMLFormElement.cpp
|
| index eae8771d0a7566cc26350dc286221d29edead812..b6c8f0dba661790b992fea988e17d805c02a6507 100644
|
| --- a/Source/core/html/HTMLFormElement.cpp
|
| +++ b/Source/core/html/HTMLFormElement.cpp
|
| @@ -700,7 +700,7 @@ Element* HTMLFormElement::elementFromPastNamesMap(const AtomicString& pastName)
|
| if (pastName.isEmpty() || !m_pastNamesMap)
|
| return 0;
|
| Element* element = m_pastNamesMap->get(pastName);
|
| -#if !ASSERT_DISABLED
|
| +#if ASSERT_ENABLED
|
| if (!element)
|
| return 0;
|
| ASSERT_WITH_SECURITY_IMPLICATION(toHTMLElement(element)->formOwner() == this);
|
|
|