Remove unused ActualUse param from GrResourceAllocator
This was here for deferred proxies, which are gone now.
Bug: skia:11288
Change-Id: Idc8a3aef7c3cce62d9397338a0c77d41435527a9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/367881
Commit-Queue: Adlai Holler <adlai@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Auto-Submit: Adlai Holler <adlai@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/GrCopyRenderTask.cpp b/src/gpu/GrCopyRenderTask.cpp
index f2887e3..3122866 100644
--- a/src/gpu/GrCopyRenderTask.cpp
+++ b/src/gpu/GrCopyRenderTask.cpp
@@ -52,10 +52,8 @@
// This renderTask doesn't have "normal" ops. In this case we still need to add an interval (so
// fEndOfOpsTaskOpIndices will remain in sync), so we create a fake op# to capture the fact that
// we read fSrcView and copy to target view.
- alloc->addInterval(fSrc.get(), alloc->curOp(), alloc->curOp(),
- GrResourceAllocator::ActualUse::kYes);
- alloc->addInterval(this->target(0), alloc->curOp(), alloc->curOp(),
- GrResourceAllocator::ActualUse::kYes);
+ alloc->addInterval(fSrc.get(), alloc->curOp(), alloc->curOp());
+ alloc->addInterval(this->target(0), alloc->curOp(), alloc->curOp());
alloc->incOps();
}