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 8c4f7685f09ca620d4b1d56328b58172793e5910..53ff7b69cc845cd49cd2d7d2d5ef6deb7c08785c 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp |
@@ -251,10 +251,7 @@ void HTMLTextAreaElement::updateFocusAppearance(SelectionBehaviorOnFocus selecti |
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(); |