Skip to content

Commit

Permalink
Landing http://codereview.chromium.org/8393063/ on behalf mmocny@. ma…
Browse files Browse the repository at this point in the history
…rcheu@ had confirmed that this indeed takes care for #1 crash in ChromeOS.

Call gman's Release SHM when tab goes into background


BUG=chromium-os:22372
TEST=Manual 
Review URL: http://codereview.chromium.org/8474015

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108749 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
zelidrag@chromium.org committed Nov 5, 2011
1 parent bb31d1a commit d582415
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,8 @@ void WebGraphicsContext3DCommandBufferImpl::unmapTexSubImage2DCHROMIUM(

void WebGraphicsContext3DCommandBufferImpl::setVisibilityCHROMIUM(
bool visible) {
if (!visible)
gl_->FreeUnusedSharedMemory();
gl_->Flush();
context_->SetSurfaceVisible(visible);
}
Expand Down

0 comments on commit d582415

Please sign in to comment.