Chromium Code Reviews
Descriptioncc: Fix a bug where filter outsets for drop-shadow could be negative.
The drop shadow filter draws the original content as well as its shadow, so it
should never have negative filter outsets (i.e. applying the filter always
produces output with bounds enclosing the original content).
While FilterOperations::GetOutsets will likely be removed shortly, there is
still code relying on it. Additionally, this gives a good excuse to add a unit
test for FilterOperations::MapRect/MapRectReverse, confirming that it does not
have the same issue.
BUG=600821
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/e29d64cfae00a48483cc6497d39fb822c807a83a
Cr-Commit-Position: refs/heads/master@{#404009}
Patch Set 1 : fix #
Total comments: 3
Messages
Total messages: 17 (7 generated)
|
||||||||||||||||||||||||||||