commit | d7b09c4c3acf69a3fea49f5baaa8b5bed954a6fc | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Wed Aug 12 11:24:10 2020 -0400 |
committer | John Stiles <johnstiles@google.com> | Wed Aug 12 15:29:58 2020 +0000 |
tree | 913b29e05f3de9c3c07267bfa9a15df362057cd3 | |
parent | 82ac2ddc00372a698e00f84fd7091e2aec609127 [diff] [blame] |
Guard gencode dumpInfo() calls with GR_TEST_UTILS, instead of SK_DEBUG. Change-Id: I8d2688b804e18a3a1a440fc1d2fa1631816f3f1b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/309667 Reviewed-by: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
diff --git a/src/gpu/gradients/generated/GrLinearGradientLayout.cpp b/src/gpu/gradients/generated/GrLinearGradientLayout.cpp index d6820b8..63d4f7b 100644 --- a/src/gpu/gradients/generated/GrLinearGradientLayout.cpp +++ b/src/gpu/gradients/generated/GrLinearGradientLayout.cpp
@@ -53,7 +53,7 @@ std::unique_ptr<GrFragmentProcessor> GrLinearGradientLayout::clone() const { return std::make_unique<GrLinearGradientLayout>(*this); } -#ifdef SK_DEBUG +#if GR_TEST_UTILS SkString GrLinearGradientLayout::dumpInfo() const { return SkStringPrintf("LinearGradientLayout"); } #endif GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrLinearGradientLayout);