| Index: content/common/gpu/media/vp8_decoder.cc
|
| diff --git a/content/common/gpu/media/vp8_decoder.cc b/content/common/gpu/media/vp8_decoder.cc
|
| index fc3793c752719199f5ac19e5230d56c0ae9cdbe6..a2fe85c19b5237484698812793344b28d9e5aa6e 100644
|
| --- a/content/common/gpu/media/vp8_decoder.cc
|
| +++ b/content/common/gpu/media/vp8_decoder.cc
|
| @@ -75,6 +75,12 @@ VP8Decoder::DecodeResult VP8Decoder::Decode() {
|
| if (new_pic_size != pic_size_) {
|
| DVLOG(2) << "New resolution: " << new_pic_size.ToString();
|
| pic_size_ = new_pic_size;
|
| +
|
| + DCHECK(!curr_pic_);
|
| + last_frame_ = nullptr;
|
| + golden_frame_ = nullptr;
|
| + alt_frame_ = nullptr;
|
| +
|
| return kAllocateNewSurfaces;
|
| }
|
|
|
|
|