| 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 fecdd45079f42fc87d1d6e64db5cb66ca6b5d001..f9c01cbfea366990b64929b04ce68a4cd31d4da7 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/FormController.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/FormController.cpp
|
| @@ -222,7 +222,7 @@ PassOwnPtr<SavedFormState> SavedFormState::deserialize(const Vector<String>& sta
|
| return nullptr;
|
| savedFormState->appendControlState(AtomicString(name), AtomicString(type), state);
|
| }
|
| - return savedFormState.release();
|
| + return savedFormState;
|
| }
|
|
|
| void SavedFormState::serializeTo(Vector<String>& stateVector) const
|
| @@ -493,7 +493,7 @@ void FormController::formStatesFromStateVector(const Vector<String>& stateVector
|
| i = 0;
|
| break;
|
| }
|
| - map.add(formKey, state.release());
|
| + map.add(formKey, std::move(state));
|
| }
|
| if (i != stateVector.size())
|
| map.clear();
|
|
|