Index: bench/subset/SubsetSingleBench.cpp |
diff --git a/bench/subset/SubsetSingleBench.cpp b/bench/subset/SubsetSingleBench.cpp |
index ce00f20947dd5a5d426e9643fe921857954c40c4..2e5703f508c340e0cdb54297695aaa464dc46b2e 100644 |
--- a/bench/subset/SubsetSingleBench.cpp |
+++ b/bench/subset/SubsetSingleBench.cpp |
@@ -5,6 +5,7 @@ |
* found in the LICENSE file. |
*/ |
+#include "CodecBenchPriv.h" |
#include "SubsetSingleBench.h" |
#include "SubsetBenchPriv.h" |
#include "SkData.h" |
@@ -39,7 +40,7 @@ SubsetSingleBench::SubsetSingleBench(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("%sSubsetSingle_%dx%d +%d_+%d_%s_%s", fUseCodec ? "Codec" : "Image", fSubsetWidth, |
fSubsetHeight, fOffsetLeft, fOffsetTop, baseName.c_str(), colorName); |