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

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

Issue 1162653002: Drop SVGTextChunk::m_boxes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Pass reference. Created 5 years, 7 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
« no previous file with comments | « Source/core/layout/svg/SVGTextChunk.cpp ('k') | Source/core/layout/svg/SVGTextChunkBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/layout/svg/SVGTextChunk.cpp ('k') | Source/core/layout/svg/SVGTextChunkBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698