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

Unified Diff: content/common/net/url_fetcher_impl.cc

Issue 8491043: Allow linker initialization of lazy instance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix CrOS Created 9 years, 1 month 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: content/common/net/url_fetcher_impl.cc
diff --git a/content/common/net/url_fetcher_impl.cc b/content/common/net/url_fetcher_impl.cc
index d0d7ad2e9898a7d3792d84547f62eb5903173192..2b91ede74cf403e0c95fd0c8222b98898bf9bc56 100644
--- a/content/common/net/url_fetcher_impl.cc
+++ b/content/common/net/url_fetcher_impl.cc
@@ -316,7 +316,7 @@ void URLFetcherImpl::Core::Registry::CancelAll() {
// static
base::LazyInstance<URLFetcherImpl::Core::Registry>
- URLFetcherImpl::Core::g_registry(base::LINKER_INITIALIZED);
+ URLFetcherImpl::Core::g_registry = LINKER_ZERO_INITIALIZED;
URLFetcherImpl::Core::TempFileWriter::TempFileWriter(
URLFetcherImpl::Core* core,

Powered by Google App Engine
This is Rietveld 408576698