Index: third_party/WebKit/Source/core/html/forms/SearchInputType.cpp |
diff --git a/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp b/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp |
index dda850dc2fa0d96f9f3ec5f1ddcc1c497839279a..8366be3521b36ff3baba7e9d7be065a31ddcbb81 100644 |
--- a/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/SearchInputType.cpp |
@@ -34,6 +34,7 @@ |
#include "core/HTMLNames.h" |
#include "core/InputTypeNames.h" |
#include "core/dom/ExecutionContextTask.h" |
+#include "core/dom/TaskRunnerHelper.h" |
#include "core/dom/shadow/ShadowRoot.h" |
#include "core/events/KeyboardEvent.h" |
#include "core/html/HTMLInputElement.h" |
@@ -104,8 +105,9 @@ void SearchInputType::startSearchEventTimer() { |
if (!length) { |
m_searchEventTimer.stop(); |
element().document().postTask( |
- BLINK_FROM_HERE, createSameThreadTask(&HTMLInputElement::onSearch, |
- wrapPersistent(&element()))); |
+ TaskType::UserInteraction, BLINK_FROM_HERE, |
+ createSameThreadTask(&HTMLInputElement::onSearch, |
+ wrapPersistent(&element()))); |
return; |
} |