Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(985)

Unified Diff: Source/core/html/HTMLRubyElement.cpp

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLRubyElement.cpp
diff --git a/Source/core/html/HTMLRubyElement.cpp b/Source/core/html/HTMLRubyElement.cpp
index 41a399ba5fe90e69cdc6146a228487849124c62f..15f5fef1fbbe0bb94410133679bee73c4d34773f 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(RenderStyle* style)
+LayoutObject* HTMLRubyElement::createRenderer(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);
}
}

Powered by Google App Engine
This is Rietveld 408576698