diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-05 19:02:45 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-05 19:02:45 +0000 |
commit | 6b1b77e9f51dcf24fff29720d6b4063983a2d5b8 (patch) | |
tree | 11795f696e8a4b37406799eb19da418b86fec9a1 /gpu | |
parent | 07c75d54ee035bcbad9ad9bfab7dbeae08afdb26 (diff) | |
download | chromium_src-6b1b77e9f51dcf24fff29720d6b4063983a2d5b8.zip chromium_src-6b1b77e9f51dcf24fff29720d6b4063983a2d5b8.tar.gz chromium_src-6b1b77e9f51dcf24fff29720d6b4063983a2d5b8.tar.bz2 |
Fixed null dereference when GPU ContextGroup failed to initialize.
TEST=try
BUG=55925
Review URL: http://codereview.chromium.org/3592006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61539 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/command_buffer/service/gpu_processor.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gpu/command_buffer/service/gpu_processor.cc b/gpu/command_buffer/service/gpu_processor.cc index 4e8984d..aab77db 100644 --- a/gpu/command_buffer/service/gpu_processor.cc +++ b/gpu/command_buffer/service/gpu_processor.cc @@ -62,6 +62,7 @@ bool GPUProcessor::InitializeCommon(gfx::GLContext* context, LOG(ERROR) << "GPUProcessor::InitializeCommon failed because group " << "failed to initialize."; Destroy(); + return false; } // Initialize the decoder with either the view or pbuffer GLContext. |