diff options
author | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-20 15:05:08 +0000 |
---|---|---|
committer | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-20 15:05:08 +0000 |
commit | 28a05f3af8c3031d23b55630d811fc5c18505a3c (patch) | |
tree | cb4691e3b846236408c45695b72051412f68dbf3 /sdch | |
parent | 2937a8c72bfd28188ccd0b3f3b54bc3303b5f537 (diff) | |
download | chromium_src-28a05f3af8c3031d23b55630d811fc5c18505a3c.zip chromium_src-28a05f3af8c3031d23b55630d811fc5c18505a3c.tar.gz chromium_src-28a05f3af8c3031d23b55630d811fc5c18505a3c.tar.bz2 |
Safely cancel prerenders on threads other than the UI thread.
Previously, prerendering was cancelled on the IO thread by not
doing something, and then passing a task to the UI thread
to abort the prerender. This resulted in a race which could
result in swapping in the prerender before the task was
executed. This fixes that.
BUG=83062
TEST=PrerenderStatusManagerTests, PrerenderBrowserTests
Review URL: http://codereview.chromium.org/7038012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86082 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sdch')
0 files changed, 0 insertions, 0 deletions