Index: Source/core/html/forms/FormController.cpp |
diff --git a/Source/core/html/forms/FormController.cpp b/Source/core/html/forms/FormController.cpp |
index b98a4c2d9ffde5760fcb36a6db694009fa851885..43b6faba9c5bf9b4e848c4243ad2b46282f4488a 100644 |
--- a/Source/core/html/forms/FormController.cpp |
+++ b/Source/core/html/forms/FormController.cpp |
@@ -401,7 +401,7 @@ PassOwnPtr<FormController::SavedFormStateMap> FormController::createSavedFormSta |
ASSERT(control->inDocument()); |
if (!control->shouldSaveAndRestoreFormControlState()) |
continue; |
- SavedFormStateMap::AddResult result = stateMap->add(keyGenerator->formKey(*control).impl(), nullptr); |
+ SavedFormStateMap::AddResult result = stateMap->add(keyGenerator->formKey(*control), nullptr); |
if (result.isNewEntry) |
result.iterator->value = SavedFormState::create(); |
result.iterator->value->appendControlState(control->name(), control->type(), control->saveFormControlState()); |
@@ -436,7 +436,7 @@ FormControlState FormController::takeStateForFormElement(const HTMLFormControlEl |
return FormControlState(); |
if (!m_formKeyGenerator) |
m_formKeyGenerator = FormKeyGenerator::create(); |
- SavedFormStateMap::iterator it = m_savedFormStateMap.find(m_formKeyGenerator->formKey(control).impl()); |
+ SavedFormStateMap::iterator it = m_savedFormStateMap.find(m_formKeyGenerator->formKey(control)); |
if (it == m_savedFormStateMap.end()) |
return FormControlState(); |
FormControlState state = it->value->takeControlState(control.name(), control.type()); |