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

Unified Diff: content/browser/net/url_request_slow_download_job.cc

Issue 8491043: Allow linker initialization of lazy instance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: willchan comments + rebase 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
« no previous file with comments | « content/browser/mock_resource_context.cc ('k') | content/browser/notification_service_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/net/url_request_slow_download_job.cc
diff --git a/content/browser/net/url_request_slow_download_job.cc b/content/browser/net/url_request_slow_download_job.cc
index 562bb06a44929519db9165d78bf9a040f96e0e5b..bb650f841bf96de52fde6ae7b1621cb4ffe6456a 100644
--- a/content/browser/net/url_request_slow_download_job.cc
+++ b/content/browser/net/url_request_slow_download_job.cc
@@ -32,7 +32,8 @@ const int URLRequestSlowDownloadJob::kSecondDownloadSize = 1024 * 10;
base::LazyInstance<
URLRequestSlowDownloadJob::SlowJobsSet,
base::LeakyLazyInstanceTraits<URLRequestSlowDownloadJob::SlowJobsSet> >
- URLRequestSlowDownloadJob::pending_requests_(base::LINKER_INITIALIZED);
+ URLRequestSlowDownloadJob::pending_requests_ =
+ LAZY_INSTANCE_INITIALIZER;
void URLRequestSlowDownloadJob::Start() {
MessageLoop::current()->PostTask(
« no previous file with comments | « content/browser/mock_resource_context.cc ('k') | content/browser/notification_service_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698