Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / HTMLRubyElement.cpp
index 96eb941..b01748b 100644 (file)
@@ -17,9 +17,9 @@ HTMLRubyElement::HTMLRubyElement(Document& document)
 {
 }
 
-PassRefPtr<HTMLRubyElement> HTMLRubyElement::create(Document& document)
+PassRefPtrWillBeRawPtr<HTMLRubyElement> HTMLRubyElement::create(Document& document)
 {
-    return adoptRef(new HTMLRubyElement(document));
+    return adoptRefWillBeRefCountedGarbageCollected(new HTMLRubyElement(document));
 }
 
 RenderObject* HTMLRubyElement::createRenderer(RenderStyle* style)