Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Unified Diff: chromecast/common/cast_resource_delegate.h

Issue 1869503003: Convert //net and //chromecast to std::unordered_* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix cast Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromecast/common/cast_resource_delegate.h
diff --git a/chromecast/common/cast_resource_delegate.h b/chromecast/common/cast_resource_delegate.h
index a70ef978736a1d8dbcd8b60180e3628626519ed7..7aa2f1c54c2c26a71d72c7252bc6987390172ccd 100644
--- a/chromecast/common/cast_resource_delegate.h
+++ b/chromecast/common/cast_resource_delegate.h
@@ -7,6 +7,7 @@
#include <memory>
#include <string>
+#include <unordered_map>
#include "base/macros.h"
#include "base/memory/ref_counted_memory.h"
@@ -56,7 +57,7 @@ class CastResourceDelegate : public ui::ResourceBundle::Delegate {
void ClearAllExtraLocalizedStrings();
private:
- typedef base::hash_map<int, base::string16> ExtraLocaledStringMap;
+ using ExtraLocaledStringMap = std::unordered_map<int, base::string16>;
ExtraLocaledStringMap extra_localized_strings_;

Powered by Google App Engine
This is Rietveld 408576698