Index: bench/CodecBench.cpp |
diff --git a/bench/CodecBench.cpp b/bench/CodecBench.cpp |
index a21aae1f0b909b73d6ab148290fc99895ad6e44d..0b457a42aec6f3ff897664f04cd562e92f581a09 100644 |
--- a/bench/CodecBench.cpp |
+++ b/bench/CodecBench.cpp |
@@ -32,7 +32,7 @@ bool CodecBench::isSuitableFor(Backend backend) { |
return kNonRendering_Backend == backend; |
} |
-void CodecBench::onPreDraw() { |
+void CodecBench::onDelayedSetup() { |
SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(fData)); |
fInfo = codec->getInfo().makeColorType(fColorType); |