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

Unified Diff: chrome/browser/ui/views/session_crashed_bubble_view.cc

Issue 2714483003: cros: Fix restoring session windows after crash inconsistent minimized window counts (Closed)
Patch Set: RestoreSessionAfterCrash on nullptr 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
« no previous file with comments | « chrome/browser/sessions/session_restore_browsertest_chromeos.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/session_crashed_bubble_view.cc
diff --git a/chrome/browser/ui/views/session_crashed_bubble_view.cc b/chrome/browser/ui/views/session_crashed_bubble_view.cc
index 5fd54eb14870db20794635737b55f368eb2f219e..3e37d00ebda61003a85bf0cea1334b85b7e9894d 100644
--- a/chrome/browser/ui/views/session_crashed_bubble_view.cc
+++ b/chrome/browser/ui/views/session_crashed_bubble_view.cc
@@ -322,8 +322,6 @@ void SessionCrashedBubbleView::RestorePreviousSession() {
CloseBubble();
RecordBubbleHistogramValue(SESSION_CRASHED_BUBBLE_RESTORED);
- // Restoring tabs has side effects, so it's preferable to do it after the
- // bubble was closed.
SessionRestore::RestoreSessionAfterCrash(browser_);
}
« no previous file with comments | « chrome/browser/sessions/session_restore_browsertest_chromeos.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698