diff options
author | Yuqian Li <liyuqian@google.com> | 2017-08-11 16:51:23 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-08-11 21:12:37 +0000 |
commit | 6ad3ffeed16ce0c6891d858b01453be97b5fb234 (patch) | |
tree | 1964d78712c37ffa00ee3ac2152b611286427069 /tests/PathTest.cpp | |
parent | be8ad45fc2caca5a913e251f7c5d055e6748ea01 (diff) |
Guard AA change to wait for rebaselines
We use SK_SUPPORT_LEGACY_DELTA_AA to guard the golden image change.
Such flag is defined for Android, Chrome, and Google3 so our auto-rollers
should all be OK.
TBR: bungeman@google.com
Bug: skia:6947
Change-Id: Ic2705e82f4f7f15ec08499254dce75b93d41727e
Reviewed-on: https://skia-review.googlesource.com/33762
Reviewed-by: Yuqian Li <liyuqian@google.com>
Commit-Queue: Yuqian Li <liyuqian@google.com>
Diffstat (limited to 'tests/PathTest.cpp')
-rw-r--r-- | tests/PathTest.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/PathTest.cpp b/tests/PathTest.cpp index 873f5cb17c..6e1cf011c4 100644 --- a/tests/PathTest.cpp +++ b/tests/PathTest.cpp @@ -4467,6 +4467,7 @@ static void test_fuzz_crbug_662730(skiatest::Reporter* reporter) { surface->getCanvas()->drawPath(path, paint); } +#if !defined(SK_SUPPORT_LEGACY_DELTA_AA) static void test_skbug_6947() { SkPath path; SkPoint points[] = @@ -4506,6 +4507,7 @@ static void test_skbug_6947() { paint.setAntiAlias(true); surface->getCanvas()->drawPath(path, paint); } +#endif static void test_interp(skiatest::Reporter* reporter) { SkPath p1, p2, out; @@ -4579,7 +4581,9 @@ DEF_TEST(Paths, reporter) { test_mask_overflow(); test_path_crbugskia6003(); test_fuzz_crbug_668907(); +#if !defined(SK_SUPPORT_LEGACY_DELTA_AA) test_skbug_6947(); +#endif SkSize::Make(3, 4); |