|
TextRun::length() should return an unsigned.
Tightened int types to unsigned in TextRun to make it easier to reason about the code and in the process removed some casts and some ASSERTS that are no longer needed.
Also made the getter type consistent with the corresponding member type for for consistency where applicable.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183934
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+21 lines, -24 lines) |
Patch |
|
M |
Source/core/rendering/svg/SVGTextMetrics.cpp
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/svg/SVGTextMetricsBuilder.cpp
|
View
|
1
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/svg/SVGTextRunRenderingContext.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/svg/SVGTextRunRenderingContext.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/platform/fonts/Font.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/platform/fonts/Font.cpp
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
1 comment
|
Download
|
|
M |
Source/platform/fonts/WidthCache.h
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/platform/fonts/shaping/HarfBuzzShaper.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/platform/fonts/shaping/HarfBuzzShaper.cpp
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
Source/platform/fonts/shaping/SimpleShaper.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/platform/text/TextRun.h
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/platform/text/TextRunIterator.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 11 (4 generated)
|