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

Unified Diff: Source/core/layout/svg/SVGTextMetricsBuilder.cpp

Issue 1155683005: Drop unused argument from one of the SVGTextMetrics constructors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/SVGTextMetrics.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/SVGTextMetricsBuilder.cpp
diff --git a/Source/core/layout/svg/SVGTextMetricsBuilder.cpp b/Source/core/layout/svg/SVGTextMetricsBuilder.cpp
index 77f8d6bec02e2f87d1837021b8b909361595ac65..50c4c854f8031cf6ed2543a10dfa436891ec01b1 100644
--- a/Source/core/layout/svg/SVGTextMetricsBuilder.cpp
+++ b/Source/core/layout/svg/SVGTextMetricsBuilder.cpp
@@ -123,7 +123,7 @@ SVGTextMetrics SVGTextMetricsCalculator::computeMetricsForCharacterSimple(unsign
float currentWidth = m_simpleShaper->runWidthSoFar() - m_totalWidth;
m_totalWidth = m_simpleShaper->runWidthSoFar();
- return SVGTextMetrics(m_text, textPosition, metricsLength, currentWidth);
+ return SVGTextMetrics(m_text, metricsLength, currentWidth);
}
SVGTextMetrics SVGTextMetricsCalculator::computeMetricsForCharacterComplex(unsigned textPosition)
« no previous file with comments | « Source/core/layout/svg/SVGTextMetrics.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698