Commit 3c491295 authored by Chih-Yu Huang's avatar Chih-Yu Huang Committed by Commit Bot

media/gpu/VP9Decoder: use std::move() to reduce scoped_refptr duplication.

Bug: 1020668
Test: run vda_tests on kevin

Change-Id: I5679d5ff65159f4f3bcb7dd62f5a3e1e09964739
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1974726
Commit-Queue: Chih-Yu Huang <akahuang@chromium.org>
Reviewed-by: default avatarAlexandre Courbot <acourbot@chromium.org>
Reviewed-by: default avatarHirokazu Honda <hiroh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#726369}
parent 1e01d1ca
......@@ -253,7 +253,7 @@ VP9Decoder::DecodeResult VP9Decoder::Decode() {
}
pic->frame_hdr = std::move(curr_frame_hdr_);
if (!DecodeAndOutputPicture(pic)) {
if (!DecodeAndOutputPicture(std::move(pic))) {
SetError();
return kDecodeError;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment