commit | 2e172ecd3b0ed570f6bf27594c524ea63a606066 | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Wed May 20 10:32:22 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed May 20 10:32:22 2015 -0700 |
tree | 63a69e238c081dbcaeee083233d858f30b68ab0b | |
parent | d41ea1d1cf0358e8b147c30c2dd168b631cc9b47 [diff] |
Make 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: Review URL: https://codereview.chromium.org/1147053002