[graphite] Use std::move when adding RenderPass attachment to CmdBuffer

This step was missing from the previous CL.

Bug: skia:12466
Change-Id: I3da0082efefbabf6008fc8962d706f75f0743ecc
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/461176
Auto-Submit: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
This commit is contained in:
Jim Van Verth 2021-10-19 13:51:16 -04:00 committed by SkCQ
parent 2fceb21cb7
commit c9b9174475

View File

@ -100,7 +100,7 @@ void CommandBuffer::beginRenderPass(const RenderPassDesc& renderPassDesc) {
descriptor.get());
if (colorTexture) {
this->trackResource(sk_ref_sp(colorTexture));
this->trackResource(std::move(colorInfo.fTexture));
}
this->trackResource(fActiveRenderCommandEncoder);