DescriptionTreat received Path as a const.
Skia internally will either create a new Path object in a call
to 'transform' or can do it inplace if the destination pointer
is the same as the source.
By copying the Path object on start, we can treat the received
Path as a const reference instead of a pointer and save 2 function
calls to set/restore the fill type.
BUG=236559
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154713
Patch Set 1 #
Total comments: 1
Messages
Total messages: 5 (0 generated)
|