Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / HTMLUListElement.cpp
index 9eb6e55..0f284e7 100644 (file)
@@ -36,9 +36,9 @@ HTMLUListElement::HTMLUListElement(Document& document)
     ScriptWrappable::init(this);
 }
 
-PassRefPtr<HTMLUListElement> HTMLUListElement::create(Document& document)
+PassRefPtrWillBeRawPtr<HTMLUListElement> HTMLUListElement::create(Document& document)
 {
-    return adoptRef(new HTMLUListElement(document));
+    return adoptRefWillBeRefCountedGarbageCollected(new HTMLUListElement(document));
 }
 
 bool HTMLUListElement::isPresentationAttribute(const QualifiedName& name) const