| Index: views/view.cc
|
| diff --git a/views/view.cc b/views/view.cc
|
| index 631b1cb01f2a33129080aa2f4a71b2c49726dcb5..bb25f5242b2f880af0de8e988ac523eb79c4914a 100644
|
| --- a/views/view.cc
|
| +++ b/views/view.cc
|
| @@ -843,8 +843,8 @@ TextInputClient* View::GetTextInputClient() {
|
| }
|
|
|
| InputMethod* View::GetInputMethod() {
|
| - NOTIMPLEMENTED();
|
| - return NULL;
|
| + Widget* widget = GetWidget();
|
| + return widget ? widget->GetInputMethod() : NULL;
|
| }
|
|
|
| // Accelerators ----------------------------------------------------------------
|
|
|