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

Unified Diff: chrome/browser/download/download_util.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 | « chrome/browser/debugger/devtools_file_util.cc ('k') | chrome/browser/extensions/crx_installer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_util.cc
diff --git a/chrome/browser/download/download_util.cc b/chrome/browser/download/download_util.cc
index 21a85cc084dc5dad8bd9d2dd761385a42fd65679..e5639601ae799a6547d7d898546b7bccf0b3b599 100644
--- a/chrome/browser/download/download_util.cc
+++ b/chrome/browser/download/download_util.cc
@@ -109,7 +109,7 @@ class DefaultDownloadDirectory {
};
static base::LazyInstance<DefaultDownloadDirectory>
- g_default_download_directory(base::LINKER_INITIALIZED);
+ g_default_download_directory = LAZY_INSTANCE_INITIALIZER;
const FilePath& GetDefaultDownloadDirectory() {
return g_default_download_directory.Get().path();
« no previous file with comments | « chrome/browser/debugger/devtools_file_util.cc ('k') | chrome/browser/extensions/crx_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698