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 07289a4bc0916191b40e858b6a73546a0449e633..b29f61600fd79e96f8fce5821ea1b873cf202c1c 100644 |
--- a/ui/base/ime/input_method_factory.cc |
+++ b/ui/base/ime/input_method_factory.cc |
@@ -24,10 +24,6 @@ bool g_input_method_set_for_testing = false; |
bool g_create_input_method_called = false; |
-#if defined(OS_WIN) |
-ui::InputMethod* g_shared_input_method = NULL; |
-#endif |
- |
} // namespace |
namespace ui { |
@@ -66,21 +62,4 @@ void SetUpInputMethodFactoryForTesting() { |
g_input_method_set_for_testing = true; |
} |
-#if defined(OS_WIN) |
-InputMethod* GetSharedInputMethod() { |
- if (!g_shared_input_method) |
- g_shared_input_method = CreateInputMethod(NULL, NULL).release(); |
- return g_shared_input_method; |
-} |
- |
-namespace internal { |
- |
-void DestroySharedInputMethod() { |
- delete g_shared_input_method; |
- g_shared_input_method = NULL; |
-} |
- |
-} // namespace internal |
-#endif |
- |
} // namespace ui |