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

Unified Diff: Source/core/rendering/svg/SVGTextMetricsBuilder.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/rendering/svg/SVGTextLayoutEngineBaseline.cpp ('k') | Source/core/rendering/svg/SVGTextQuery.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/SVGTextMetricsBuilder.cpp
diff --git a/Source/core/rendering/svg/SVGTextMetricsBuilder.cpp b/Source/core/rendering/svg/SVGTextMetricsBuilder.cpp
index f59e20218d28bf79f99c271c517dc5971755e782..c6ac36eb5a5058ef48249f926939d509b6f4c292 100644
--- a/Source/core/rendering/svg/SVGTextMetricsBuilder.cpp
+++ b/Source/core/rendering/svg/SVGTextMetricsBuilder.cpp
@@ -237,7 +237,7 @@ static void measureTextRenderer(RenderSVGInlineText* text, MeasureTextData* data
static void walkTree(RenderSVGText* start, RenderSVGInlineText* stopAtLeaf, MeasureTextData* data)
{
- RenderObject* child = start->firstChild();
+ LayoutObject* child = start->firstChild();
while (child) {
if (child->isSVGInlineText()) {
RenderSVGInlineText* text = toRenderSVGInlineText(child);
@@ -246,7 +246,7 @@ static void walkTree(RenderSVGText* start, RenderSVGInlineText* stopAtLeaf, Meas
return;
} else if (child->isSVGInline()) {
// Visit children of text content elements.
- if (RenderObject* inlineChild = toRenderSVGInline(child)->firstChild()) {
+ if (LayoutObject* inlineChild = toRenderSVGInline(child)->firstChild()) {
child = inlineChild;
continue;
}
« no previous file with comments | « Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp ('k') | Source/core/rendering/svg/SVGTextQuery.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698