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

Unified Diff: Source/core/rendering/svg/SVGTextLayoutEngineBaseline.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/rendering/svg/SVGTextLayoutEngineBaseline.cpp
diff --git a/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp b/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp
index 57c963fd83c7a70eac48c7da7617df66dd4a8c7d..a500a05e9931868433558d35ae6d6bb3012d8745 100644
--- a/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp
+++ b/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp
@@ -21,7 +21,7 @@
#include "core/rendering/svg/SVGTextLayoutEngineBaseline.h"
-#include "core/rendering/RenderObject.h"
+#include "core/layout/LayoutObject.h"
#include "core/rendering/style/SVGRenderStyle.h"
#include "core/rendering/svg/SVGTextMetrics.h"
#include "core/svg/SVGLengthContext.h"
@@ -59,7 +59,7 @@ float SVGTextLayoutEngineBaseline::calculateBaselineShift(const SVGRenderStyle&
}
}
-EAlignmentBaseline SVGTextLayoutEngineBaseline::dominantBaselineToAlignmentBaseline(bool isVerticalText, const RenderObject* textRenderer) const
+EAlignmentBaseline SVGTextLayoutEngineBaseline::dominantBaselineToAlignmentBaseline(bool isVerticalText, const LayoutObject* textRenderer) const
{
ASSERT(textRenderer);
ASSERT(textRenderer->style());
@@ -106,13 +106,13 @@ EAlignmentBaseline SVGTextLayoutEngineBaseline::dominantBaselineToAlignmentBasel
}
}
-float SVGTextLayoutEngineBaseline::calculateAlignmentBaselineShift(bool isVerticalText, const RenderObject* textRenderer) const
+float SVGTextLayoutEngineBaseline::calculateAlignmentBaselineShift(bool isVerticalText, const LayoutObject* textRenderer) const
{
ASSERT(textRenderer);
ASSERT(textRenderer->style());
ASSERT(textRenderer->parent());
- const RenderObject* textRendererParent = textRenderer->parent();
+ const LayoutObject* textRendererParent = textRenderer->parent();
ASSERT(textRendererParent);
EAlignmentBaseline baseline = textRenderer->style()->svgStyle().alignmentBaseline();
« no previous file with comments | « Source/core/rendering/svg/SVGTextLayoutEngineBaseline.h ('k') | Source/core/rendering/svg/SVGTextMetricsBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698