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 /webkit/glue/dom_serializer.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 'webkit/glue/dom_serializer.h')
-rw-r--r-- | webkit/glue/dom_serializer.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/webkit/glue/dom_serializer.h b/webkit/glue/dom_serializer.h index 8ea7ce0..bfe8c43 100644 --- a/webkit/glue/dom_serializer.h +++ b/webkit/glue/dom_serializer.h @@ -6,8 +6,8 @@ #define WEBKIT_GLUE_DOM_SERIALIZER_H__ #include <string> -#include <hash_map> +#include "base/hash_tables.h" #include "googleurl/src/gurl.h" class WebFrame; @@ -67,7 +67,7 @@ class DomSerializer { WebFrameImpl* specified_webframeimpl_; // This hash_map is used to map resource URL of original link to its local // file path. - typedef stdext::hash_map<std::wstring, std::wstring> LinkLocalPathMap; + typedef base::hash_map<std::wstring, std::wstring> LinkLocalPathMap; // local_links_ include all pair of local resource path and corresponding // original link. LinkLocalPathMap local_links_; @@ -169,4 +169,3 @@ class DomSerializer { } // namespace webkit_glue #endif // WEBKIT_GLUE_DOM_SERIALIZER_H__ - |