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

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

Issue 652483002: TextRun::length() should return an unsigned (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 2 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
Index: Source/core/rendering/svg/SVGTextMetricsBuilder.cpp
diff --git a/Source/core/rendering/svg/SVGTextMetricsBuilder.cpp b/Source/core/rendering/svg/SVGTextMetricsBuilder.cpp
index 5f3cbf0ea0b6f1c7d3ea9a705291674a8be1d448..711aa32c23ef41d161c03960ff220718ffdb09e4 100644
--- a/Source/core/rendering/svg/SVGTextMetricsBuilder.cpp
+++ b/Source/core/rendering/svg/SVGTextMetricsBuilder.cpp
@@ -18,7 +18,6 @@
*/
#include "config.h"
-
#include "core/rendering/svg/SVGTextMetricsBuilder.h"
#include "core/rendering/svg/RenderSVGInline.h"
@@ -43,7 +42,7 @@ public:
~SVGTextMetricsCalculator();
SVGTextMetrics computeMetricsForCharacter(unsigned textPosition);
- unsigned textLength() const { return static_cast<unsigned>(m_run.charactersLength()); }
+ unsigned textLength() const { return m_run.charactersLength(); }
bool characterStartsSurrogatePair(unsigned textPosition) const
{

Powered by Google App Engine
This is Rietveld 408576698