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

Unified Diff: ui/gfx/native_theme_gtk.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_gtk.cc
diff --git a/ui/gfx/native_theme_gtk.cc b/ui/gfx/native_theme_gtk.cc
index 00ddc5f438650c4b2a88cf6ae8ce4f77bc256441..60b1449c16467b1012acc82b3200495d4f898bd1 100644
--- a/ui/gfx/native_theme_gtk.cc
+++ b/ui/gfx/native_theme_gtk.cc
@@ -13,7 +13,7 @@ const NativeTheme* NativeTheme::instance() {
// static
const NativeThemeGtk* NativeThemeGtk::instance() {
- static const NativeThemeGtk s_native_theme;
+ CR_DEFINE_STATIC_LOCAL(NativeThemeGtk, s_native_theme, ());
return &s_native_theme;
}

Powered by Google App Engine
This is Rietveld 408576698