Chromium Code Reviews| Index: Source/core/html/BaseButtonInputType.h |
| diff --git a/Source/core/html/BaseButtonInputType.h b/Source/core/html/BaseButtonInputType.h |
| index 154940481e830ad86ac7bd09e6a0bd0b27ab119e..e0bf5f8fd19efbcaeaa4712367f71c231775a5ca 100644 |
| --- a/Source/core/html/BaseButtonInputType.h |
| +++ b/Source/core/html/BaseButtonInputType.h |
| @@ -38,7 +38,7 @@ namespace WebCore { |
| // Base of button, file, image, reset, and submit types. |
| class BaseButtonInputType : public BaseClickableWithKeyInputType { |
| protected: |
| - BaseButtonInputType(HTMLInputElement* element) : BaseClickableWithKeyInputType(element) { } |
| + BaseButtonInputType(const Handle<HTMLInputElement>&); |
|
Vyacheslav Egorov (Google)
2013/07/18 16:50:08
Interesting that you decided to use const referenc
haraken
2013/07/19 02:57:09
If I use Handle<HTMLInputElement>, it doesn't comp
|
| private: |
| virtual bool shouldSaveAndRestoreFormControlState() const OVERRIDE; |