| 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 e0c03a30f01e754123cf24fa9c89fee5b8b98fd9..d24b6edec88675d7d30c7f315bd8551d9e40b4f6 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp
|
| @@ -243,9 +243,7 @@ bool HTMLTextAreaElement::shouldShowFocusRingOnMouseFocus() const
|
| void HTMLTextAreaElement::updateFocusAppearance(SelectionBehaviorOnFocus selectionBehavior)
|
| {
|
| switch (selectionBehavior) {
|
| - case SelectionBehaviorOnFocus::Reset:
|
| - setSelectionRange(0, 0, SelectionHasNoDirection, NotDispatchSelectEvent);
|
| - break;
|
| + case SelectionBehaviorOnFocus::Reset: // Fallthrough.
|
| case SelectionBehaviorOnFocus::Restore:
|
| restoreCachedSelection();
|
| break;
|
|
|