Index: content/public/test/content_browser_test.cc |
diff --git a/content/public/test/content_browser_test.cc b/content/public/test/content_browser_test.cc |
index 73fc7cadf186534dc96da985fd36063cb80f5c7a..aa4c44a1766f727aa92f237b103c30eca69e4103 100644 |
--- a/content/public/test/content_browser_test.cc |
+++ b/content/public/test/content_browser_test.cc |
@@ -104,7 +104,7 @@ void ContentBrowserTest::TearDown() { |
BrowserTestBase::TearDown(); |
// LinuxInputMethodContextFactory has to be shutdown. |
-#if !defined(OS_CHROMEOS) && defined(USE_AURA) && defined(USE_X11) |
+#if !defined(OS_CHROMEOS) && defined(OS_LINUX) |
ui::ShutdownInputMethodForTesting(); |
#endif |