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

Unified Diff: chrome/browser/debugger/devtools_file_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
Index: chrome/browser/debugger/devtools_file_util.cc
diff --git a/chrome/browser/debugger/devtools_file_util.cc b/chrome/browser/debugger/devtools_file_util.cc
index 4f6b1db166547ad21b6b18239109834aef9b8b3f..7e4158a1820977059f6962300eeb820caf284d1f 100644
--- a/chrome/browser/debugger/devtools_file_util.cc
+++ b/chrome/browser/debugger/devtools_file_util.cc
@@ -19,7 +19,7 @@ namespace {
base::LazyInstance<FilePath,
base::LeakyLazyInstanceTraits<FilePath> >
- g_last_save_path(base::LINKER_INITIALIZED);
+ g_last_save_path = LAZY_INSTANCE_INITIALIZER;
class SaveAsDialog : public SelectFileDialog::Listener,
public base::RefCounted<SaveAsDialog> {
« no previous file with comments | « chrome/browser/content_settings/tab_specific_content_settings.cc ('k') | chrome/browser/download/download_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698