• jam's avatar
    Fix early prerender cancellation not working with PlzNavigate. · e54c55a9
    jam authored
    With PlzNavigate the navigation starts in the browser, so LaunchAppWithUrl cancels the prerender before we get the PrerenderHostMsg_AddLinkRelPrerender IPC from the renderer. Fix this by noticing that the prerender was already cancelled when the IPC arrives.
    
    This fixes
    PlatformAppUrlRedirectorBrowserTest.PrerenderedClickInTabIntercepted
    with PlzNavigate.
    
    BUG=504347
    
    Review-Url: https://codereview.chromium.org/2554573012
    Cr-Commit-Position: refs/heads/master@{#437633}
    e54c55a9
prerender_link_manager.cc 17.8 KB