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

Unified Diff: net/base/network_change_notifier.cc

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: net/base/network_change_notifier.cc
diff --git a/net/base/network_change_notifier.cc b/net/base/network_change_notifier.cc
index 93ca8ba24909b0ea2618344025748b399b5b372d..0cfaaa38d259db9be27343bf487aaf3b88d1a6a0 100644
--- a/net/base/network_change_notifier.cc
+++ b/net/base/network_change_notifier.cc
@@ -5,6 +5,7 @@
#include "net/base/network_change_notifier.h"
#include <limits>
+#include <unordered_set>
#include "base/macros.h"
#include "base/metrics/histogram_macros.h"
@@ -528,7 +529,7 @@ NetworkChangeNotifier* NetworkChangeNotifier::Create() {
#endif
return NULL;
#elif defined(OS_LINUX)
- return new NetworkChangeNotifierLinux(base::hash_set<std::string>());
+ return new NetworkChangeNotifierLinux(std::unordered_set<std::string>());
#elif defined(OS_MACOSX)
return new NetworkChangeNotifierMac();
#else

Powered by Google App Engine
This is Rietveld 408576698