Index: net/base/net_util.cc |
diff --git a/net/base/net_util.cc b/net/base/net_util.cc |
index 53206dc06ef2da5460f716135292fb4799e3a06d..204e768a962b784f9e3de9f375d75b193ece41da 100644 |
--- a/net/base/net_util.cc |
+++ b/net/base/net_util.cc |
@@ -493,7 +493,7 @@ void SetExemplarSetForLang(const std::string& lang, |
static base::LazyInstance<base::Lock, |
base::LeakyLazyInstanceTraits<base::Lock> > |
- g_lang_set_lock(base::LINKER_INITIALIZED); |
+ g_lang_set_lock = LAZY_INSTANCE_INITIALIZER; |
// Returns true if all the characters in component_characters are used by |
// the language |lang|. |
@@ -1119,7 +1119,7 @@ const FormatUrlType kFormatUrlOmitAll = kFormatUrlOmitUsernamePassword | |
static base::LazyInstance<std::multiset<int>, |
base::LeakyLazyInstanceTraits<std::multiset<int> > > |
- g_explicitly_allowed_ports(base::LINKER_INITIALIZED); |
+ g_explicitly_allowed_ports = LAZY_INSTANCE_INITIALIZER; |
size_t GetCountOfExplicitlyAllowedPorts() { |
return g_explicitly_allowed_ports.Get().size(); |