Index: Source/core/html/HTMLRubyElement.cpp |
diff --git a/Source/core/html/HTMLRubyElement.cpp b/Source/core/html/HTMLRubyElement.cpp |
index 82e5f56da3f01291d7a59323f8134c21d104f325..fecca26c438bf0a270fd3d145af6c65bc9579784 100644 |
--- a/Source/core/html/HTMLRubyElement.cpp |
+++ b/Source/core/html/HTMLRubyElement.cpp |
@@ -19,13 +19,13 @@ inline HTMLRubyElement::HTMLRubyElement(Document& document) |
DEFINE_NODE_FACTORY(HTMLRubyElement) |
-RenderObject* HTMLRubyElement::createRenderer(const RenderStyle& style) |
+LayoutObject* HTMLRubyElement::createRenderer(const RenderStyle& style) |
{ |
if (style.display() == INLINE) |
return new LayoutRubyAsInline(this); |
if (style.display() == BLOCK) |
return new LayoutRubyAsBlock(this); |
- return RenderObject::createObject(this, style); |
+ return LayoutObject::createObject(this, style); |
} |
} |