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

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

Issue 51943007: Don't attempt to session restore an undocked devtools window in AURA. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
===================================================================
--- chrome/browser/ui/browser.cc (revision 232513)
+++ chrome/browser/ui/browser.cc (working copy)
@@ -640,7 +640,7 @@
TabRestoreServiceFactory::GetForProfile(profile());
#if defined(USE_AURA)
- if (tab_restore_service && is_app())
+ if (tab_restore_service && is_app() && !is_devtools())
tab_restore_service->BrowserClosing(tab_restore_service_delegate());
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698