Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit b5e8a25

Browse files
johnstiles-googleSkia Commit-Bot
authored andcommitted
Remove dumpInfo() entirely when GR_TEST_UTILS is off.
Change-Id: Ibb2b4df7788715784236adaf215d5d13e6380672 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/309661 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com> Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com>
1 parent 2690078 commit b5e8a25

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/gpu/GrFragmentProcessor.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,6 @@ class GrFragmentProcessor : public GrProcessor {
254254
// Generates debug info for this processor tree by recursively calling dumpInfo() on this
255255
// processor and its children.
256256
SkString dumpTreeInfo() const;
257-
#else
258-
SkString dumpTreeInfo() const { return dumpInfo(); }
259257
#endif
260258

261259
// A pre-order traversal iterator over a hierarchy of FPs. It can also iterate over all the FP

src/gpu/GrProcessor.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,6 @@ class GrProcessor {
188188
virtual SkString dumpInfo() const {
189189
return SkString(name());
190190
}
191-
#else
192-
SkString dumpInfo() const { return SkString("<Processor information unavailable>"); }
193191
#endif
194192

195193
/**

0 commit comments

Comments
 (0)