Chromium Code Reviews| Index: views/view.cc |
| diff --git a/views/view.cc b/views/view.cc |
| index d41a856356890fd0c4adcce7800f596f497d69ac..3f5f5bd350400fa7e0475f62fe42a2239b563ebe 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 ---------------------------------------------------------------- |