| commit | 51c4765d8e7934359e8f5793ad444c02e45a4d28 | [log] [tgz] |
|---|---|---|
| author | xidachen <xidachen@chromium.org> | Wed Jul 06 14:50:14 2016 |
| committer | Commit bot <commit-bot@chromium.org> | Wed Jul 06 14:51:26 2016 |
| tree | ff5467d7cf231e7f0f665bcd726721f57b29f03f | |
| parent | 1c88977a803343e486b591443e8edc65b90c25fa [diff] |
Do not clear canvas with transparent color after creating SkSurface Recently SkSurface::MakeRaster changed its implementation to zero its malloced space. So after creating the SkSurface, there is no need to call sksurface's canvas->clear(SK_ColorTRANSPARENT). This CL removes that step. Review-Url: https://codereview.chromium.org/2119623003 Cr-Commit-Position: refs/heads/master@{#403907}