| Index: chrome/browser/ui/panels/old_panel_and_desktop_notification_browsertest.cc
|
| diff --git a/chrome/browser/ui/panels/old_panel_and_desktop_notification_browsertest.cc b/chrome/browser/ui/panels/old_panel_and_desktop_notification_browsertest.cc
|
| index 0bb710a85d79f6dfdc82a8bed3b7829dad75dc27..155121dc0897dda065737358a93d3a7883675978 100644
|
| --- a/chrome/browser/ui/panels/old_panel_and_desktop_notification_browsertest.cc
|
| +++ b/chrome/browser/ui/panels/old_panel_and_desktop_notification_browsertest.cc
|
| @@ -84,7 +84,7 @@ class OldPanelAndDesktopNotificationTest : public OldBasePanelBrowserTest {
|
| // The position returned by the notification balloon is based on Mac's
|
| // vertically inverted orientation. We need to flip it so that it can
|
| // be compared against the position returned by the panel.
|
| - gfx::Size screen_size = gfx::Screen::GetPrimaryMonitor().size();
|
| + gfx::Size screen_size = gfx::Screen::GetPrimaryDisplay().size();
|
| return screen_size.height() - balloon->GetPosition().y();
|
| #else
|
| return balloon->GetPosition().y() + balloon->GetViewSize().height();
|
|
|