| Index: third_party/WebKit/Source/core/html/forms/FormController.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/FormController.cpp b/third_party/WebKit/Source/core/html/forms/FormController.cpp
|
| index 83bacc49bf302d5349dbbdf3e0ff2d259d86b279..701e624d125f11ff75219a73d4f7e47a0ca45073 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/FormController.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/FormController.cpp
|
| @@ -280,7 +280,7 @@ FormControlState SavedFormState::takeControlState(const AtomicString& name,
|
| FormControlState state = it->value.takeFirst();
|
| m_controlStateCount--;
|
| if (!it->value.size())
|
| - m_stateForNewFormElements.remove(it);
|
| + m_stateForNewFormElements.erase(it);
|
| return state;
|
| }
|
|
|
| @@ -489,7 +489,7 @@ FormControlState FormController::takeStateForFormElement(
|
| FormControlState state =
|
| it->value->takeControlState(control.name(), control.type());
|
| if (it->value->isEmpty())
|
| - m_savedFormStateMap.remove(it);
|
| + m_savedFormStateMap.erase(it);
|
| return state;
|
| }
|
|
|
|
|