| Index: third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| index f658070b6bbe8b9f90f0df05e5365ff4b5832e59..753e28acf2345a9bb0c0f70f73041f4d81bb2e25 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| @@ -41,6 +41,7 @@
|
| #include "core/dom/ExecutionContextTask.h"
|
| #include "core/dom/IdTargetObserver.h"
|
| #include "core/dom/StyleChangeReason.h"
|
| +#include "core/dom/TaskRunnerHelper.h"
|
| #include "core/dom/shadow/InsertionPoint.h"
|
| #include "core/dom/shadow/ShadowRoot.h"
|
| #include "core/editing/FrameSelection.h"
|
| @@ -1263,7 +1264,7 @@ void HTMLInputElement::defaultEventHandler(Event* evt) {
|
| if (m_inputTypeView->shouldSubmitImplicitly(evt)) {
|
| // FIXME: Remove type check.
|
| if (type() == InputTypeNames::search)
|
| - document().postTask(BLINK_FROM_HERE,
|
| + document().postTask(TaskType::UserInteraction, BLINK_FROM_HERE,
|
| createSameThreadTask(&HTMLInputElement::onSearch,
|
| wrapPersistent(this)));
|
| // Form submission finishes editing, just as loss of focus does.
|
|
|