Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / rendering / svg / SVGTextChunkBuilder.h
index 1830b2a..fefad6d 100644 (file)
@@ -23,7 +23,7 @@
 #include "core/rendering/svg/SVGTextChunk.h"
 #include "wtf/Vector.h"
 
-namespace WebCore {
+namespace blink {
 
 class SVGInlineTextBox;
 struct SVGTextFragment;
@@ -40,7 +40,7 @@ public:
     SVGTextChunkBuilder();
 
     const Vector<SVGTextChunk>& textChunks() const { return m_textChunks; }
-    void transformationForTextBox(SVGInlineTextBox*, AffineTransform&) const;
+    AffineTransform transformationForTextBox(SVGInlineTextBox*) const;
 
     void buildTextChunks(Vector<SVGInlineTextBox*>& lineLayoutBoxes);
     void layoutTextChunks(Vector<SVGInlineTextBox*>& lineLayoutBoxes);
@@ -51,13 +51,12 @@ private:
 
     void processTextLengthSpacingCorrection(bool isVerticalText, float textLengthShift, Vector<SVGTextFragment>&, unsigned& atCharacter);
     void processTextAnchorCorrection(bool isVerticalText, float textAnchorShift, Vector<SVGTextFragment>&);
-    void buildSpacingAndGlyphsTransform(bool isVerticalText, float scale, const SVGTextFragment&, AffineTransform&);
 
 private:
     Vector<SVGTextChunk> m_textChunks;
     HashMap<SVGInlineTextBox*, AffineTransform> m_textBoxTransformations;
 };
 
-} // namespace WebCore
+} // namespace blink
 
 #endif