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

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

Issue 90363003: Get rid of useless calls to AtomicString::impl() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « Source/core/html/HTMLElement.h ('k') | Source/core/html/forms/FormController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/core/html/HTMLElement.h ('k') | Source/core/html/forms/FormController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698