Index: third_party/WebKit/Source/core/html/forms/RadioInputType.cpp |
diff --git a/third_party/WebKit/Source/core/html/forms/RadioInputType.cpp b/third_party/WebKit/Source/core/html/forms/RadioInputType.cpp |
index 22790940dfe0207b69e0f09fb5889937ff751beb..afccb276484087bc82a9485419801c763dfad79a 100644 |
--- a/third_party/WebKit/Source/core/html/forms/RadioInputType.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/RadioInputType.cpp |
@@ -126,9 +126,9 @@ void RadioInputType::handleKeydownEvent(KeyboardEvent* event) { |
} |
} |
if (inputElement) { |
- document.setFocusedElement( |
- inputElement, |
- FocusParams(SelectionBehaviorOnFocus::None, WebFocusTypeNone, nullptr)); |
+ document.setFocusedElement(inputElement, |
+ FocusParams(SelectionBehaviorOnFocus::Restore, |
+ WebFocusTypeNone, nullptr)); |
inputElement->dispatchSimulatedClick(event, SendNoEvents); |
event->setDefaultHandled(); |
return; |