| Index: third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp b/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp
|
| index 2aa47b6728e030f08b4c7123718dbb840655fe75..10645f7ffee3337f47e9e8cfd28dbc6fd1430918 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp
|
| @@ -70,8 +70,8 @@ void BaseCheckableInputType::appendToFormData(FormData& formData) const
|
|
|
| void BaseCheckableInputType::handleKeydownEvent(KeyboardEvent* event)
|
| {
|
| - const String& key = event->keyIdentifier();
|
| - if (key == "U+0020") {
|
| + const String& key = event->key();
|
| + if (key == " ") {
|
| element().setActive(true);
|
| // No setDefaultHandled(), because IE dispatches a keypress in this case
|
| // and the caller will only dispatch a keypress if we don't call setDefaultHandled().
|
|
|