aura: fix flashing when switching tabs rapidly
The test was wrong (hence triggerring the DCHECK): host_->is_hidden() doesn't say anything about the last compositor frame that may still be pending, and sending the ACK causes the renderer to possibly render to the "front" surface in fast hide/show/hide/show transitions. --enable-ui-release-front-surface hides the effect, but it's visible without that flag. BUG=None Review URL: https://chromiumcodereview.appspot.com/10830322 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151645 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment