| Index: third_party/WebKit/Source/core/html/forms/BaseClickableWithKeyInputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/BaseClickableWithKeyInputType.cpp b/third_party/WebKit/Source/core/html/forms/BaseClickableWithKeyInputType.cpp
|
| index dd26b17450f36e5c066ff5bf8dc9d53a6ef11218..207e44193204239034974365f47a5bc1a6702f77 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/BaseClickableWithKeyInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/BaseClickableWithKeyInputType.cpp
|
| @@ -62,13 +62,13 @@ void BaseClickableWithKeyInputType::handleKeypressEvent(HTMLInputElement& elemen
|
| }
|
| }
|
|
|
| -void BaseClickableWithKeyInputType::handleKeyupEvent(InputType& inputType, KeyboardEvent* event)
|
| +void BaseClickableWithKeyInputType::handleKeyupEvent(InputTypeView& inputTypeView, KeyboardEvent* event)
|
| {
|
| const String& key = event->keyIdentifier();
|
| if (key != "U+0020")
|
| return;
|
| // Simulate mouse click for spacebar for button types.
|
| - inputType.dispatchSimulatedClickIfActive(event);
|
| + inputTypeView.dispatchSimulatedClickIfActive(event);
|
| }
|
|
|
| // FIXME: Could share this with BaseCheckableInputType and RangeInputType if we had a common base class.
|
|
|