Index: Source/core/html/HTMLFormElement.cpp |
diff --git a/Source/core/html/HTMLFormElement.cpp b/Source/core/html/HTMLFormElement.cpp |
index 296bb554a586bfce1005dce06383f10a4b34dd04..81cb1306488107fde71c6f87f587a2a95c26f5b5 100644 |
--- a/Source/core/html/HTMLFormElement.cpp |
+++ b/Source/core/html/HTMLFormElement.cpp |
@@ -725,7 +725,7 @@ Node* HTMLFormElement::elementFromPastNamesMap(const AtomicString& pastName) con |
{ |
if (pastName.isEmpty() || !m_pastNamesMap) |
return 0; |
- Node* node = m_pastNamesMap->get(pastName.impl()); |
+ Node* node = m_pastNamesMap->get(pastName); |
#if !ASSERT_DISABLED |
if (!node) |
return 0; |
@@ -747,7 +747,7 @@ void HTMLFormElement::addToPastNamesMap(Node* element, const AtomicString& pastN |
return; |
if (!m_pastNamesMap) |
m_pastNamesMap = adoptPtr(new PastNamesMap); |
- m_pastNamesMap->set(pastName.impl(), element); |
+ m_pastNamesMap->set(pastName, element); |
} |
void HTMLFormElement::removeFromPastNamesMap(HTMLElement& element) |