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

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

Issue 12712018: Fixing problem with incomplete browser windows showing up after task manager was used (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactored the ShowTaskManager function is requested Created 7 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: chrome/browser/ui/ash/chrome_shell_delegate.cc
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.cc b/chrome/browser/ui/ash/chrome_shell_delegate.cc
index a15599685c17241b10f76c1a6b025b1003ffd974..035a1492b01df248a6d7a0cabe1b0d3dafa7ea19 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
@@ -165,10 +165,7 @@ bool ChromeShellDelegate::RotatePaneFocus(ash::Shell::Direction direction) {
}
void ChromeShellDelegate::ShowTaskManager() {
- Browser* browser = chrome::FindOrCreateTabbedBrowser(
- ProfileManager::GetDefaultProfileOrOffTheRecord(),
- chrome::HOST_DESKTOP_TYPE_ASH);
- chrome::OpenTaskManager(browser, false);
+ chrome::OpenTaskManager(NULL, false);
sky 2013/03/20 23:52:08 NULL is ok here, but if the active window is a bro
Mr4D (OOO till 08-26) 2013/03/21 00:20:10 Well - I was under the impression that you wanted
sky 2013/03/21 00:25:55 What I said is that if the active window is a brow
}
content::BrowserContext* ChromeShellDelegate::GetCurrentBrowserContext() {

Powered by Google App Engine
This is Rietveld 408576698