| Index: third_party/WebKit/Source/core/html/HTMLFormElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLFormElement.cpp b/third_party/WebKit/Source/core/html/HTMLFormElement.cpp
|
| index fc459a3c1102ca01938217eee7b1f83473882e35..a151b8b48d33312c7e93fe02b8476b50df76e60e 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLFormElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLFormElement.cpp
|
| @@ -417,7 +417,7 @@ void HTMLFormElement::scheduleFormSubmission(RawPtr<FormSubmission> submission)
|
|
|
| Frame* targetFrame = document().frame()->findFrameForNavigation(submission->target(), *document().frame());
|
| if (!targetFrame) {
|
| - if (!LocalDOMWindow::allowPopUp(*document().frame()) && !UserGestureIndicator::processingUserGesture())
|
| + if (!LocalDOMWindow::allowPopUp(*document().frame()) && !UserGestureIndicator::utilizeUserGesture())
|
| return;
|
| targetFrame = document().frame();
|
| } else {
|
| @@ -465,7 +465,7 @@ void HTMLFormElement::requestAutocomplete()
|
| errorMessage = "requestAutocomplete: form is not owned by a displayed document.";
|
| else if (!shouldAutocomplete())
|
| errorMessage = "requestAutocomplete: form autocomplete attribute is set to off.";
|
| - else if (!UserGestureIndicator::processingUserGesture())
|
| + else if (!UserGestureIndicator::utilizeUserGesture())
|
| errorMessage = "requestAutocomplete: must be called in response to a user gesture.";
|
|
|
| if (!errorMessage.isEmpty()) {
|
|
|