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

Unified Diff: chrome/browser/web_resource/gpu_blacklist_updater.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/web_resource/gpu_blacklist_updater.cc
diff --git a/chrome/browser/web_resource/gpu_blacklist_updater.cc b/chrome/browser/web_resource/gpu_blacklist_updater.cc
index 4e67cb91b51c592940769f3e9597f68a02e0842b..89f22a98d8887c1f93962bf682a99909c249a079 100644
--- a/chrome/browser/web_resource/gpu_blacklist_updater.cc
+++ b/chrome/browser/web_resource/gpu_blacklist_updater.cc
@@ -36,7 +36,7 @@ static const int kStartGpuBlacklistFetchDelay = 6000;
static const int kCacheUpdateDelay = 48 * 60 * 60 * 1000;
std::string GetChromeVersionString() {
- static std::string cr_version;
+ CR_DEFINE_STATIC_LOCAL(std::string, cr_version, ());
if (!cr_version.empty())
return cr_version;
chrome::VersionInfo version_info;

Powered by Google App Engine
This is Rietveld 408576698