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/web_contents.h | |
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/web_contents.h')
-rw-r--r-- | chrome/browser/web_contents.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/chrome/browser/web_contents.h b/chrome/browser/web_contents.h index 43ba2e8..054c57e 100644 --- a/chrome/browser/web_contents.h +++ b/chrome/browser/web_contents.h @@ -5,8 +5,7 @@ #ifndef CHROME_BROWSER_WEB_CONTENTS_H_ #define CHROME_BROWSER_WEB_CONTENTS_H_ -#include <hash_map> - +#include "base/hash_tables.h" #include "chrome/browser/fav_icon_helper.h" #include "chrome/browser/printing/print_view_manager.h" #include "chrome/browser/render_view_host_delegate.h" @@ -749,10 +748,10 @@ class WebContents : public TabContents, // These maps hold on to the pages/widgets that we created on behalf of the // renderer that haven't shown yet. - typedef stdext::hash_map<int, WebContents*> PendingViews; + typedef base::hash_map<int, WebContents*> PendingViews; PendingViews pending_views_; - typedef stdext::hash_map<int, RenderWidgetHost*> PendingWidgets; + typedef base::hash_map<int, RenderWidgetHost*> PendingWidgets; PendingWidgets pending_widgets_; // Non-null if we're displaying content for a web app. @@ -765,4 +764,3 @@ class WebContents : public TabContents, }; #endif // CHROME_BROWSER_WEB_CONTENTS_H_ - |