Chromium Code Reviews
DescriptionRemove BoxBorderPainter::drawBleedAdjustedDRRect() assert
While we only ever use BackgroundBleedClipLayer when hasBorderRadius()
is true, certain degenerate radius values can cause the computed radii
to be zero.
In that case the assert no longer holds. The simplest thing to do is
drop the assert: SkPath::addRRect() checks for the simple rect case and
behaves optimally anyway.
BUG=615814
R=chrishtr@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed: https://crrev.com/f55c47a99fd4f05e07f5ecc1bd29c359082f43d8
Cr-Commit-Position: refs/heads/master@{#440981}
Patch Set 1 #Patch Set 2 : layout test #
Total comments: 2
Patch Set 3 : relocate test #
Messages
Total messages: 25 (16 generated)
|
|||||||||||||||||||||||||||||||||||||