Index: third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp |
diff --git a/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp b/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp |
index 1cf07fb32ad22a96369565bebfd49187bbf97f87..849905f55522f51cbbd71c306f089a6afb50f72b 100644 |
--- a/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp |
@@ -352,7 +352,7 @@ void TextFieldInputType::listAttributeTargetChanged() |
rpContainer->appendChild(editingViewPort.release()); |
rpContainer->appendChild(DataListIndicatorElement::create(document)); |
if (element().document().focusedElement() == element()) |
- element().updateFocusAppearance(true /* restore selection */); |
+ element().updateFocusAppearance(SelectionBehaviorOnFocus::Restore); |
} |
} else { |
picker->remove(ASSERT_NO_EXCEPTION); |