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 49cacf9af360f7bfd48001671085b6633139b863..38a24f305e12ca82214e00dd5b5f02e1bb8f61a0 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
@@ -351,10 +351,7 @@ void HTMLInputElement::updateFocusAppearance(SelectionBehaviorOnFocus selectionB |
restoreCachedSelection(); |
break; |
case SelectionBehaviorOnFocus::None: |
- // |None| is used only for FocusController::setFocusedElement and |
- // Document::setFocusedElement, and they don't call |
- // updateFocusAppearance(). |
- ASSERT_NOT_REACHED(); |
+ return; |
} |
if (document().frame()) |
document().frame()->selection().revealSelection(); |