| Index: ui/gfx/native_theme_android.cc
|
| diff --git a/ui/gfx/native_theme_android.cc b/ui/gfx/native_theme_android.cc
|
| index 23d6cbaf4739058dc6ceda63406cb0577a42ef8f..d570f5f546a727a764787f1f01736dfd70265765 100644
|
| --- a/ui/gfx/native_theme_android.cc
|
| +++ b/ui/gfx/native_theme_android.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <limits>
|
|
|
| +#include "base/basictypes.h"
|
| #include "base/logging.h"
|
| #include "grit/gfx_resources.h"
|
| #include "third_party/skia/include/effects/SkGradientShader.h"
|
| @@ -52,8 +53,7 @@ static SkColor BrightenColor(const color_utils::HSL& hsl,
|
|
|
| // static
|
| NativeThemeAndroid* NativeThemeAndroid::instance() {
|
| - // The global NativeThemeAndroid instance.
|
| - static NativeThemeAndroid s_native_theme;
|
| + CR_DEFINE_STATIC_LOCAL(NativeThemeAndroid, s_native_theme, ());
|
| return &s_native_theme;
|
| }
|
|
|
|
|