| Index: chrome/renderer/pepper_platform_context_3d_impl.cc
|
| diff --git a/chrome/renderer/pepper_platform_context_3d_impl.cc b/chrome/renderer/pepper_platform_context_3d_impl.cc
|
| index 47a0958c525c6b8ddfe7df9fa5231981d431dc8f..485de2f0fbd30524c3fd2ed880a11f01cdbac978 100644
|
| --- a/chrome/renderer/pepper_platform_context_3d_impl.cc
|
| +++ b/chrome/renderer/pepper_platform_context_3d_impl.cc
|
| @@ -73,11 +73,10 @@ bool PlatformContext3DImpl::Init() {
|
| "*",
|
| attribs,
|
| parent_texture_id_);
|
| - command_buffer_->SetChannelErrorCallback(callback_factory_.NewCallback(
|
| - &PlatformContext3DImpl::OnContextLost));
|
| -
|
| if (!command_buffer_)
|
| return false;
|
| + command_buffer_->SetChannelErrorCallback(callback_factory_.NewCallback(
|
| + &PlatformContext3DImpl::OnContextLost));
|
|
|
| return true;
|
| }
|
| @@ -112,4 +111,3 @@ void PlatformContext3DImpl::OnContextLost() {
|
| }
|
|
|
| #endif // ENABLE_GPU
|
| -
|
|
|