Chromium Code Reviews| Index: chrome/browser/ui/views/task_manager_view.cc |
| diff --git a/chrome/browser/ui/views/task_manager_view.cc b/chrome/browser/ui/views/task_manager_view.cc |
| index 5a22107953ec2b5df2c1aec8e8a44102dbd9c9b6..c309c6d02d4323d9f08c59fa178e81149392ff20 100644 |
| --- a/chrome/browser/ui/views/task_manager_view.cc |
| +++ b/chrome/browser/ui/views/task_manager_view.cc |
| @@ -38,7 +38,7 @@ |
| #include "ui/views/window/dialog_delegate.h" |
| #if defined(OS_WIN) |
| -#include "base/win/metro.h" |
| +#include "win8/util/win8_util.h" |
| #endif |
| // The task manager window default size. |
| @@ -586,7 +586,7 @@ gfx::Size TaskManagerView::GetPreferredSize() { |
| // static |
| void TaskManagerView::Show(bool highlight_background_resources) { |
| // In Windows Metro it's not good to open this native window. |
| - DCHECK(!base::win::IsMetroProcess()); |
| + DCHECK(!win8::IsSingleWindowMetroMode()); |
|
cpu_(ooo_6.6-7.5)
2012/12/03 20:56:26
FYI, There is a discussion about what task manager
gab
2012/12/04 00:19:06
So making this change only enables (and some other
gab
2012/12/04 18:47:42
Looks like task_manager_view.cc is already compile
|
| if (instance_) { |
| if (instance_->highlight_background_resources_ != |