aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/RTreeBench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/RTreeBench.cpp')
-rw-r--r--bench/RTreeBench.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/RTreeBench.cpp b/bench/RTreeBench.cpp
index 63d8ed9d2c..61aa1542c9 100644
--- a/bench/RTreeBench.cpp
+++ b/bench/RTreeBench.cpp
@@ -67,7 +67,7 @@ protected:
const char* onGetName() override {
return fName.c_str();
}
- void onPreDraw() override {
+ void onDelayedSetup() override {
SkRandom rand;
SkAutoTMalloc<SkRect> rects(NUM_QUERY_RECTS);
for (int i = 0; i < NUM_QUERY_RECTS; ++i) {