| 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 f5cecf843f7dbc47ccfea60b1a3822e01cf0d21b..0dd129f206bd7317ac8b1251a4f8f8471e8ebebd 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::GetScreen()->GetPrimaryDisplay().bounds());
|
|
|
| lock_time_ = base::TimeTicks::Now();
|
| LockWindow* lock_window = LockWindow::Create();
|
|
|