Remove some blur tests on google3 until the flag is removed.
Change 52771 is causing google3 to fail because some tests changed
and were not guarded by a legacy flag.
Change-Id: I7ad5b83315bba98744f89860dd03fffc66a88248
Reviewed-on: https://skia-review.googlesource.com/60740
Commit-Queue: Herb Derby <herb@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp
index 77175f7..0b8d0d0 100644
--- a/tests/ImageFilterTest.cpp
+++ b/tests/ImageFilterTest.cpp
@@ -836,6 +836,8 @@
}
}
+#if !defined(SK_SUPPORT_LEGACY_BLUR_IMAGE)
+
static sk_sp<SkImageFilter> make_blur(sk_sp<SkImageFilter> input) {
return SkBlurImageFilter::Make(SK_Scalar1, SK_Scalar1, std::move(input));
}
@@ -953,6 +955,8 @@
REPORTER_ASSERT(reporter, boundsDst == expectedBounds);
}
+#endif
+
DEF_TEST(ImageFilterUnionBounds, reporter) {
sk_sp<SkImageFilter> offset(SkOffsetImageFilter::Make(50, 0, nullptr));
// Regardless of which order they appear in, the image filter bounds should