| Index: chrome/browser/chromeos/login/helper.cc
|
| diff --git a/chrome/browser/chromeos/login/helper.cc b/chrome/browser/chromeos/login/helper.cc
|
| index c7350f758227f0da22076ce72aa4d185604ee0c4..503773785127e90380be9561e072c6d9354fcf1e 100644
|
| --- a/chrome/browser/chromeos/login/helper.cc
|
| +++ b/chrome/browser/chromeos/login/helper.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "chrome/browser/chromeos/login/helper.h"
|
|
|
| +#include "ash/shell.h"
|
| #include "base/command_line.h"
|
| #include "base/file_util.h"
|
| #include "base/utf_string_conversions.h"
|
| @@ -57,7 +58,7 @@ views::Throbber* CreateDefaultThrobber() {
|
| }
|
|
|
| gfx::Rect CalculateScreenBounds(const gfx::Size& size) {
|
| - gfx::Rect bounds(gfx::Screen::GetPrimaryDisplay().bounds());
|
| + gfx::Rect bounds(ash::Shell::GetScreen()->GetPrimaryDisplay().bounds());
|
| if (!size.IsEmpty()) {
|
| int horizontal_diff = bounds.width() - size.width();
|
| int vertical_diff = bounds.height() - size.height();
|
|
|