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

Unified Diff: chrome/browser/first_run/first_run.cc

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: Created 3 years, 9 months 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/first_run/first_run.cc
diff --git a/chrome/browser/first_run/first_run.cc b/chrome/browser/first_run/first_run.cc
index 522b4d7b945d662c8e40fbbb178b54a45075a050..06cbc5cbf9a257430ca04184944cdf14bb875dbc 100644
--- a/chrome/browser/first_run/first_run.cc
+++ b/chrome/browser/first_run/first_run.cc
@@ -439,8 +439,8 @@ void FirstRunBubbleLauncher::Observe(
delete this;
}
-static base::LazyInstance<base::FilePath> master_prefs_path_for_testing
- = LAZY_INSTANCE_INITIALIZER;
+static base::LazyInstance<base::FilePath>::DestructorAtExit
+ master_prefs_path_for_testing = LAZY_INSTANCE_INITIALIZER;
// Loads master preferences from the master preference file into the installer
// master preferences. Returns the pointer to installer::MasterPreferences

Powered by Google App Engine
This is Rietveld 408576698