summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/task_manager_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/views/task_manager_view.cc')
-rw-r--r--chrome/browser/ui/views/task_manager_view.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/ui/views/task_manager_view.cc b/chrome/browser/ui/views/task_manager_view.cc
index 489bebf..99061c6 100644
--- a/chrome/browser/ui/views/task_manager_view.cc
+++ b/chrome/browser/ui/views/task_manager_view.cc
@@ -189,6 +189,10 @@ void TaskManagerTableModel::OnItemsAdded(int start, int length) {
void TaskManagerTableModel::OnItemsRemoved(int start, int length) {
if (observer_)
observer_->OnItemsRemoved(start, length);
+
+ // We may need to change the indentation of some items if the topmost item
+ // in the group was removed, so update the view.
+ OnModelChanged();
}
// The Task manager UI container.