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

Unified Diff: ios/chrome/browser/tabs/tab.mm

Issue 2670743002: Track renderer crash detected on WebState via GlobalWebStateObserver (Closed)
Patch Set: comment Created 3 years, 9 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/chrome/browser/tabs/tab.mm
diff --git a/ios/chrome/browser/tabs/tab.mm b/ios/chrome/browser/tabs/tab.mm
index b5e12d3765c2add415dff86d912e2a3beaf136a6..93283b9a9c17f6461d1f62f5987fc118966d0718 100644
--- a/ios/chrome/browser/tabs/tab.mm
+++ b/ios/chrome/browser/tabs/tab.mm
@@ -1904,11 +1904,6 @@ void TabInfoBarObserver::OnInfoBarReplaced(infobars::InfoBar* old_infobar,
- (void)renderProcessGoneForWebState:(web::WebState*)webState {
if (browserState_ && !browserState_->IsOffTheRecord()) {
- // Report the crash.
- GetApplicationContext()
- ->GetMetricsServicesManager()
- ->OnRendererProcessCrash();
-
// Log the tab state for the termination.
RendererTerminationTabState tab_state =
visible_ ? RendererTerminationTabState::FOREGROUND_TAB_FOREGROUND_APP

Powered by Google App Engine
This is Rietveld 408576698