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

Unified Diff: Source/core/rendering/svg/SVGTextLayoutEngineBaseline.h

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.h
diff --git a/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.h b/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.h
index 1e299610cbb7ba9026332dba972662645c89dbf3..7e62dc576c1b6ebc3118f4c69ee4619a66be66f7 100644
--- a/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.h
+++ b/Source/core/rendering/svg/SVGTextLayoutEngineBaseline.h
@@ -26,7 +26,7 @@
namespace blink {
class Font;
-class RenderObject;
+class LayoutObject;
class SVGElement;
class SVGRenderStyle;
class SVGTextMetrics;
@@ -38,12 +38,12 @@ public:
SVGTextLayoutEngineBaseline(const Font&);
float calculateBaselineShift(const SVGRenderStyle&, SVGElement* lengthContext) const;
- float calculateAlignmentBaselineShift(bool isVerticalText, const RenderObject* textRenderer) const;
+ float calculateAlignmentBaselineShift(bool isVerticalText, const LayoutObject* textRenderer) const;
float calculateGlyphOrientationAngle(bool isVerticalText, const SVGRenderStyle&, const UChar& character) const;
float calculateGlyphAdvanceAndOrientation(bool isVerticalText, const SVGTextMetrics&, float angle, float& xOrientationShift, float& yOrientationShift) const;
private:
- EAlignmentBaseline dominantBaselineToAlignmentBaseline(bool isVerticalText, const RenderObject* textRenderer) const;
+ EAlignmentBaseline dominantBaselineToAlignmentBaseline(bool isVerticalText, const LayoutObject* textRenderer) const;
const Font& m_font;
};
« no previous file with comments | « Source/core/rendering/svg/SVGTextLayoutEngine.cpp ('k') | Source/core/rendering/svg/SVGTextLayoutEngineBaseline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698