Index: bench/BitmapRectBench.cpp |
diff --git a/bench/BitmapRectBench.cpp b/bench/BitmapRectBench.cpp |
index d95d753a3d36f8bf49f15ae85464dc945df42d55..93659c186ce822859ac97fc9af4457b8eaa05378 100644 |
--- a/bench/BitmapRectBench.cpp |
+++ b/bench/BitmapRectBench.cpp |
@@ -67,7 +67,7 @@ protected: |
return fName.c_str(); |
} |
- void onPreDraw() override { |
+ void onDelayedSetup() override { |
fBitmap.allocPixels(); |
fBitmap.setAlphaType(kOpaque_SkAlphaType); |
fBitmap.eraseColor(SK_ColorBLACK); |