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

Unified Diff: ios/web/web_state/web_state_observer_bridge.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
« no previous file with comments | « ios/web/web_state/web_state_impl.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/web_state_observer_bridge.mm
diff --git a/ios/web/web_state/web_state_observer_bridge.mm b/ios/web/web_state/web_state_observer_bridge.mm
index b00fb2b084fbf5376911dafe5ca250df4724daf5..d8621e8ac71118fa22142526267cd7b5c4894441 100644
--- a/ios/web/web_state/web_state_observer_bridge.mm
+++ b/ios/web/web_state/web_state_observer_bridge.mm
@@ -119,6 +119,11 @@ void WebStateObserverBridge::FaviconUrlUpdated(
[observer_ webState:web_state() didUpdateFaviconURLCandidates:candidates];
}
+void WebStateObserverBridge::RenderProcessGone() {
+ if ([observer_ respondsToSelector:@selector(renderProcessGoneForWebState:)])
+ [observer_ renderProcessGoneForWebState:web_state()];
+}
+
void WebStateObserverBridge::WebStateDestroyed() {
SEL selector = @selector(webStateDestroyed:);
if ([observer_ respondsToSelector:selector]) {
« no previous file with comments | « ios/web/web_state/web_state_impl.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698