diff options
author | mmocny@chromium.org <mmocny@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-20 17:04:08 +0000 |
---|---|---|
committer | mmocny@chromium.org <mmocny@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-20 17:04:08 +0000 |
commit | 2168d5119df01b8afa37d9653a2540278a6ed7e0 (patch) | |
tree | 7316bb8912824dcf63cd1d139e745d40d98b4667 /content | |
parent | ca863916bb876f7be184ddc563d5453d16b69aab (diff) | |
download | chromium_src-2168d5119df01b8afa37d9653a2540278a6ed7e0.zip chromium_src-2168d5119df01b8afa37d9653a2540278a6ed7e0.tar.gz chromium_src-2168d5119df01b8afa37d9653a2540278a6ed7e0.tar.bz2 |
Fixing issue with off screen contexts DCHECK(surface_) failing during SetMemoryAllocation.
SetMemoryAllocation already early exits if it does not have a surface, and the DCHECK should not have been here.
TBR=backer
BUG=119100
TEST=Manual
Review URL: https://chromiumcodereview.appspot.com/9755009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127708 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/common/gpu/gpu_command_buffer_stub.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc index f277eca..b1c63c0 100644 --- a/content/common/gpu/gpu_command_buffer_stub.cc +++ b/content/common/gpu/gpu_command_buffer_stub.cc @@ -623,8 +623,6 @@ void GpuCommandBufferStub::SetMemoryAllocation( SendMemoryAllocationToProxy(allocation); - DCHECK(surface_); - if (!surface_) return; if (allocation.suggest_have_frontbuffer && allocation.suggest_have_backbuffer) |