| Index: chrome/browser/chromeos/login/webui_screen_locker.cc
|
| diff --git a/chrome/browser/chromeos/login/webui_screen_locker.cc b/chrome/browser/chromeos/login/webui_screen_locker.cc
|
| index 4a3824db62637bc2c44360d238f19f185f540de1..511f3ef6c2a53547e53f59f1d0705b8251ea02b7 100644
|
| --- a/chrome/browser/chromeos/login/webui_screen_locker.cc
|
| +++ b/chrome/browser/chromeos/login/webui_screen_locker.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "chrome/browser/chromeos/login/webui_screen_locker.h"
|
|
|
| +#include "ash/shell.h"
|
| #include "base/command_line.h"
|
| #include "base/metrics/histogram.h"
|
| #include "base/utf_string_conversions.h"
|
| @@ -45,7 +46,7 @@ WebUIScreenLocker::WebUIScreenLocker(ScreenLocker* screen_locker)
|
| }
|
|
|
| void WebUIScreenLocker::LockScreen(bool unlock_on_input) {
|
| - gfx::Rect bounds(gfx::Screen::GetPrimaryDisplay().bounds());
|
| + gfx::Rect bounds(ash::Shell::GetAshScreen()->GetPrimaryDisplay().bounds());
|
|
|
| lock_time_ = base::TimeTicks::Now();
|
| LockWindow* lock_window = LockWindow::Create();
|
|
|