Mac: Fix deadlock in the accelerated drawing code.

Also stop the display link thread for background tabs even if --disable-hole-punching is active.

BUG=55754
TEST=Go to a page that uses the compositor (e.g. http://webkit.org/blog/386/3d-transforms/), then keep resizing the browser window for ~10 minutes. The browser should stay functional.

Review URL: http://codereview.chromium.org/3549004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60984 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed