| Index: ui/gfx/native_theme_win.cc
|
| diff --git a/ui/gfx/native_theme_win.cc b/ui/gfx/native_theme_win.cc
|
| index 059f3bbe8f8707db0020f9dca53a5b3dd799a981..9114e354b1a8d7b3e6933938da3abb8b675b44fd 100644
|
| --- a/ui/gfx/native_theme_win.cc
|
| +++ b/ui/gfx/native_theme_win.cc
|
| @@ -9,6 +9,7 @@
|
| #include <vsstyle.h>
|
| #include <vssym32.h>
|
|
|
| +#include "base/basictypes.h"
|
| #include "base/logging.h"
|
| #include "base/memory/scoped_handle.h"
|
| #include "base/memory/scoped_ptr.h"
|
| @@ -65,8 +66,7 @@ const NativeTheme* NativeTheme::instance() {
|
|
|
| // static
|
| const NativeThemeWin* NativeThemeWin::instance() {
|
| - // The global NativeThemeWin instance.
|
| - static const NativeThemeWin s_native_theme;
|
| + CR_DEFINE_STATIC_LOCAL(NativeThemeWin, s_native_theme, ());
|
| return &s_native_theme;
|
| }
|
|
|
|
|