diff options
Diffstat (limited to 'chrome/browser/gtk/task_manager_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/task_manager_gtk.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/gtk/task_manager_gtk.cc b/chrome/browser/gtk/task_manager_gtk.cc index aa8577b..93ed4ca 100644 --- a/chrome/browser/gtk/task_manager_gtk.cc +++ b/chrome/browser/gtk/task_manager_gtk.cc @@ -316,7 +316,7 @@ void TaskManagerGtk::OnItemsChanged(int start, int length) { } void TaskManagerGtk::OnItemsAdded(int start, int length) { - AutoReset autoreset(&ignore_selection_changed_, true); + AutoReset<bool> autoreset(&ignore_selection_changed_, true); GtkTreeIter iter; if (start == 0) { @@ -342,7 +342,7 @@ void TaskManagerGtk::OnItemsAdded(int start, int length) { void TaskManagerGtk::OnItemsRemoved(int start, int length) { { - AutoReset autoreset(&ignore_selection_changed_, true); + AutoReset<bool> autoreset(&ignore_selection_changed_, true); GtkTreeIter iter; gtk_tree_model_iter_nth_child(GTK_TREE_MODEL(process_list_), &iter, @@ -848,7 +848,7 @@ void TaskManagerGtk::OnTreeViewRealize(GtkTreeView* treeview, void TaskManagerGtk::OnSelectionChanged(GtkTreeSelection* selection) { if (ignore_selection_changed_) return; - AutoReset autoreset(&ignore_selection_changed_, true); + AutoReset<bool> autoreset(&ignore_selection_changed_, true); // The set of groups that should be selected. std::set<std::pair<int, int> > ranges; |