| 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 6c1aa8c557ee8ff6b646fd86f13520fb7d85f9af..8c4f7685f09ca620d4b1d56328b58172793e5910 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp
|
| @@ -250,6 +250,11 @@ void HTMLTextAreaElement::updateFocusAppearance(SelectionBehaviorOnFocus selecti
|
| case SelectionBehaviorOnFocus::Restore:
|
| restoreCachedSelection();
|
| break;
|
| + case SelectionBehaviorOnFocus::None:
|
| + // |None| is used only for FocusController::setFocusedElement and
|
| + // Document::setFocusedElement, and they don't call
|
| + // updateFocusAppearance().
|
| + ASSERT_NOT_REACHED();
|
| }
|
| if (document().frame())
|
| document().frame()->selection().revealSelection();
|
|
|