Chromium Code Reviews

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

Issue 390373004: Pass references to SVGTextLayoutEngine::layoutTextOnLineOrPath (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | Source/core/rendering/svg/SVGTextLayoutAttributes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/RenderSVGInlineText.h
diff --git a/Source/core/rendering/svg/RenderSVGInlineText.h b/Source/core/rendering/svg/RenderSVGInlineText.h
index b7fc9add99bd5fe370d0ba1c86e29491bb30b2da..eaa129970a775414e7dd022de22d1732d2d85f47 100644
--- a/Source/core/rendering/svg/RenderSVGInlineText.h
+++ b/Source/core/rendering/svg/RenderSVGInlineText.h
@@ -33,6 +33,7 @@ public:
bool characterStartsNewTextChunk(int position) const;
SVGTextLayoutAttributes* layoutAttributes() { return &m_layoutAttributes; }
+ const SVGTextLayoutAttributes* layoutAttributes() const { return &m_layoutAttributes; }
float scalingFactor() const { return m_scalingFactor; }
const Font& scaledFont() const { return m_scaledFont; }
« no previous file with comments | « no previous file | Source/core/rendering/svg/SVGTextLayoutAttributes.h » ('j') | no next file with comments »

Powered by Google App Engine