| Index: ui/views/widget/native_widget_aura.cc
|
| ===================================================================
|
| --- ui/views/widget/native_widget_aura.cc (revision 152769)
|
| +++ ui/views/widget/native_widget_aura.cc (working copy)
|
| @@ -339,11 +339,13 @@
|
| aura::RootWindow* root_window = window_->GetRootWindow();
|
| ui::InputMethod* host =
|
| root_window->GetProperty(aura::client::kRootWindowInputMethodKey);
|
| - InputMethod* input_method = new InputMethodBridge(this, host);
|
| - input_method->Init(GetWidget());
|
| - return input_method;
|
| + return new InputMethodBridge(this, host);
|
| }
|
|
|
| +internal::InputMethodDelegate* NativeWidgetAura::GetInputMethodDelegate() {
|
| + return this;
|
| +}
|
| +
|
| void NativeWidgetAura::CenterWindow(const gfx::Size& size) {
|
| gfx::Rect parent_bounds(window_->parent()->GetBoundsInRootWindow());
|
| // When centering window, we take the intersection of the host and
|
|
|