| Index: chrome/browser/ui/panels/panel_and_desktop_notification_browsertest.cc
|
| diff --git a/chrome/browser/ui/panels/panel_and_desktop_notification_browsertest.cc b/chrome/browser/ui/panels/panel_and_desktop_notification_browsertest.cc
|
| index 1e9f54a536083cb40f62a7b8acd0dd775902f1b0..ae2f83e621ea82b6c422c436e5a2fb8866b7df2b 100644
|
| --- a/chrome/browser/ui/panels/panel_and_desktop_notification_browsertest.cc
|
| +++ b/chrome/browser/ui/panels/panel_and_desktop_notification_browsertest.cc
|
| @@ -88,7 +88,7 @@ class PanelAndDesktopNotificationTest : public BasePanelBrowserTest {
|
| // 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();
|
|
|