Index: bench/TextBlobBench.cpp |
diff --git a/bench/TextBlobBench.cpp b/bench/TextBlobBench.cpp |
index 0ef5eb9654e58cae7f454979fcc0ad9b85a24034..5f4dbba63da5ac999df69dd3a11dcb9beca59cf3 100644 |
--- a/bench/TextBlobBench.cpp |
+++ b/bench/TextBlobBench.cpp |
@@ -29,7 +29,7 @@ public: |
} |
protected: |
- void onPreDraw() override { |
+ void onDelayedSetup() override { |
fTypeface.reset(sk_tool_utils::create_portable_typeface("serif", SkTypeface::kNormal)); |
// make textblob |
SkPaint paint; |