Index: Source/core/layout/svg/SVGTextChunkBuilder.h |
diff --git a/Source/core/layout/svg/SVGTextChunkBuilder.h b/Source/core/layout/svg/SVGTextChunkBuilder.h |
index 8df60862dd6876ea5acd8c2156b699bfa4b1250e..6f1a45e2ec966d25c49aa13b0139f4733fe988d0 100644 |
--- a/Source/core/layout/svg/SVGTextChunkBuilder.h |
+++ b/Source/core/layout/svg/SVGTextChunkBuilder.h |
@@ -44,7 +44,9 @@ public: |
void finalizeTransformMatrices(const Vector<SVGInlineTextBox*>&) const; |
protected: |
- virtual void handleTextChunk(const Vector<SVGInlineTextBox*>&, unsigned boxStart, unsigned boxEnd); |
+ typedef Vector<SVGInlineTextBox*>::const_iterator BoxListConstIterator; |
+ |
+ virtual void handleTextChunk(BoxListConstIterator boxStart, BoxListConstIterator boxEnd); |
private: |
void processTextLengthSpacingCorrection(bool isVerticalText, float textLengthShift, Vector<SVGTextFragment>&, unsigned& atCharacter); |
@@ -63,7 +65,7 @@ public: |
float totalTextAnchorShift() const { return m_totalTextAnchorShift; } |
private: |
- void handleTextChunk(const Vector<SVGInlineTextBox*>&, unsigned boxStart, unsigned boxEnd) override; |
+ void handleTextChunk(BoxListConstIterator boxStart, BoxListConstIterator boxEnd) override; |
float m_totalLength; |
unsigned m_totalCharacters; |