| Index: content/renderer/media/renderer_gpu_video_accelerator_factories.cc
|
| diff --git a/content/renderer/media/renderer_gpu_video_accelerator_factories.cc b/content/renderer/media/renderer_gpu_video_accelerator_factories.cc
|
| index e7efe2904e28171b8f0cee2cb82a3daedec625dc..7ae9ab6d44a44fc29f38574f6e89c86742d2683a 100644
|
| --- a/content/renderer/media/renderer_gpu_video_accelerator_factories.cc
|
| +++ b/content/renderer/media/renderer_gpu_video_accelerator_factories.cc
|
| @@ -66,7 +66,8 @@ RendererGpuVideoAcceleratorFactories::GetContext3d() {
|
| DCHECK(task_runner_->BelongsToCurrentThread());
|
| if (!context_provider_.get())
|
| return NULL;
|
| - if (context_provider_->IsContextLost()) {
|
| + if (context_provider_->ContextGL()->GetGraphicsResetStatusKHR() !=
|
| + GL_NO_ERROR) {
|
| context_provider_->VerifyContexts();
|
| context_provider_ = NULL;
|
| gl_helper_.reset(NULL);
|
|
|