Index: Source/core/html/HTMLKeygenElement.h |
diff --git a/Source/core/html/HTMLKeygenElement.h b/Source/core/html/HTMLKeygenElement.h |
index a3352016e576f0bf3eff840bc68699a1940bf950..7c4f783caa1d18083367d1fa2391ec0172ae39f5 100644 |
--- a/Source/core/html/HTMLKeygenElement.h |
+++ b/Source/core/html/HTMLKeygenElement.h |
@@ -32,10 +32,7 @@ class HTMLSelectElement; |
class HTMLKeygenElement FINAL : public HTMLFormControlElementWithState { |
public: |
- static PassRefPtrWillBeRawPtr<HTMLKeygenElement> create(Document& document, HTMLFormElement* form) |
- { |
- return adoptRefWillBeRefCountedGarbageCollected(new HTMLKeygenElement(document, form)); |
- } |
+ static PassRefPtrWillBeRawPtr<HTMLKeygenElement> create(Document&, HTMLFormElement*); |
virtual bool willValidate() const OVERRIDE { return false; } |