| Index: chrome/browser/chromeos/login/lock_window_aura.cc
|
| diff --git a/chrome/browser/chromeos/login/lock_window_aura.cc b/chrome/browser/chromeos/login/lock_window_aura.cc
|
| index 409f3538006add9351f62384975697ac97d7aca7..52a28f5f359563093eeffb21143b2bb750bcc785 100644
|
| --- a/chrome/browser/chromeos/login/lock_window_aura.cc
|
| +++ b/chrome/browser/chromeos/login/lock_window_aura.cc
|
| @@ -41,11 +41,12 @@ void LockWindowAura::Init() {
|
| views::Widget::InitParams params(
|
| views::Widget::InitParams::TYPE_WINDOW_FRAMELESS);
|
| params.bounds = gfx::Rect(aura::RootWindow::GetInstance()->GetHostSize());
|
| + views::Widget::Init(params);
|
| // TODO(flackr): Use a property to specify this container rather than
|
| // depending on shell implementation.
|
| - params.parent = aura_shell::Shell::GetInstance()->GetContainer(
|
| - aura_shell::internal::kShellWindowId_LockScreenContainer);
|
| - views::Widget::Init(params);
|
| + aura_shell::Shell::GetInstance()->GetContainer(
|
| + aura_shell::internal::kShellWindowId_LockScreenContainer)->
|
| + AddChild(GetNativeView());
|
| }
|
|
|
| } // namespace chromeos
|
|
|