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 bddb7d4552e252041738d4a8016b46d3db57575f..ed937f316afbc2c908be49910d8a48e18d9f6ec2 100644 |
--- a/chrome/browser/ui/views/task_manager_view.cc |
+++ b/chrome/browser/ui/views/task_manager_view.cc |
@@ -161,7 +161,7 @@ class TaskManagerView : public views::ButtonListener, |
// views::View: |
virtual void Layout() OVERRIDE; |
- virtual gfx::Size GetPreferredSize() OVERRIDE; |
+ virtual gfx::Size GetPreferredSize() const OVERRIDE; |
virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; |
virtual void ViewHierarchyChanged( |
const ViewHierarchyChangedDetails& details) OVERRIDE; |
@@ -447,7 +447,7 @@ void TaskManagerView::Layout() { |
tab_table_parent_->SetBoundsRect(rect); |
} |
-gfx::Size TaskManagerView::GetPreferredSize() { |
+gfx::Size TaskManagerView::GetPreferredSize() const { |
return gfx::Size(460, 270); |
} |