Set filter bounds to empty rect if the content is empty
Previously if a filter has empty content, the bounds of the SaveLayerOp was left unset, causing bad performance in pdf renderer. Now set the bounds to an empty rect. Bug: 918240, 1050694 Change-Id: I7d39336c9525a32af88dac29dc2eb0dc38cd067f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2047380Reviewed-by:vmpstr <vmpstr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#740824}
Showing
Please register or sign in to comment