summaryrefslogtreecommitdiffstats
path: root/chrome/browser/task_manager.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-14 03:13:06 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-14 03:13:06 +0000
commite56bbc990c6855f286ebf74e88e1bca0227fe210 (patch)
tree5ed565ac79a99800fa5cc66b65d52dd40a61a032 /chrome/browser/task_manager.cc
parent6b33e4da472b3c474a3f1328fdba4a84d4a91886 (diff)
downloadchromium_src-e56bbc990c6855f286ebf74e88e1bca0227fe210.zip
chromium_src-e56bbc990c6855f286ebf74e88e1bca0227fe210.tar.gz
chromium_src-e56bbc990c6855f286ebf74e88e1bca0227fe210.tar.bz2
rollback again
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11696 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/task_manager.cc')
-rw-r--r--chrome/browser/task_manager.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/task_manager.cc b/chrome/browser/task_manager.cc
index d8f578d..cacb30c 100644
--- a/chrome/browser/task_manager.cc
+++ b/chrome/browser/task_manager.cc
@@ -23,7 +23,6 @@
#include "chrome/views/link.h"
#include "chrome/views/menu.h"
#include "chrome/views/native_button.h"
-#include "chrome/views/widget.h"
#include "chrome/views/window.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
@@ -966,7 +965,7 @@ TaskManager::~TaskManager() {
void TaskManager::Open() {
TaskManager* task_manager = GetInstance();
if (task_manager->window()) {
- task_manager->window()->Activate();
+ task_manager->window()->MoveToFront(true);
} else {
views::Window::CreateChromeWindow(NULL, gfx::Rect(), task_manager);
task_manager->table_model_->StartUpdating();