| Index: chrome/browser/ui/views/screen_capture_notification_ui_views.cc
|
| diff --git a/chrome/browser/ui/views/screen_capture_notification_ui_views.cc b/chrome/browser/ui/views/screen_capture_notification_ui_views.cc
|
| index 03e0ef7d651af2e2165e3ca9fc796acaa82dae0d..0851a9f80b24f8911c2c7f9d331d1ea573ff4e01 100644
|
| --- a/chrome/browser/ui/views/screen_capture_notification_ui_views.cc
|
| +++ b/chrome/browser/ui/views/screen_capture_notification_ui_views.cc
|
| @@ -195,7 +195,7 @@ gfx::NativeViewId ScreenCaptureNotificationUIViews::OnStarted(
|
| set_background(views::Background::CreateSolidBackground(GetNativeTheme()->
|
| GetSystemColor(ui::NativeTheme::kColorId_DialogBackground)));
|
|
|
| - gfx::Screen* screen = gfx::Screen::GetNativeScreen();
|
| + gfx::Screen* screen = gfx::Screen::GetScreen();
|
| // TODO(sergeyu): Move the notification to the display being captured when
|
| // per-display screen capture is supported.
|
| gfx::Rect work_area = screen->GetPrimaryDisplay().work_area();
|
|
|