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

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: thakis comment, renamed LAZY_INSTANCE_INITIALIZER 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..18845a0231eaf85c5d5fe457c1ad58aa899f4f25 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 = LAZY_INSTANCE_INITIALIZER;
URLFetcherImpl::Core::TempFileWriter::TempFileWriter(
URLFetcherImpl::Core* core,

Powered by Google App Engine
This is Rietveld 408576698