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

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: 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: 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..88e89bd0aee698d80543dbd896bd7e5e2dba26b9 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 = LINKER_ZERO_INITIALIZED;
class SaveAsDialog : public SelectFileDialog::Listener,
public base::RefCounted<SaveAsDialog> {

Powered by Google App Engine
This is Rietveld 408576698