Index: chrome/browser/ui/cocoa/spinner_view.mm |
diff --git a/chrome/browser/ui/cocoa/spinner_view.mm b/chrome/browser/ui/cocoa/spinner_view.mm |
index 0134050621d78595d5040852fc6797f2968d8d1e..69f7b0c33632ccaa8b46c9d5f54a3eb3d7e04a06 100644 |
--- a/chrome/browser/ui/cocoa/spinner_view.mm |
+++ b/chrome/browser/ui/cocoa/spinner_view.mm |
@@ -12,6 +12,7 @@ |
#include "skia/ext/skia_utils_mac.h" |
#include "ui/base/theme_provider.h" |
#include "ui/native_theme/native_theme.h" |
+#include "ui/native_theme/native_theme_mac.h" |
namespace { |
const CGFloat kDegrees90 = (M_PI / 2); |
@@ -117,7 +118,7 @@ NSString* const kRotationAnimationName = @"RotationAnimationName"; |
[shapeLayer_ setLineCap:kCALineCapRound]; |
[shapeLayer_ setLineDashPattern:@[ @(kArcLength * scaleFactor) ]]; |
[shapeLayer_ setFillColor:NULL]; |
- ui::NativeTheme* nativeTheme = ui::NativeTheme::instance(); |
+ ui::NativeTheme* nativeTheme = ui::NativeThemeMac::instance(); |
SkColor throbberBlueColor = nativeTheme->GetSystemColor( |
ui::NativeTheme::kColorId_ThrobberSpinningColor); |
CGColorRef blueColor = gfx::CGColorCreateFromSkColor(throbberBlueColor); |