| 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 a16d39805bad93b0e246c7ad68a04ed1b763c103..49cacf9af360f7bfd48001671085b6633139b863 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
|
| @@ -350,6 +350,11 @@ void HTMLInputElement::updateFocusAppearance(SelectionBehaviorOnFocus selectionB
|
| 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();
|
|
|