Index: chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm |
diff --git a/chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm b/chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm |
index 8b4a10439df7a53036759dd3fb68ee20ac62e7fe..5953fb9f92ee269ae6b21e1c6a7e7d46b7592380 100644 |
--- a/chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm |
+++ b/chrome/browser/ui/cocoa/screen_capture_notification_ui_cocoa.mm |
@@ -24,6 +24,7 @@ |
#include "ui/gfx/image/image_skia_util_mac.h" |
#include "ui/gfx/text_elider.h" |
#include "ui/native_theme/native_theme.h" |
+#include "ui/native_theme/native_theme_mac.h" |
const CGFloat kMinimumWidth = 460; |
const CGFloat kMaximumWidth = 1000; |
@@ -236,7 +237,7 @@ scoped_ptr<ScreenCaptureNotificationUI> ScreenCaptureNotificationUI::Create( |
@implementation ScreenCaptureNotificationView |
- (void)drawRect:(NSRect)dirtyRect { |
- [gfx::SkColorToSRGBNSColor(ui::NativeTheme::instance()->GetSystemColor( |
+ [gfx::SkColorToSRGBNSColor(ui::NativeThemeMac::instance()->GetSystemColor( |
ui::NativeTheme::kColorId_DialogBackground)) set]; |
[[NSBezierPath bezierPathWithRoundedRect:[self bounds] |
xRadius:kWindowCornerRadius |