Index: dm/DM.cpp |
diff --git a/dm/DM.cpp b/dm/DM.cpp |
index 8537313cf33e8697e831a219b48c86d93119e49d..b93f9d80788e200a2d0658a8d7b70e6c5fdeabc6 100644 |
--- a/dm/DM.cpp |
+++ b/dm/DM.cpp |
@@ -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; } |