| Index: chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| index c02c58faca1a437475125eff09943edccbf4f185..7c84ab83571dc63c900fdbbcd86aa6f896aef1af 100644
|
| --- a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| @@ -2358,8 +2358,7 @@ NSImage* Overlay(NSImage* ground, NSImage* overlay, CGFloat alpha) {
|
| }
|
|
|
| - (void)setNewTabImages {
|
| - ThemeService *theme =
|
| - static_cast<ThemeService*>([[tabStripView_ window] themeProvider]);
|
| + ui::ThemeProvider* theme = [[tabStripView_ window] themeProvider];
|
| if (!theme)
|
| return;
|
|
|
| @@ -2380,7 +2379,7 @@ NSImage* Overlay(NSImage* ground, NSImage* overlay, CGFloat alpha) {
|
| forButtonState:image_button_cell::kPressedState];
|
|
|
| // IDR_THEME_TAB_BACKGROUND_INACTIVE is only used with the default theme.
|
| - if (theme->UsingDefaultTheme()) {
|
| + if (theme->UsingSystemTheme()) {
|
| const CGFloat alpha = tabs::kImageNoFocusAlpha;
|
| NSImage* background = ApplyMask(
|
| theme->GetNSImageNamed(IDR_THEME_TAB_BACKGROUND_INACTIVE), mask);
|
|
|