summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/task_manager_gtk.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-02 23:22:45 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-02 23:22:45 +0000
commit3c57af58878702020d3ee89de0f62fd0a4d0f131 (patch)
tree9339aaa651abd54d9978fe2ab59c7c9b2e4a21ef /chrome/browser/gtk/task_manager_gtk.h
parent2a875da49dcb15e862b420f9ba559c135191f084 (diff)
downloadchromium_src-3c57af58878702020d3ee89de0f62fd0a4d0f131.zip
chromium_src-3c57af58878702020d3ee89de0f62fd0a4d0f131.tar.gz
chromium_src-3c57af58878702020d3ee89de0f62fd0a4d0f131.tar.bz2
GTK: fix a task manager crasher.
When OnItemsRemoved() is called, we remove the items one by one. If there is more than one item being removed, we may ask the model about items that no longer exist. This fix is speculative in the sense that I couldn't repro the crash. BUG=37115 TEST=none Review URL: http://codereview.chromium.org/660351 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40455 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/task_manager_gtk.h')
-rw-r--r--chrome/browser/gtk/task_manager_gtk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/task_manager_gtk.h b/chrome/browser/gtk/task_manager_gtk.h
index 2a887fa..40e4036 100644
--- a/chrome/browser/gtk/task_manager_gtk.h
+++ b/chrome/browser/gtk/task_manager_gtk.h
@@ -215,7 +215,7 @@ class TaskManagerGtk : public TaskManagerModelObserver {
// We edit the selection in the OnSelectionChanged handler, and we use this
// variable to prevent ourselves from handling further changes that we
// ourselves caused.
- bool handling_selection_changed_;
+ bool ignore_selection_changed_;
DISALLOW_COPY_AND_ASSIGN(TaskManagerGtk);
};