Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 37d8a7a09afeedaeb303b5a3907ad09ac5b27298..7952c58f83be743b8803e9610ed433ab59f45558 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -337,7 +337,7 @@ bool HTMLInputElement::shouldShowFocusRingOnMouseFocus() const |
void HTMLInputElement::updateFocusAppearance(bool restorePreviousSelection) |
{ |
if (isTextField()) { |
- if (!restorePreviousSelection || !hasCachedSelection()) |
+ if (!restorePreviousSelection) |
select(); |
else |
restoreCachedSelection(); |