| Index: ui/base/ime/input_method_factory.cc
|
| diff --git a/ui/base/ime/input_method_factory.cc b/ui/base/ime/input_method_factory.cc
|
| index 0f000f6387c00d098ba35d3133cbb93e9d2eae2d..e79e5636b2541df1c10ea01e9c8af33193a6ffaf 100644
|
| --- a/ui/base/ime/input_method_factory.cc
|
| +++ b/ui/base/ime/input_method_factory.cc
|
| @@ -58,6 +58,9 @@ scoped_ptr<InputMethod> CreateInputMethod(
|
| }
|
|
|
| void SetUpInputMethodFactoryForTesting() {
|
| + if (g_input_method_set_for_testing)
|
| + return;
|
| +
|
| CHECK(!g_create_input_method_called)
|
| << "ui::SetUpInputMethodFactoryForTesting was called after use of "
|
| << "ui::CreateInputMethod. You must call "
|
|
|