Index: chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm |
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm b/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm |
index 5c568a27cadf621480e6bc448fe57ca53ff8095e..93810f3afe2b1c0b23f10836a811a60c807f3217 100644 |
--- a/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm |
+++ b/chrome/browser/ui/cocoa/profiles/avatar_button_controller.mm |
@@ -120,7 +120,7 @@ NSImage* GetImageFromResourceID(int resourceId) { |
if ((self = [super initWithBrowser:browser])) { |
ThemeService* themeService = |
ThemeServiceFactory::GetForProfile(browser->profile()); |
- isThemedWindow_ = !themeService->UsingNativeTheme(); |
+ isThemedWindow_ = !themeService->UsingSystemTheme(); |
HoverImageButton* hoverButton = |
[[HoverImageButton alloc] initWithFrame:NSZeroRect]; |
@@ -169,7 +169,7 @@ NSImage* GetImageFromResourceID(int resourceId) { |
// Redraw the button if the window has switched between themed and native. |
ThemeService* themeService = |
ThemeServiceFactory::GetForProfile(browser_->profile()); |
- BOOL updatedIsThemedWindow = !themeService->UsingNativeTheme(); |
+ BOOL updatedIsThemedWindow = !themeService->UsingSystemTheme(); |
if (isThemedWindow_ != updatedIsThemedWindow) { |
isThemedWindow_ = updatedIsThemedWindow; |
[[button_ cell] setIsThemedWindow:isThemedWindow_]; |