X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Fhtml%2FHTMLMapElement.cpp;h=f3cf6ff49631294fc1e843053e56154f48998ea2;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=88938ef4e3545932c1fe1de037b019ec9ec3e60d;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/html/HTMLMapElement.cpp b/src/third_party/WebKit/Source/core/html/HTMLMapElement.cpp index 88938ef..f3cf6ff 100644 --- a/src/third_party/WebKit/Source/core/html/HTMLMapElement.cpp +++ b/src/third_party/WebKit/Source/core/html/HTMLMapElement.cpp @@ -42,9 +42,9 @@ HTMLMapElement::HTMLMapElement(Document& document) ScriptWrappable::init(this); } -PassRefPtr HTMLMapElement::create(Document& document) +PassRefPtrWillBeRawPtr HTMLMapElement::create(Document& document) { - return adoptRef(new HTMLMapElement(document)); + return adoptRefWillBeRefCountedGarbageCollected(new HTMLMapElement(document)); } HTMLMapElement::~HTMLMapElement()