DescriptionUse an up-to-date canvas size when building canvas filters
When canvas filters specify a filter primitive subregion
(e.g. by specifying a width or height), filter building
depends on having an up to date canvas size; otherwise,
the crop rect computed for the filter is incorrect.
This CL directly passes the canvas size to filter building
code, rather than having the filter builder use a size
from the layout tree, since the latter might be stale.
BUG=561045
Committed: https://crrev.com/d69e12d35e3b986fe0ba40e04368f85cda57b99c
Cr-Commit-Position: refs/heads/master@{#370047}
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : Pass size to filter builder instead of triggering layout #Patch Set 4 : Remove unused function #
Total comments: 1
Messages
Total messages: 24 (9 generated)
|