X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Fhtml%2FHTMLKeygenElement.h;h=a3352016e576f0bf3eff840bc68699a1940bf950;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=f561605987909c644d8dce59992d0e17326bd215;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/html/HTMLKeygenElement.h b/src/third_party/WebKit/Source/core/html/HTMLKeygenElement.h index f561605..a335201 100644 --- a/src/third_party/WebKit/Source/core/html/HTMLKeygenElement.h +++ b/src/third_party/WebKit/Source/core/html/HTMLKeygenElement.h @@ -32,9 +32,9 @@ class HTMLSelectElement; class HTMLKeygenElement FINAL : public HTMLFormControlElementWithState { public: - static PassRefPtr create(Document& document, HTMLFormElement* form) + static PassRefPtrWillBeRawPtr create(Document& document, HTMLFormElement* form) { - return adoptRef(new HTMLKeygenElement(document, form)); + return adoptRefWillBeRefCountedGarbageCollected(new HTMLKeygenElement(document, form)); } virtual bool willValidate() const OVERRIDE { return false; }