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

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
« no previous file with comments | « Source/core/html/HTMLBRElement.h ('k') | Source/core/html/HTMLButtonElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLBRElement.cpp
diff --git a/Source/core/html/HTMLBRElement.cpp b/Source/core/html/HTMLBRElement.cpp
index 7b4bb5eae50caa05bd6065c2d1e4557a4c3aa164..d3aaed8795d0e428a55b38266a971d242fc8eabf 100644
--- a/Source/core/html/HTMLBRElement.cpp
+++ b/Source/core/html/HTMLBRElement.cpp
@@ -61,11 +61,10 @@ void HTMLBRElement::collectStyleForPresentationAttribute(const QualifiedName& na
HTMLElement::collectStyleForPresentationAttribute(name, value, style);
}
-RenderObject* HTMLBRElement::createRenderer(const RenderStyle& style)
+LayoutObject* HTMLBRElement::createRenderer(const RenderStyle& style)
{
if (style.hasContent())
- return RenderObject::createObject(this, style);
-
+ return LayoutObject::createObject(this, style);
return new RenderBR(this);
}
« no previous file with comments | « Source/core/html/HTMLBRElement.h ('k') | Source/core/html/HTMLButtonElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698