• Eugene But's avatar
    Purge web view on renderer crash. · 10b4a6c8
    Eugene But authored
    On iOS 11 WKWebView does not repaint after crash and reload. Recreating
    web view fixes the issue.
    
    It seems like the problem is not reproducible if web view scroll view
    remain in the default position, but it's impossible to check if web view
    was scrolled once the renderer has crashed. Recreating web view should
    not have visible performance implications, so it will be more reliable to
    purge it unconditionally if renderer has crashed.
    
    Bug: 770914
    Change-Id: I84feede9e54e4371aaf36b47db0fc9878e7518a9
    Reviewed-on: https://chromium-review.googlesource.com/727401
    Commit-Queue: Kurt Horimoto <kkhorimoto@chromium.org>
    Reviewed-by: default avatarKurt Horimoto <kkhorimoto@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#510101}
    10b4a6c8
crw_web_controller.mm 213 KB