| 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 e28c74de0667c4fedec6f9f2d162cf2ef23f7748..f9c01cbfea366990b64929b04ce68a4cd31d4da7 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/FormController.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/FormController.cpp
|
| @@ -312,7 +312,7 @@
|
| // 2 is enough to distinguish forms in webkit.org/b/91209#c0
|
| const size_t namedControlsToBeRecorded = 2;
|
| const FormAssociatedElement::List& controls = form.associatedElements();
|
| - builder.append(" [");
|
| + builder.appendLiteral(" [");
|
| for (size_t i = 0, namedControls = 0; i < controls.size() && namedControls < namedControlsToBeRecorded; ++i) {
|
| if (!controls[i]->isFormControlElementWithState())
|
| continue;
|
| @@ -363,7 +363,7 @@
|
|
|
| StringBuilder formKeyBuilder;
|
| formKeyBuilder.append(signature);
|
| - formKeyBuilder.append(" #");
|
| + formKeyBuilder.appendLiteral(" #");
|
| formKeyBuilder.appendNumber(nextIndex);
|
| FormToKeyMap::AddResult addFormKeyresult = m_formToKeyMap.add(form, formKeyBuilder.toAtomicString());
|
| return addFormKeyresult.storedValue->value;
|
|
|