| Index: Source/core/html/forms/FormController.cpp
|
| diff --git a/Source/core/html/forms/FormController.cpp b/Source/core/html/forms/FormController.cpp
|
| index a3cd9b02100adaf59888746bc9f6ae9155ff087d..17a299086f6eec07e9cca61593e26d81c86277e9 100644
|
| --- a/Source/core/html/forms/FormController.cpp
|
| +++ b/Source/core/html/forms/FormController.cpp
|
| @@ -221,7 +221,7 @@ PassOwnPtr<SavedFormState> SavedFormState::deserialize(const Vector<String>& sta
|
| FormControlState state = FormControlState::deserialize(stateVector, index);
|
| if (type.isEmpty() || type.find(isNotFormControlTypeCharacter) != kNotFound || state.isFailure())
|
| return nullptr;
|
| - savedFormState->appendControlState(name, type, state);
|
| + savedFormState->appendControlState(AtomicString(name), AtomicString(type), state);
|
| }
|
| return savedFormState.release();
|
| }
|
| @@ -453,7 +453,7 @@ void FormController::formStatesFromStateVector(const Vector<String>& stateVector
|
| return;
|
|
|
| while (i + 1 < stateVector.size()) {
|
| - AtomicString formKey = stateVector[i++];
|
| + AtomicString formKey = AtomicString(stateVector[i++]);
|
| OwnPtr<SavedFormState> state = SavedFormState::deserialize(stateVector, i);
|
| if (!state) {
|
| i = 0;
|
|
|