| Index: chrome/browser/chromeos/media/media_player.cc
|
| diff --git a/chrome/browser/chromeos/media/media_player.cc b/chrome/browser/chromeos/media/media_player.cc
|
| index 76130b8e7e17b5d7f7ab14653daeb8ec06cdb118..cf0f7a15712bdaa1e3a435c94c069880cc5fb3a7 100644
|
| --- a/chrome/browser/chromeos/media/media_player.cc
|
| +++ b/chrome/browser/chromeos/media/media_player.cc
|
| @@ -18,6 +18,7 @@
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/user_metrics.h"
|
| #include "net/url_request/url_request_job.h"
|
| +#include "ui/gfx/monitor.h"
|
| #include "ui/gfx/screen.h"
|
|
|
| using content::BrowserThread;
|
| @@ -134,7 +135,7 @@ void MediaPlayer::PopupMediaPlayer(Browser* creator) {
|
| return;
|
| }
|
|
|
| - const gfx::Size screen = gfx::Screen::GetPrimaryMonitorSize();
|
| + const gfx::Size screen = gfx::Screen::GetPrimaryMonitor()->GetSize();
|
| const gfx::Rect bounds(screen.width() - kPopupRight - kPopupWidth,
|
| screen.height() - kPopupBottom - kPopupHeight,
|
| kPopupWidth,
|
|
|