| 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 c6863dd163eeb4dc38938418a5e5d5027aa0a35c..b8902e035f5578a999c1ce3326f375567a3c1050 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| @@ -1046,8 +1046,9 @@ void HTMLInputElement::setSuggestedValue(const String& value) {
|
| return;
|
| m_needsToUpdateViewValue = true;
|
| m_suggestedValue = sanitizeValue(value);
|
| - setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::create(
|
| - StyleChangeReason::ControlValue));
|
| + setNeedsStyleRecalc(
|
| + SubtreeStyleChange,
|
| + StyleChangeReasonForTracing::create(StyleChangeReason::ControlValue));
|
| m_inputTypeView->updateView();
|
| }
|
|
|
| @@ -1226,9 +1227,9 @@ void HTMLInputElement::defaultEventHandler(Event* evt) {
|
| // Call the base event handler before any of our own event handling for almost
|
| // all events in text fields. Makes editing keyboard handling take precedence
|
| // over the keydown and keypress handling in this function.
|
| - bool callBaseClassEarly =
|
| - isTextField() && (evt->type() == EventTypeNames::keydown ||
|
| - evt->type() == EventTypeNames::keypress);
|
| + bool callBaseClassEarly = isTextField() &&
|
| + (evt->type() == EventTypeNames::keydown ||
|
| + evt->type() == EventTypeNames::keypress);
|
| if (callBaseClassEarly) {
|
| TextControlElement::defaultEventHandler(evt);
|
| if (evt->defaultHandled())
|
| @@ -1265,8 +1266,9 @@ void HTMLInputElement::defaultEventHandler(Event* evt) {
|
| // FIXME: Remove type check.
|
| if (type() == InputTypeNames::search) {
|
| TaskRunnerHelper::get(TaskType::UserInteraction, &document())
|
| - ->postTask(BLINK_FROM_HERE, WTF::bind(&HTMLInputElement::onSearch,
|
| - wrapPersistent(this)));
|
| + ->postTask(
|
| + BLINK_FROM_HERE,
|
| + WTF::bind(&HTMLInputElement::onSearch, wrapPersistent(this)));
|
| }
|
| // Form submission finishes editing, just as loss of focus does.
|
| // If there was a change, send the event now.
|
|
|