DescriptionMake SkEmptyPicture a singleton.
In my confusion yesterday I accidentally left this as a non-singleton.
The issue in Blink was not related to this being a singleton,
and it should be safe to make it one.
This means recording an empty picture properly costs zero mallocs.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/2e172ecd3b0ed570f6bf27594c524ea63a606066
Patch Set 1 #Patch Set 2 : rebase #Messages
Total messages: 11 (5 generated)
|