Index: bench/ImageFilterCollapse.cpp |
diff --git a/bench/ImageFilterCollapse.cpp b/bench/ImageFilterCollapse.cpp |
index 4024750dc32f6bc4565b0ebf82235e1a038a7042..010149b2bcbf64f406bd48dbf1ddcbf049b98ced 100644 |
--- a/bench/ImageFilterCollapse.cpp |
+++ b/bench/ImageFilterCollapse.cpp |
@@ -83,7 +83,7 @@ protected: |
return "image_filter_collapse_table"; |
} |
- virtual void onPreDraw() override { |
+ virtual void onDelayedSetup() override { |
for (int i = 0; i < 256; ++i) { |
int n = i >> 5; |
table1[i] = (n << 5) | (n << 2) | (n >> 1); |
@@ -139,7 +139,7 @@ protected: |
return "image_filter_collapse_matrix"; |
} |
- virtual void onPreDraw() override { |
+ virtual void onDelayedSetup() override { |
SkColorFilter* colorFilters[] = { |
make_brightness(0.1f), |
make_grayscale(), |