| Index: content/renderer/pepper_plugin_delegate_impl.cc
|
| diff --git a/content/renderer/pepper_plugin_delegate_impl.cc b/content/renderer/pepper_plugin_delegate_impl.cc
|
| index 1bb13eefc8dfab4c78398712dc96c88470ec8bc1..e863ea29b1b346d21174c6f25a591539b402bda0 100644
|
| --- a/content/renderer/pepper_plugin_delegate_impl.cc
|
| +++ b/content/renderer/pepper_plugin_delegate_impl.cc
|
| @@ -901,7 +901,9 @@ webkit::ppapi::PluginDelegate::PlatformContext3D*
|
| WebGraphicsContext3DCommandBufferImpl* context =
|
| static_cast<WebGraphicsContext3DCommandBufferImpl*>(
|
| render_view_->webview()->graphicsContext3D());
|
| - if (!context || context->isContextLost())
|
| + if (!context)
|
| + return NULL;
|
| + if (!context->makeContextCurrent() || context->isContextLost())
|
| return NULL;
|
|
|
| RendererGLContext* parent_context = context->context();
|
|
|