aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/ops/GrSimpleMeshDrawOpHelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/ops/GrSimpleMeshDrawOpHelper.h')
-rw-r--r--src/gpu/ops/GrSimpleMeshDrawOpHelper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/ops/GrSimpleMeshDrawOpHelper.h b/src/gpu/ops/GrSimpleMeshDrawOpHelper.h
index cf8763f1d7..47a81827c6 100644
--- a/src/gpu/ops/GrSimpleMeshDrawOpHelper.h
+++ b/src/gpu/ops/GrSimpleMeshDrawOpHelper.h
@@ -97,7 +97,7 @@ public:
friend class GrSimpleMeshDrawOpHelper;
};
- void visitProxies(std::function<void(GrSurfaceProxy*)> func) const {
+ void visitProxies(const std::function<void(GrSurfaceProxy*)>& func) const {
if (fProcessors) {
fProcessors->visitProxies(func);
}