X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Fhtml%2FHTMLParagraphElement.cpp;h=b2d465d43f2b43f0617df886159893d6b2ee1f5c;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=6c6e643e38a75f462a7fc6e00731864ae0ba3491;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/html/HTMLParagraphElement.cpp b/src/third_party/WebKit/Source/core/html/HTMLParagraphElement.cpp index 6c6e643..b2d465d 100644 --- a/src/third_party/WebKit/Source/core/html/HTMLParagraphElement.cpp +++ b/src/third_party/WebKit/Source/core/html/HTMLParagraphElement.cpp @@ -37,9 +37,9 @@ inline HTMLParagraphElement::HTMLParagraphElement(Document& document) ScriptWrappable::init(this); } -PassRefPtr HTMLParagraphElement::create(Document& document) +PassRefPtrWillBeRawPtr HTMLParagraphElement::create(Document& document) { - return adoptRef(new HTMLParagraphElement(document)); + return adoptRefWillBeRefCountedGarbageCollected(new HTMLParagraphElement(document)); } void HTMLParagraphElement::collectStyleForPresentationAttribute(const QualifiedName& name, const AtomicString& value, MutableStylePropertySet* style)