| Index: chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm b/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm
|
| index 9945572cfb4820ca03a73dc4827ac8ceb980e1c6..4fd6138c5e70ce9daa4fcddcf92ffc424a25ad5b 100644
|
| --- a/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm
|
| @@ -109,8 +109,7 @@ class FullscreenObserver : public WebContentsObserver {
|
| // windows or opening new tabs), so ensure that the flash be the theme
|
| // background color in those cases.
|
| NSColor* backgroundColor = nil;
|
| - ThemeService* const theme =
|
| - static_cast<ThemeService*>([[self window] themeProvider]);
|
| + ui::ThemeProvider* const theme = [[self window] themeProvider];
|
| if (theme)
|
| backgroundColor = theme->GetNSColor(ThemeProperties::COLOR_NTP_BACKGROUND);
|
| if (!backgroundColor)
|
|
|