| Index: trunk/src/content/renderer/media/renderer_gpu_video_accelerator_factories.cc
|
| ===================================================================
|
| --- trunk/src/content/renderer/media/renderer_gpu_video_accelerator_factories.cc (revision 244469)
|
| +++ trunk/src/content/renderer/media/renderer_gpu_video_accelerator_factories.cc (working copy)
|
| @@ -58,12 +58,14 @@
|
| DCHECK(task_runner_->BelongsToCurrentThread());
|
| if (!context_provider_)
|
| return NULL;
|
| - if (context_provider_->IsContextLost()) {
|
| + WebGraphicsContext3DCommandBufferImpl* context =
|
| + context_provider_->Context3d();
|
| + if (context->isContextLost()) {
|
| context_provider_->VerifyContexts();
|
| context_provider_ = NULL;
|
| return NULL;
|
| }
|
| - return context_provider_->WebContext3D();
|
| + return context;
|
| }
|
|
|
| void RendererGpuVideoAcceleratorFactories::AsyncBindContext() {
|
|
|