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

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

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 9 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/layout/svg/SVGTextLayoutEngineBaseline.h
diff --git a/Source/core/layout/svg/SVGTextLayoutEngineBaseline.h b/Source/core/layout/svg/SVGTextLayoutEngineBaseline.h
index eba67233b49d07b3bda5d80bfa9c83312787d3a6..da20c7b5e0ae9c22100c4908c523c795139a92b2 100644
--- a/Source/core/layout/svg/SVGTextLayoutEngineBaseline.h
+++ b/Source/core/layout/svg/SVGTextLayoutEngineBaseline.h
@@ -20,7 +20,7 @@
#ifndef SVGTextLayoutEngineBaseline_h
#define SVGTextLayoutEngineBaseline_h
-#include "core/layout/style/SVGLayoutStyleDefs.h"
+#include "core/layout/style/SVGComputedStyleDefs.h"
#include "wtf/Noncopyable.h"
#include "wtf/unicode/Unicode.h"
@@ -28,8 +28,8 @@ namespace blink {
class Font;
class LayoutObject;
-class LayoutStyle;
-class SVGLayoutStyle;
+class ComputedStyle;
+class SVGComputedStyle;
class SVGTextMetrics;
// Helper class used by SVGTextLayoutEngine to handle 'alignment-baseline' / 'dominant-baseline' and 'baseline-shift'.
@@ -38,9 +38,9 @@ class SVGTextLayoutEngineBaseline {
public:
SVGTextLayoutEngineBaseline(const Font&);
- float calculateBaselineShift(const LayoutStyle&) const;
+ float calculateBaselineShift(const ComputedStyle&) const;
float calculateAlignmentBaselineShift(bool isVerticalText, const LayoutObject* textRenderer) const;
- float calculateGlyphOrientationAngle(bool isVerticalText, const SVGLayoutStyle&, const UChar& character) const;
+ float calculateGlyphOrientationAngle(bool isVerticalText, const SVGComputedStyle&, const UChar& character) const;
float calculateGlyphAdvanceAndOrientation(bool isVerticalText, const SVGTextMetrics&, float angle, float& xOrientationShift, float& yOrientationShift) const;
private:
« no previous file with comments | « Source/core/layout/svg/SVGTextLayoutEngine.cpp ('k') | Source/core/layout/svg/SVGTextLayoutEngineBaseline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698