| Index: content/common/gpu/media/exynos_video_decode_accelerator.cc
|
| diff --git a/content/common/gpu/media/exynos_video_decode_accelerator.cc b/content/common/gpu/media/exynos_video_decode_accelerator.cc
|
| index 74e71abb34936b46c2a998ed1b4b8fe40544d8e4..89fa518f02504b0dbfac7ea0cd8bdf2ad869eedf 100644
|
| --- a/content/common/gpu/media/exynos_video_decode_accelerator.cc
|
| +++ b/content/common/gpu/media/exynos_video_decode_accelerator.cc
|
| @@ -1891,7 +1891,7 @@ void ExynosVideoDecodeAccelerator::NotifyError(Error error) {
|
| return;
|
| }
|
|
|
| - if (client_) {
|
| + if (client_.get()) {
|
| client_->NotifyError(error);
|
| client_ptr_factory_.InvalidateWeakPtrs();
|
| }
|
| @@ -2222,7 +2222,7 @@ void ExynosVideoDecodeAccelerator::DestroyGscOutputBuffers() {
|
| eglDestroyImageKHR(egl_display_, output_record.egl_image);
|
| if (output_record.egl_sync != EGL_NO_SYNC_KHR)
|
| eglDestroySyncKHR(egl_display_, output_record.egl_sync);
|
| - if (client_)
|
| + if (client_.get())
|
| client_->DismissPictureBuffer(output_record.picture_id);
|
| ++i;
|
| } while (i < gsc_output_buffer_map_.size());
|
|
|