diff options
author | Brian Salomon <bsalomon@google.com> | 2018-05-07 16:40:48 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-07 21:12:27 +0000 |
commit | d3cee17add2becfa526d6ec7337cdcf72a74e108 (patch) | |
tree | 800a72d796588315a84b69109f41b39e325a765a /src/gpu/ops/GrLatticeOp.cpp | |
parent | a8daee88d274e29f9d27f640843b33795f6df31e (diff) |
Visit the image proxy in GrLatticeOp
Bug: b/77917978
Change-Id: Ib6b40ce891f576f4a1c7d624a2409f3bba36b344
Reviewed-on: https://skia-review.googlesource.com/126620
Commit-Queue: Brian Salomon <bsalomon@google.com>
Auto-Submit: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/ops/GrLatticeOp.cpp')
-rw-r--r-- | src/gpu/ops/GrLatticeOp.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/ops/GrLatticeOp.cpp b/src/gpu/ops/GrLatticeOp.cpp index 28739b846d..f1359c62fd 100644 --- a/src/gpu/ops/GrLatticeOp.cpp +++ b/src/gpu/ops/GrLatticeOp.cpp @@ -130,6 +130,7 @@ public: sk_sp<GrColorSpaceXform> colorSpaceXForm, GrSamplerState::Filter filter, std::unique_ptr<SkLatticeIter> iter, const SkRect& dst) { + SkASSERT(proxy); return Helper::FactoryHelper<NonAALatticeOp>(std::move(paint), viewMatrix, std::move(proxy), std::move(colorSpaceXForm), filter, std::move(iter), dst); @@ -157,6 +158,7 @@ public: const char* name() const override { return "NonAALatticeOp"; } void visitProxies(const VisitProxyFunc& func) const override { + func(fProxy.get()); fHelper.visitProxies(func); } |