Index: dm/DMWriteTask.cpp |
diff --git a/dm/DMWriteTask.cpp b/dm/DMWriteTask.cpp |
index 21a9b55bc33037d5aea527a9747aafc6d226a622..011b3395407fb69f7d193c8cba23f5152abbd0f1 100644 |
--- a/dm/DMWriteTask.cpp |
+++ b/dm/DMWriteTask.cpp |
@@ -27,7 +27,7 @@ void WriteTask::draw() { |
const SkString dir = SkOSPath::SkPathJoin(root, fConfig.c_str()); |
if (!sk_mkdir(root) || |
!sk_mkdir(dir.c_str()) || |
- !SkImageEncoder::EncodeFile(png(SkOSPath::SkPathJoin(dir.c_str(), fGmName.c_str())).c_str(), |
+ !SkImageEncoder::EncodeFile(Png(SkOSPath::SkPathJoin(dir.c_str(), fGmName.c_str())).c_str(), |
fBitmap, |
SkImageEncoder::kPNG_Type, |
100/*quality*/)) |