Index: bench/BitmapRegionDecoderBench.cpp |
diff --git a/bench/BitmapRegionDecoderBench.cpp b/bench/BitmapRegionDecoderBench.cpp |
index 77d342331d90ef0b6246069de27ccf096565a63f..587294227f8b2272012368fc6728aa56de05ec70 100644 |
--- a/bench/BitmapRegionDecoderBench.cpp |
+++ b/bench/BitmapRegionDecoderBench.cpp |
@@ -53,7 +53,7 @@ bool BitmapRegionDecoderBench::isSuitableFor(Backend backend) { |
return kNonRendering_Backend == backend; |
} |
-void BitmapRegionDecoderBench::onPreDraw() { |
+void BitmapRegionDecoderBench::onDelayedSetup() { |
SkStreamRewindable* stream = new SkMemoryStream(fData); |
fBRD.reset(SkBitmapRegionDecoderInterface::CreateBitmapRegionDecoder(stream, fStrategy)); |
} |