Index: Source/core/html/HTMLRTElement.cpp |
diff --git a/Source/core/html/HTMLRTElement.cpp b/Source/core/html/HTMLRTElement.cpp |
index 51e73ec0f7d1b9f3749a60abd9811b27135fcecd..fe97ed9374bf9425919fdee6792d1e0c9a2ccab5 100644 |
--- a/Source/core/html/HTMLRTElement.cpp |
+++ b/Source/core/html/HTMLRTElement.cpp |
@@ -19,11 +19,11 @@ inline HTMLRTElement::HTMLRTElement(Document& document) |
DEFINE_NODE_FACTORY(HTMLRTElement) |
-RenderObject* HTMLRTElement::createRenderer(RenderStyle* style) |
+LayoutObject* HTMLRTElement::createRenderer(RenderStyle* style) |
{ |
if (style->display() == BLOCK) |
return new LayoutRubyText(this); |
- return RenderObject::createObject(this, style); |
+ return LayoutObject::createObject(this, style); |
} |
} |