DescriptionUse ShadowData in DropShadowFilterOperation
This replaces the "open-coded" (and somewhat compacted) version of a
ShadowData structure within DropShadowFilterOperation with an actual
ShadowData. While this makes the structure slightly larger, it allows
for some additional code-reuse - mostly around style resolution. It's
also a first step against more correct handling of the 'currentcolor'
value within the drop-shadow(...) filter function.
There's a slight change in behavior since ShadowData stores the relevant
values as 'float' rather than as 'int' like the "open-coded" version.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed: https://crrev.com/c5aa80de49c0242b169934edf0bfc68f7929db58
Cr-Commit-Position: refs/heads/master@{#441351}
Patch Set 1 #Patch Set 2 : Fix unittest compilation #Patch Set 3 : Fix blend(...) order #Messages
Total messages: 25 (19 generated)
|