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

Unified Diff: ui/gfx/native_theme_chromeos.cc

Issue 8495043: Turn on -Wexit-time-destructors for ui and content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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: ui/gfx/native_theme_chromeos.cc
diff --git a/ui/gfx/native_theme_chromeos.cc b/ui/gfx/native_theme_chromeos.cc
index c80c5edd28952ada2c6b97692478d2334abb0813..ebb5ba8d842e6e28898e2d22e777dd14f2008146 100644
--- a/ui/gfx/native_theme_chromeos.cc
+++ b/ui/gfx/native_theme_chromeos.cc
@@ -240,7 +240,7 @@ const NativeTheme* NativeTheme::instance() {
// static
const NativeThemeChromeos* NativeThemeChromeos::instance() {
// The global NativeThemeChromeos instance.
- static NativeThemeChromeos s_native_theme;
+ CR_DEFINE_STATIC_LOCAL(NativeThemeChromeos, s_native_theme, ());
return &s_native_theme;
}

Powered by Google App Engine
This is Rietveld 408576698