DescriptionDon't adjust the bounds after a restore with the restore's paired saveLayer's paint.
It makes no sense for the paint from a saveLayer to effect anything outside its saveLayer/restore block. But as currently written, we'll adjust the clip bounds just after a restore by that paint.
Turns out the test I wrote for the last CL (which caused this bug) actually had the bug baked into its expectations. I've updated them and added some notes to explain.
BUG=418417
Committed: https://skia.googlesource.com/skia/+/8e393bf70ea2aab9ca31f52c15b518436c7b6055
Patch Set 1 #Patch Set 2 : Comments and refactor. #Patch Set 3 : unused #Patch Set 4 : more notes etc #
Messages
Total messages: 8 (2 generated)
|