| Index: content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.cc b/content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| index 96d78a527078b56c3605909debea0cd650bc8f11..1d9afd4526417a94da737656ee7b3d8cf3ce2a50 100644
|
| --- a/content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/gpu_video_decode_accelerator.cc
|
| @@ -42,7 +42,7 @@ namespace content {
|
|
|
| static bool MakeDecoderContextCurrent(
|
| const base::WeakPtr<GpuCommandBufferStub> stub) {
|
| - if (!stub) {
|
| + if (!stub.get()) {
|
| DLOG(ERROR) << "Stub is gone; won't MakeCurrent().";
|
| return false;
|
| }
|
|
|