DescriptionDo not emit display items for masks and clips that are already cached
In https://codereview.chromium.org/1184633004 somebody removed a
DisplayRecorder in favor of manually emitting display items. This
caused crashes on [1] because it does not check whether the item
is already cached.
This patch switches both clips and masks to use a drawing recorder
with bounds based on the paint invalidation rect.
[1] svg/custom/absolute-sized-content-with-resources.xhtml
TEST=svg/custom/absolute-sized-content-with-resources.xhtml with sp.
BUG=500713
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197350
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||