Skip visiting for allocator gathering in GrTextureOp when all proxies
are not recyclable.
Change-Id: I5ff9c48b3d7b37531a3f052bd5188a8afcacf3cb
Reviewed-on: https://skia-review.googlesource.com/c/161860
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
diff --git a/tests/ProcessorTest.cpp b/tests/ProcessorTest.cpp
index d89a106..6b6b6d5 100644
--- a/tests/ProcessorTest.cpp
+++ b/tests/ProcessorTest.cpp
@@ -38,7 +38,7 @@
const char* name() const override { return "TestOp"; }
- void visitProxies(const VisitProxyFunc& func) const override {
+ void visitProxies(const VisitProxyFunc& func, VisitorType) const override {
fProcessors.visitProxies(func);
}