• edchin's avatar
    [ios] Fix page restoration placeholder · 60ef4a8c
    edchin authored
    This CL fixes two bugs in the page restoration placeholder:
    
    1) The alpha of the placeholder was not previously being reset to 1.0.
    
    2) The page restoration placeholder was only being shown at the start
    of a navigation. This means that the user will open a tab, it will
    momentarily show blank (since the page has not yet been restored)
    before showing the black/white placeholder. Now the black/white page
    will show immediately as the user enters the tab.
    
    Bug: 927843
    Change-Id: If8ad4c60e05c84a240182316484e2657d46efaf0
    Reviewed-on: https://chromium-review.googlesource.com/c/1450438
    Commit-Queue: edchin <edchin@chromium.org>
    Reviewed-by: default avataredchin <edchin@chromium.org>
    Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#628579}
    60ef4a8c
page_placeholder_tab_helper.mm 4.51 KB