diff options
Diffstat (limited to 'bench/MatrixBench.cpp')
-rw-r--r-- | bench/MatrixBench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/MatrixBench.cpp b/bench/MatrixBench.cpp index 75736aa143..9471f18008 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); |