DescriptionAvoid any race conditions with RenderFrame getting notified that it's prerendering.
Originally PrerenderHelper was per RenderView. In r239860 I switched it to be per RenderFrame. Before PrerenderHelper was guaranteed to get the IPC telling it that it's prerendering before any navigation. After the change, the RenderFrame could be navigated by its parent frame before it gets the IPC that it's prerendering. This change ensures that there are no races by having a child frame check with its parent frame if it's pre-rendering at construction.
We haven't yet turned on RenderFrame per frame, but this is something could happen once we do.
BUG=304341
R=tburkard@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243093
Patch Set 1 #Patch Set 2 : sync #Messages
Total messages: 2 (0 generated)
|