diff options
| author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-08 20:51:30 +0000 |
|---|---|---|
| committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-08 20:51:30 +0000 |
| commit | 2314403e94e659d586475e59975e9d84d87cbcd3 (patch) | |
| tree | b6abf72ec953e61297307a62ad67517c273bdddb /chrome/browser/download_tab_view.cc | |
| parent | e9fe92b3357e9010d14dcf628fe3dd7dad830a20 (diff) | |
| download | chromium_src-2314403e94e659d586475e59975e9d84d87cbcd3.zip chromium_src-2314403e94e659d586475e59975e9d84d87cbcd3.tar.gz chromium_src-2314403e94e659d586475e59975e9d84d87cbcd3.tar.bz2 | |
Replace all instances of <hash_map> with a "base/hash_tabe.h",
which does the right thing based on whatever platform we're
compiling for, along with changing the hardcoded "stdext::",
which is a MSVC++ism to use base::hash_{map,set}.
B=1869
Review URL: http://codereview.chromium.org/1629
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1862 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/download_tab_view.cc')
| -rw-r--r-- | chrome/browser/download_tab_view.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/download_tab_view.cc b/chrome/browser/download_tab_view.cc index 56b7c3e..f5f6ceb 100644 --- a/chrome/browser/download_tab_view.cc +++ b/chrome/browser/download_tab_view.cc @@ -809,7 +809,7 @@ void DownloadTabView::OnDownloadUpdated(DownloadItem* download) { switch (download->state()) { case DownloadItem::COMPLETE: case DownloadItem::CANCELLED: { - stdext::hash_set<DownloadItem*>::iterator d = in_progress_.find(download); + base::hash_set<DownloadItem*>::iterator d = in_progress_.find(download); if (d != in_progress_.end()) { (*d)->RemoveObserver(this); in_progress_.erase(d); @@ -824,7 +824,7 @@ void DownloadTabView::OnDownloadUpdated(DownloadItem* download) { // further progress updates until at least one download is active again. if (download->is_paused()) { bool continue_update = false; - stdext::hash_set<DownloadItem*>::iterator it = in_progress_.begin(); + base::hash_set<DownloadItem*>::iterator it = in_progress_.begin(); for (; it != in_progress_.end(); ++it) { if (!(*it)->is_paused()) { continue_update = true; @@ -937,7 +937,7 @@ void DownloadTabView::LoadIcon(DownloadItem* download) { } void DownloadTabView::ClearDownloadInProgress() { - for (stdext::hash_set<DownloadItem*>::iterator it = in_progress_.begin(); + for (base::hash_set<DownloadItem*>::iterator it = in_progress_.begin(); it != in_progress_.end(); ++it) (*it)->RemoveObserver(this); in_progress_.clear(); |
