| Index: chrome/browser/ui/views/keyboard_overlay_dialog_view.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/keyboard_overlay_dialog_view.cc (revision 133279)
|
| +++ chrome/browser/ui/views/keyboard_overlay_dialog_view.cc (working copy)
|
| @@ -92,13 +92,12 @@
|
| delegate,
|
| parent_view);
|
| delegate->set_view(html_view);
|
| - html_view->InitDialog();
|
| browser::CreateFramelessViewsWindow(owning_window, html_view);
|
| // Show the widget at the bottom of the work area.
|
| gfx::Size size;
|
| delegate->GetDialogSize(&size);
|
| gfx::Rect rect = gfx::Screen::GetMonitorWorkAreaNearestWindow(
|
| - html_view->native_view());
|
| + html_view->GetWidget()->GetNativeView());
|
| gfx::Rect bounds((rect.width() - size.width()) / 2,
|
| rect.height() - size.height(),
|
| size.width(),
|
|
|