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

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

Issue 140053006: Optimize glyph positioning for SVG <textPath> layout (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add PLATFORM_EXPORT. Created 6 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
« no previous file with comments | « no previous file | Source/core/rendering/svg/SVGTextLayoutEngine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/SVGTextLayoutEngine.h
diff --git a/Source/core/rendering/svg/SVGTextLayoutEngine.h b/Source/core/rendering/svg/SVGTextLayoutEngine.h
index 3ae5fa09087e13905509ae4a98199fb50e886988..b0fd0ca8b44c56bb971a2a1f78370fa3a08e41ee 100644
--- a/Source/core/rendering/svg/SVGTextLayoutEngine.h
+++ b/Source/core/rendering/svg/SVGTextLayoutEngine.h
@@ -96,7 +96,7 @@ private:
bool m_inPathLayout;
// Text on path layout
- Path m_textPath;
+ OwnPtr<Path::PositionCalculator> m_textPathCalculator;
Stephen Chennney 2014/02/07 16:16:05 The lifetime of this appears to be within the begi
fs 2014/02/07 17:09:19 Right. Changed.
float m_textPathLength;
float m_textPathStartOffset;
float m_textPathCurrentOffset;
« no previous file with comments | « no previous file | Source/core/rendering/svg/SVGTextLayoutEngine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698