DescriptionSafely 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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86082
Patch Set 1 : '' #Patch Set 2 : Fix linux #
Total comments: 18
Patch Set 3 : Response to Dominic's comments #Patch Set 4 : Response to Dominic's comments, part 2 #
Total comments: 6
Patch Set 5 : Response to Dominic's comments, part 3 #
Total comments: 8
Patch Set 6 : Add constructor to RenderViewInfo #Patch Set 7 : '' #Patch Set 8 : sync #
Total comments: 2
Messages
Total messages: 22 (0 generated)
|