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