Chromium Code Reviews| Index: views/view.cc |
| diff --git a/views/view.cc b/views/view.cc |
| index 18201f9b58364240e1826817fbb087415a78ec2f..a3a28535fc1508c2da358dd0b7b2c9bfd7c441ca 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 ---------------------------------------------------------------- |