Index: bench/nanobench.cpp |
diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp |
index 519d3209857dca282a29de8f642e26af91ab6a67..a2f349ba9c02d5257e8b1e433fe161d9abc1d006 100644 |
--- a/bench/nanobench.cpp |
+++ b/bench/nanobench.cpp |
@@ -780,15 +780,15 @@ public: |
int colorCount = 256; |
SkPMColor colors[256]; |
- const SkImageGenerator::Result result = codec->getPixels( |
+ const SkCodec::Result result = codec->getPixels( |
info, storage.get(), rowBytes, NULL, colors, |
&colorCount); |
switch (result) { |
- case SkImageGenerator::kSuccess: |
- case SkImageGenerator::kIncompleteInput: |
+ case SkCodec::kSuccess: |
+ case SkCodec::kIncompleteInput: |
return new CodecBench(SkOSPath::Basename(path.c_str()), |
encoded, colorType); |
- case SkImageGenerator::kInvalidConversion: |
+ case SkCodec::kInvalidConversion: |
// This is okay. Not all conversions are valid. |
break; |
default: |