Index: bench/subset/SubsetTranslateBench.cpp |
diff --git a/bench/subset/SubsetTranslateBench.cpp b/bench/subset/SubsetTranslateBench.cpp |
index 8f6f2ea21b5d8665aa6ca53209e634920e5cdba4..bed358085335afad8ea57e75693762cb122186ee 100644 |
--- a/bench/subset/SubsetTranslateBench.cpp |
+++ b/bench/subset/SubsetTranslateBench.cpp |
@@ -5,6 +5,7 @@ |
* found in the LICENSE file. |
*/ |
+#include "CodecBenchPriv.h" |
#include "SubsetTranslateBench.h" |
#include "SubsetBenchPriv.h" |
#include "SkData.h" |
@@ -35,7 +36,7 @@ SubsetTranslateBench::SubsetTranslateBench(const SkString& path, |
SkString baseName = SkOSPath::Basename(path.c_str()); |
// Choose an informative color name |
- const char* colorName = get_color_name(fColorType); |
+ const char* colorName = color_type_to_str(fColorType); |
fName.printf("%sSubsetTranslate_%dx%d_%s_%s", fUseCodec ? "Codec" : "Image", fSubsetWidth, |
fSubsetHeight, baseName.c_str(), colorName); |