| Index: chrome/browser/ui/cocoa/styled_text_field_cell.mm
|
| diff --git a/chrome/browser/ui/cocoa/styled_text_field_cell.mm b/chrome/browser/ui/cocoa/styled_text_field_cell.mm
|
| index e0732700360ea3ea2f7450096f5a8bc100dba6f2..a7353c0dc395077e904ded8162dfdedcb37fe906 100644
|
| --- a/chrome/browser/ui/cocoa/styled_text_field_cell.mm
|
| +++ b/chrome/browser/ui/cocoa/styled_text_field_cell.mm
|
| @@ -90,8 +90,7 @@
|
|
|
| // Paint button background image if there is one (otherwise the border won't
|
| // look right).
|
| - ThemeService* themeProvider =
|
| - static_cast<ThemeService*>([[controlView window] themeProvider]);
|
| + ui::ThemeProvider* themeProvider = [[controlView window] themeProvider];
|
| if (themeProvider) {
|
| NSColor* backgroundImageColor = nil;
|
| if (themeProvider->HasCustomImage(IDR_THEME_BUTTON_BACKGROUND)) {
|
| @@ -148,8 +147,7 @@
|
|
|
| // Draw optional bezel below bottom stroke.
|
| if ([self shouldDrawBezel] && themeProvider &&
|
| - themeProvider->UsingDefaultTheme()) {
|
| -
|
| + themeProvider->UsingSystemTheme()) {
|
| NSColor* bezelColor = themeProvider->GetNSColor(
|
| ThemeProperties::COLOR_TOOLBAR_BEZEL);
|
| [[bezelColor colorWithAlphaComponent:0.5 / lineWidth] set];
|
|
|