| 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 1e3cf9fb3148968f90afeaf2ccecffffa97941c8..715974ac537fe3c38ed74b5082e01f39925d1b19 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| @@ -1212,7 +1212,7 @@ void HTMLInputElement::defaultEventHandler(Event* evt)
|
| if (m_inputTypeView->shouldSubmitImplicitly(evt)) {
|
| // FIXME: Remove type check.
|
| if (type() == InputTypeNames::search)
|
| - document().postTask(BLINK_FROM_HERE, createSameThreadTask(&HTMLInputElement::onSearch, this));
|
| + document().postTask(BLINK_FROM_HERE, createSameThreadTask(&HTMLInputElement::onSearch, wrapPersistent(this)));
|
| // Form submission finishes editing, just as loss of focus does.
|
| // If there was a change, send the event now.
|
| if (wasChangedSinceLastFormControlChangeEvent())
|
|
|