| 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 558ada8e8643ecfe6bd395117521aede6717fbae..b47bf7b762d5c57e37e58a3f73cdcd4a195b1be0 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/FormController.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/FormController.cpp
|
| @@ -465,6 +465,11 @@ void FormController::setStateForNewFormElements(const Vector<String>& stateVecto
|
| formStatesFromStateVector(stateVector, m_savedFormStateMap);
|
| }
|
|
|
| +bool FormController::hasFormStates() const
|
| +{
|
| + return !m_savedFormStateMap.isEmpty();
|
| +}
|
| +
|
| FormControlState FormController::takeStateForFormElement(const HTMLFormControlElementWithState& control)
|
| {
|
| if (m_savedFormStateMap.isEmpty())
|
|
|