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

Unified Diff: Source/core/html/HTMLBRElement.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/HTMLBRElement.cpp
diff --git a/Source/core/html/HTMLBRElement.cpp b/Source/core/html/HTMLBRElement.cpp
index 3fc61250532331d774e10483a347c0daa2396fc1..3fe6bf28063758de640cc4cfa285721084fcb544 100644
--- a/Source/core/html/HTMLBRElement.cpp
+++ b/Source/core/html/HTMLBRElement.cpp
@@ -61,10 +61,10 @@ void HTMLBRElement::collectStyleForPresentationAttribute(const QualifiedName& na
HTMLElement::collectStyleForPresentationAttribute(name, value, style);
}
-RenderObject* HTMLBRElement::createRenderer(RenderStyle* style)
+LayoutObject* HTMLBRElement::createRenderer(RenderStyle* style)
{
if (style->hasContent())
- return RenderObject::createObject(this, style);
+ return LayoutObject::createObject(this, style);
return new RenderBR(this);
}

Powered by Google App Engine
This is Rietveld 408576698