Index: bench/BigPathBench.cpp |
diff --git a/bench/BigPathBench.cpp b/bench/BigPathBench.cpp |
index 0ed8fc51e3660c60cfaaa110b6f298db7386ad33..f39fd73693e16d2585b0d0e06375ff2b957565d3 100644 |
--- a/bench/BigPathBench.cpp |
+++ b/bench/BigPathBench.cpp |
@@ -8,11 +8,7 @@ |
#include "Benchmark.h" |
#include "SkCanvas.h" |
#include "SkPath.h" |
-#include "SkString.h" |
- |
-static void make_path(SkPath& path) { |
- #include "BigPathBench.inc" |
-} |
+#include "sk_tool_utils.h" |
enum Align { |
kLeft_Align, |
@@ -47,7 +43,7 @@ protected: |
} |
void onDelayedSetup() override { |
- make_path(fPath); |
+ sk_tool_utils::make_big_path(fPath); |
} |
void onDraw(int loops, SkCanvas* canvas) override { |