Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(726)

Unified Diff: ios/web/web_state/ui/crw_web_controller.mm

Issue 2645783002: Replaced webControllerWebProcessDidCrash: with RenderProcessGone. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/web/web_state/ui/crw_web_controller.mm
diff --git a/ios/web/web_state/ui/crw_web_controller.mm b/ios/web/web_state/ui/crw_web_controller.mm
index a62a61bb1a520d323ae8ef1ca1c8d5e180de357b..937052d494028ebf99ed531fd62debd5e0757e5b 100644
--- a/ios/web/web_state/ui/crw_web_controller.mm
+++ b/ios/web/web_state/ui/crw_web_controller.mm
@@ -4552,9 +4552,7 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5;
[self.UIDelegate cancelDialogsForWebController:self];
_webStateImpl->CancelDialogs();
- SEL rendererCrashSelector = @selector(webControllerWebProcessDidCrash:);
- if ([self.delegate respondsToSelector:rendererCrashSelector])
- [self.delegate webControllerWebProcessDidCrash:self];
+ _webStateImpl->OnRenderProcessGone();
}
- (web::WKWebViewConfigurationProvider&)webViewConfigurationProvider {
« no previous file with comments | « ios/web/public/web_state/web_state_observer_bridge.h ('k') | ios/web/web_state/ui/crw_web_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698