Index: bench/DecodingBench.cpp |
diff --git a/bench/DecodingBench.cpp b/bench/DecodingBench.cpp |
index 7b6ad2bb0a6023414303a370349b07568e9f5eca..0c950944a355323c2a260f50e0b8ce52aa455d8a 100644 |
--- a/bench/DecodingBench.cpp |
+++ b/bench/DecodingBench.cpp |
@@ -44,7 +44,7 @@ bool DecodingBench::isSuitableFor(Backend backend) { |
return kNonRendering_Backend == backend; |
} |
-void DecodingBench::onPreDraw() { |
+void DecodingBench::onDelayedSetup() { |
// Allocate the pixels now, to remove it from the loop. |
SkAutoTDelete<SkStreamRewindable> stream(new SkMemoryStream(fData)); |
SkAutoTDelete<SkImageDecoder> decoder(SkImageDecoder::Factory(stream)); |