summaryrefslogtreecommitdiffstats
path: root/chrome/browser/status_icons
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/status_icons')
-rw-r--r--chrome/browser/status_icons/status_tray.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/browser/status_icons/status_tray.cc b/chrome/browser/status_icons/status_tray.cc
index 8648351..84de8e0 100644
--- a/chrome/browser/status_icons/status_tray.cc
+++ b/chrome/browser/status_icons/status_tray.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -17,9 +17,7 @@ StatusTray::~StatusTray() {
}
void StatusTray::RemoveAllIcons() {
- // Walk any active status icons and delete them.
- STLDeleteContainerPointers(status_icons_.begin(), status_icons_.end());
- status_icons_.clear();
+ STLDeleteElements(&status_icons_);
}
StatusIcon* StatusTray::CreateStatusIcon() {