From f1748f5a9238a0d3e189d50fc5e57ae8b8ec087c Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Thu, 14 Sep 2017 14:11:24 -0400 Subject: Change visitProxies signature There is a perf regression (mainly on the Nexus5) for the https://skia-review.googlesource.com/c/skia/+/46200 (Add method to iterate over a GrOp's GrSurfaceProxies) This is one candidate. Change-Id: I995d3a88bad2a914f24b49512abbf01aeaf579c8 Reviewed-on: https://skia-review.googlesource.com/46586 Reviewed-by: Brian Osman Commit-Queue: Robert Phillips --- tests/OnFlushCallbackTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/OnFlushCallbackTest.cpp') diff --git a/tests/OnFlushCallbackTest.cpp b/tests/OnFlushCallbackTest.cpp index a8fdc7cc58..51c1985ee1 100644 --- a/tests/OnFlushCallbackTest.cpp +++ b/tests/OnFlushCallbackTest.cpp @@ -58,7 +58,7 @@ public: const char* name() const override { return "NonAARectOp"; } - void visitProxies(VisitProxyFunc func) const override { + void visitProxies(const VisitProxyFunc& func) const override { fHelper.visitProxies(func); } -- cgit v1.2.3