Index: bench/BitmapScaleBench.cpp |
diff --git a/bench/BitmapScaleBench.cpp b/bench/BitmapScaleBench.cpp |
index 2bfa31298995cc9960b1dc4618d77ea48b39ccaa..b3f076399663034279079cad0bb58202e4687fd3 100644 |
--- a/bench/BitmapScaleBench.cpp |
+++ b/bench/BitmapScaleBench.cpp |
@@ -56,7 +56,7 @@ protected: |
fName.printf( "bitmap_scale_%s_%d_%d", name, fInputSize, fOutputSize ); |
} |
- void onPreDraw() override { |
+ void onDelayedSetup() override { |
fInputBitmap.allocN32Pixels(fInputSize, fInputSize, true); |
fInputBitmap.eraseColor(SK_ColorWHITE); |