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

Unified Diff: chrome/browser/content_settings/tab_specific_content_settings.cc

Issue 8573021: chrome: Remove 14 exit time destructors and 2 static initializers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Hopefully fix problems seen on the bots 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/content_settings/tab_specific_content_settings.cc
diff --git a/chrome/browser/content_settings/tab_specific_content_settings.cc b/chrome/browser/content_settings/tab_specific_content_settings.cc
index 3009f250d66e9e016cda338b42b10ebaf2e40e31..da72352de30e57c99af2eb3418a3bfc297e5d2e4 100644
--- a/chrome/browser/content_settings/tab_specific_content_settings.cc
+++ b/chrome/browser/content_settings/tab_specific_content_settings.cc
@@ -200,7 +200,7 @@ const std::set<std::string>&
if (blocked_resources_[content_type].get()) {
return *blocked_resources_[content_type];
} else {
- static std::set<std::string> empty_set;
+ CR_DEFINE_STATIC_LOCAL(std::set<std::string>, empty_set, ());
return empty_set;
}
}

Powered by Google App Engine
This is Rietveld 408576698