diff options
author | mtklein <mtklein@chromium.org> | 2015-08-24 14:13:29 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-24 14:13:29 -0700 |
commit | fccb77d59eb545396780f50c0c6026c0f4a66bde (patch) | |
tree | bf573a6e508090a00f4bc6c51258a4baf7b301bc | |
parent | a5114d7f26524f75b96e63ffd796d44749b6248c (diff) |
DM: use SkBitmap::reset()
BUG=skia:
Review URL: https://codereview.chromium.org/1310373004
-rw-r--r-- | dm/DM.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -493,7 +493,7 @@ static bool dump_png(SkBitmap bitmap, const char* path, const char* md5) { } // We don't need bitmap anymore. Might as well drop our ref. - bitmap = SkBitmap(); + bitmap.reset(); FILE* f = fopen(path, "w"); if (!f) { return false; } |