Index: bench/MipMapBench.cpp |
diff --git a/bench/MipMapBench.cpp b/bench/MipMapBench.cpp |
index 18af1e5f8c408ecdd661e646ff1bb68d56d19963..2fb52bb658a07154265efd6d3c6a81bc09ab140e 100644 |
--- a/bench/MipMapBench.cpp |
+++ b/bench/MipMapBench.cpp |
@@ -22,7 +22,7 @@ protected: |
const char* onGetName() override { return "mipmap_build"; } |
- void onPreDraw() override { |
+ void onDelayedSetup() override { |
fBitmap.allocN32Pixels(1000, 1000, true); |
fBitmap.eraseColor(SK_ColorWHITE); // so we don't read uninitialized memory |
} |