Index: third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp |
index a3d83420b2bb02e3b315cc7078b5f17e818978f7..d824b733648aeac67768bd299f9f525ddba65efb 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp |
@@ -257,9 +257,10 @@ void HTMLTextAreaElement::updateFocusAppearance( |
} |
void HTMLTextAreaElement::defaultEventHandler(Event* event) { |
- if (layoutObject() && (event->isMouseEvent() || event->isDragEvent() || |
- event->hasInterface(EventNames::WheelEvent) || |
- event->type() == EventTypeNames::blur)) |
+ if (layoutObject() && |
+ (event->isMouseEvent() || event->isDragEvent() || |
+ event->hasInterface(EventNames::WheelEvent) || |
+ event->type() == EventTypeNames::blur)) |
forwardEvent(event); |
else if (layoutObject() && event->isBeforeTextInsertedEvent()) |
handleBeforeTextInsertedEvent(static_cast<BeforeTextInsertedEvent*>(event)); |
@@ -417,8 +418,9 @@ void HTMLTextAreaElement::setValueCommon(const String& newValue, |
if (eventBehavior == DispatchNoEvent) |
setLastChangeWasNotUserEdit(); |
updatePlaceholderVisibility(); |
- setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::create( |
- StyleChangeReason::ControlValue)); |
+ setNeedsStyleRecalc( |
+ SubtreeStyleChange, |
+ StyleChangeReasonForTracing::create(StyleChangeReason::ControlValue)); |
m_suggestedValue = String(); |
setNeedsValidityCheck(); |
if (isFinishedParsingChildren()) { |
@@ -500,8 +502,9 @@ void HTMLTextAreaElement::setSuggestedValue(const String& value) { |
else |
setInnerEditorValue(m_value); |
updatePlaceholderVisibility(); |
- setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::create( |
- StyleChangeReason::ControlValue)); |
+ setNeedsStyleRecalc( |
+ SubtreeStyleChange, |
+ StyleChangeReasonForTracing::create(StyleChangeReason::ControlValue)); |
} |
String HTMLTextAreaElement::validationMessage() const { |