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

Unified Diff: chrome/browser/profiles/profile_manager.cc

Issue 8590003: chrome: Remove 11 exit time destructors and 4 static initializers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no gyp changes :-( 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/profiles/profile_manager.cc
diff --git a/chrome/browser/profiles/profile_manager.cc b/chrome/browser/profiles/profile_manager.cc
index ae4fb090d41a8c7d3c84cd8cd02d73cb44953392..9c058de96b18449ad1202fe8ac51929bb9fe7167 100644
--- a/chrome/browser/profiles/profile_manager.cc
+++ b/chrome/browser/profiles/profile_manager.cc
@@ -53,7 +53,7 @@ namespace {
// Profiles that should be deleted on shutdown.
std::vector<FilePath>& ProfilesToDelete() {
- static std::vector<FilePath> profiles_to_delete;
+ CR_DEFINE_STATIC_LOCAL(std::vector<FilePath>, profiles_to_delete, ());
return profiles_to_delete;
}

Powered by Google App Engine
This is Rietveld 408576698