Index: chrome/browser/ui/cocoa/autofill/new_credit_card_bubble_cocoa.mm |
diff --git a/chrome/browser/ui/cocoa/autofill/new_credit_card_bubble_cocoa.mm b/chrome/browser/ui/cocoa/autofill/new_credit_card_bubble_cocoa.mm |
index b9d8b0c9ce5b28fe6bfd9fad9b4017a23465b5d0..6bfa92253a80c6d4d05bf84f7a1eb9b18aef57f7 100644 |
--- a/chrome/browser/ui/cocoa/autofill/new_credit_card_bubble_cocoa.mm |
+++ b/chrome/browser/ui/cocoa/autofill/new_credit_card_bubble_cocoa.mm |
@@ -20,6 +20,7 @@ |
#import "ui/base/cocoa/controls/hyperlink_button_cell.h" |
#include "ui/base/cocoa/window_size_constants.h" |
#include "ui/native_theme/native_theme.h" |
+#include "ui/native_theme/native_theme_mac.h" |
namespace { |
@@ -85,7 +86,7 @@ const CGFloat kAnchorlessTopPadding = 10; |
controller_ = controller; |
[window setInfoBubbleCanBecomeKeyWindow:NO]; |
- ui::NativeTheme* nativeTheme = ui::NativeTheme::instance(); |
+ ui::NativeTheme* nativeTheme = ui::NativeThemeMac::instance(); |
[[self bubble] setBackgroundColor: |
gfx::SkColorToCalibratedNSColor(nativeTheme->GetSystemColor( |
ui::NativeTheme::kColorId_DialogBackground))]; |