Index: bench/MatrixBench.cpp |
diff --git a/bench/MatrixBench.cpp b/bench/MatrixBench.cpp |
index 75736aa1432bb29ff166a93aeb185dad768f6478..9471f180089ae2c6706d73408ca27ede8101a54e 100644 |
--- a/bench/MatrixBench.cpp |
+++ b/bench/MatrixBench.cpp |
@@ -146,7 +146,7 @@ public: |
DecomposeMatrixBench() : INHERITED("decompose") {} |
protected: |
- void onPreDraw() override { |
+ void onDelayedSetup() override { |
for (int i = 0; i < 10; ++i) { |
SkScalar rot0 = (fRandom.nextBool()) ? fRandom.nextRangeF(-180, 180) : 0.0f; |
SkScalar sx = fRandom.nextRangeF(-3000.f, 3000.f); |