Index: Source/core/layout/svg/SVGTextLayoutEngineBaseline.cpp |
diff --git a/Source/core/layout/svg/SVGTextLayoutEngineBaseline.cpp b/Source/core/layout/svg/SVGTextLayoutEngineBaseline.cpp |
index 4cfbe3c4a134b8d9f0f31fb2070f4d97c009c0bd..6a48f9b5c338863d808f2c3522bc652ada996c1c 100644 |
--- a/Source/core/layout/svg/SVGTextLayoutEngineBaseline.cpp |
+++ b/Source/core/layout/svg/SVGTextLayoutEngineBaseline.cpp |
@@ -21,7 +21,7 @@ |
#include "core/layout/svg/SVGTextLayoutEngineBaseline.h" |
#include "core/layout/LayoutObject.h" |
-#include "core/layout/style/SVGLayoutStyle.h" |
+#include "core/layout/style/SVGComputedStyle.h" |
#include "core/layout/svg/SVGTextMetrics.h" |
#include "core/svg/SVGLengthContext.h" |
#include "platform/fonts/Font.h" |
@@ -34,9 +34,9 @@ SVGTextLayoutEngineBaseline::SVGTextLayoutEngineBaseline(const Font& font) |
{ |
} |
-float SVGTextLayoutEngineBaseline::calculateBaselineShift(const LayoutStyle& style) const |
+float SVGTextLayoutEngineBaseline::calculateBaselineShift(const ComputedStyle& style) const |
{ |
- const SVGLayoutStyle& svgStyle = style.svgStyle(); |
+ const SVGComputedStyle& svgStyle = style.svgStyle(); |
switch (svgStyle.baselineShift()) { |
case BS_LENGTH: |
@@ -58,7 +58,7 @@ EAlignmentBaseline SVGTextLayoutEngineBaseline::dominantBaselineToAlignmentBasel |
ASSERT(textRenderer->parent()); |
ASSERT(textRenderer->parent()->style()); |
- const SVGLayoutStyle& style = textRenderer->style()->svgStyle(); |
+ const SVGComputedStyle& style = textRenderer->style()->svgStyle(); |
EDominantBaseline baseline = style.dominantBaseline(); |
if (baseline == DB_AUTO) { |
@@ -141,7 +141,7 @@ float SVGTextLayoutEngineBaseline::calculateAlignmentBaselineShift(bool isVertic |
} |
} |
-float SVGTextLayoutEngineBaseline::calculateGlyphOrientationAngle(bool isVerticalText, const SVGLayoutStyle& style, const UChar& character) const |
+float SVGTextLayoutEngineBaseline::calculateGlyphOrientationAngle(bool isVerticalText, const SVGComputedStyle& style, const UChar& character) const |
{ |
switch (isVerticalText ? style.glyphOrientationVertical() : style.glyphOrientationHorizontal()) { |
case GO_AUTO: { |