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