Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: ui/base/ime/input_method_factory.cc

Issue 158483003: Logically revert r206996, which is no longer used in the era of Aura (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/ime/input_method_factory.h ('k') | ui/base/ime/input_method_initializer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/base/ime/input_method_factory.h ('k') | ui/base/ime/input_method_initializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698