Commit 7cc878de authored by Gauthier Ambard's avatar Gauthier Ambard Committed by Commit Bot

[iOS] Remove renderer crash workaround

The workaround was needed for iOS 11, it can be removed now.

Fixed: 770914
Change-Id: Id55ab7f8093c3ba4b5c45fd30c12c1ffd2c15050
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1958995
Auto-Submit: Gauthier Ambard <gambard@chromium.org>
Commit-Queue: Eugene But <eugenebut@chromium.org>
Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#723402}
parent 6a28d7d5
...@@ -1830,11 +1830,6 @@ typedef void (^ViewportStateCompletion)(const web::PageViewportState*); ...@@ -1830,11 +1830,6 @@ typedef void (^ViewportStateCompletion)(const web::PageViewportState*);
- (void)navigationHandlerWebProcessDidCrash: - (void)navigationHandlerWebProcessDidCrash:
(CRWWKNavigationHandler*)navigationHandler { (CRWWKNavigationHandler*)navigationHandler {
// On iOS 11 WKWebView does not repaint after crash and reload. Recreating
// web view fixes the issue. TODO(crbug.com/770914): Remove this workaround
// once rdar://35063950 is fixed.
[self removeWebView];
self.webStateImpl->CancelDialogs(); self.webStateImpl->CancelDialogs();
self.webStateImpl->OnRenderProcessGone(); self.webStateImpl->OnRenderProcessGone();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment