diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/html/HTMLKeygenElement.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/html/HTMLKeygenElement.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chromium/third_party/WebKit/Source/core/html/HTMLKeygenElement.h b/chromium/third_party/WebKit/Source/core/html/HTMLKeygenElement.h index 292a78ea29d..7c4f783caa1 100644 --- a/chromium/third_party/WebKit/Source/core/html/HTMLKeygenElement.h +++ b/chromium/third_party/WebKit/Source/core/html/HTMLKeygenElement.h @@ -32,10 +32,7 @@ class HTMLSelectElement; class HTMLKeygenElement FINAL : public HTMLFormControlElementWithState { public: - static PassRefPtr<HTMLKeygenElement> create(Document& document, HTMLFormElement* form) - { - return adoptRef(new HTMLKeygenElement(document, form)); - } + static PassRefPtrWillBeRawPtr<HTMLKeygenElement> create(Document&, HTMLFormElement*); virtual bool willValidate() const OVERRIDE { return false; } @@ -54,6 +51,7 @@ private: virtual bool isEnumeratable() const OVERRIDE { return true; } virtual bool isInteractiveContent() const OVERRIDE; + virtual bool supportsAutofocus() const OVERRIDE; virtual bool supportLabels() const OVERRIDE { return true; } virtual void resetImpl() OVERRIDE; |