| Index: chrome/browser/chromeos/input_method/ibus_controller_impl.cc
|
| diff --git a/chrome/browser/chromeos/input_method/ibus_controller_impl.cc b/chrome/browser/chromeos/input_method/ibus_controller_impl.cc
|
| index 13e4f947d64f411e195475ebbbb97605e0c3ca36..7a2d7cf10e44ce26e5212a0433963b75d58c0c7f 100644
|
| --- a/chrome/browser/chromeos/input_method/ibus_controller_impl.cc
|
| +++ b/chrome/browser/chromeos/input_method/ibus_controller_impl.cc
|
| @@ -246,7 +246,9 @@ void IBusControllerImpl::Reset() {
|
| return;
|
| IBusInputContextClient* client
|
| = DBusThreadManager::Get()->GetIBusInputContextClient();
|
| - if (client)
|
| + // We don't need to call Reset if there is no on-going input context, because
|
| + // the input context will be reset at initialization.
|
| + if (client && client->IsObjectProxyReady())
|
| client->Reset();
|
| }
|
|
|
|
|