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

Issue 454123002: Refactor getExcludedIntervals since only one LineSegment is ever returned (Closed)

Created:
6 years, 4 months ago by Bem Jones-Bey (adobe)
Modified:
6 years, 4 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

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

Patch Set 1 #

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

Messages

Total messages: 7 (0 generated)
Bem Jones-Bey (adobe)
6 years, 4 months ago (2014-08-08 18:14:20 UTC) #1
rwlbuis
lgtm
6 years, 4 months ago (2014-08-08 20:38:41 UTC) #2
leviw_travelin_and_unemployed
lgtm. https://codereview.chromium.org/454123002/diff/1/Source/core/rendering/shapes/Shape.h File Source/core/rendering/shapes/Shape.h (right): https://codereview.chromium.org/454123002/diff/1/Source/core/rendering/shapes/Shape.h#newcode61 Source/core/rendering/shapes/Shape.h:61: bool isValid; This makes me wish this were ...
6 years, 4 months ago (2014-08-08 21:46:59 UTC) #3
Bem Jones-Bey (adobe)
On 2014/08/08 21:46:59, leviw wrote: > lgtm. > > https://codereview.chromium.org/454123002/diff/1/Source/core/rendering/shapes/Shape.h > File Source/core/rendering/shapes/Shape.h (right): > ...
6 years, 4 months ago (2014-08-08 22:21:03 UTC) #4
Bem Jones-Bey (adobe)
The CQ bit was checked by bjonesbe@adobe.com
6 years, 4 months ago (2014-08-08 22:21:08 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bjonesbe@adobe.com/454123002/1
6 years, 4 months ago (2014-08-08 22:21:21 UTC) #6
commit-bot: I haz the power
6 years, 4 months ago (2014-08-08 23:11:48 UTC) #7
Message was sent while issue was closed.
Change committed as 179876

Powered by Google App Engine
This is Rietveld 408576698