Index: Source/core/html/forms/BaseClickableWithKeyInputType.h |
diff --git a/Source/core/html/forms/BaseClickableWithKeyInputType.h b/Source/core/html/forms/BaseClickableWithKeyInputType.h |
index 23b2a2e63da5c4150ca03e2b2dcc9c979073d3bb..bd0161de3b185f6078df775229a528083aa8f0f9 100644 |
--- a/Source/core/html/forms/BaseClickableWithKeyInputType.h |
+++ b/Source/core/html/forms/BaseClickableWithKeyInputType.h |
@@ -38,13 +38,13 @@ namespace WebCore { |
// Base of input types that dispatches a simulated click on space/return key. |
class BaseClickableWithKeyInputType : public InputType { |
public: |
- static void handleKeydownEvent(HTMLInputElement*, KeyboardEvent*); |
- static void handleKeypressEvent(HTMLInputElement*, KeyboardEvent*); |
+ static void handleKeydownEvent(HTMLInputElement&, KeyboardEvent*); |
+ static void handleKeypressEvent(HTMLInputElement&, KeyboardEvent*); |
static void handleKeyupEvent(InputType&, KeyboardEvent*); |
- static void accessKeyAction(HTMLInputElement*, bool sendMouseEvents); |
+ static void accessKeyAction(HTMLInputElement&, bool sendMouseEvents); |
protected: |
- BaseClickableWithKeyInputType(HTMLInputElement* element) : InputType(element) { } |
+ BaseClickableWithKeyInputType(HTMLInputElement& element) : InputType(element) { } |
private: |
virtual void handleKeydownEvent(KeyboardEvent*) OVERRIDE; |