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 616dd22bd24f9773e9d4e1abb9db263e96556a4a..245e8a56a71c038e809cff0ed565c12b2b890717 100644 |
--- a/ui/base/ime/input_method_factory.cc |
+++ b/ui/base/ime/input_method_factory.cc |
@@ -14,7 +14,7 @@ |
#include "ui/base/ime/input_method_imm32.h" |
#include "ui/base/ime/input_method_tsf.h" |
#include "ui/base/ime/remote_input_method_win.h" |
-#elif defined(USE_AURA) && defined(USE_X11) |
+#elif defined(USE_AURA) && defined(OS_LINUX) |
#include "ui/base/ime/input_method_auralinux.h" |
#else |
#include "ui/base/ime/input_method_minimal.h" |
@@ -72,7 +72,7 @@ scoped_ptr<InputMethod> DefaultInputMethodFactory::CreateInputMethod( |
if (IsRemoteInputMethodWinRequired(widget)) |
return CreateRemoteInputMethodWin(delegate); |
return scoped_ptr<InputMethod>(new InputMethodIMM32(delegate, widget)); |
-#elif defined(USE_AURA) && defined(USE_X11) |
+#elif defined(USE_AURA) && defined(OS_LINUX) |
return scoped_ptr<InputMethod>(new InputMethodAuraLinux(delegate)); |
#else |
return scoped_ptr<InputMethod>(new InputMethodMinimal(delegate)); |