DescriptionCleanup: Use foreground rect in paintChildClippingMaskForFragments().
The clip rectangle was based on the foreground rectangle, while we
passed the background rectangle to PaintInfo.
Be consistent and use the foreground rectangle in both cases.
There was also a comment about skipping ourselves for border radius
clipping, although we did include ourselves. Removed the comment.
No behavioral changes intended, but added a test that would fail if we
had gone for the background rect instead of the foreground rect.
R=chrishtr@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184931
Patch Set 1 #
Total comments: 4
Messages
Total messages: 10 (1 generated)
|