|
Refactor getExcludedIntervals since only one LineSegment is ever returned
The interface for getExcludedIntervals was designed when shape-inside
was still a thing, and it was possible for a line in a shape to have
multiple segments. shape-outside can only have one segment per line, so
this refactors the code to simplify and reflect that reality.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179876
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+49 lines, -63 lines) |
Patch |
 |
M |
Source/core/rendering/shapes/BoxShape.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/BoxShape.cpp
|
View
|
|
2 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/BoxShapeTest.cpp
|
View
|
|
1 chunk |
+7 lines, -9 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/PolygonShape.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/PolygonShape.cpp
|
View
|
|
2 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/RasterShape.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/RasterShape.cpp
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/RectangleShape.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/RectangleShape.cpp
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/Shape.h
|
View
|
|
2 chunks |
+10 lines, -4 lines |
1 comment
|
Download
|
 |
M |
Source/core/rendering/shapes/ShapeOutsideInfo.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/shapes/ShapeOutsideInfo.cpp
|
View
|
|
3 chunks |
+6 lines, -20 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|