diff options
author | yukishiino@chromium.org <yukishiino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-20 19:18:08 +0000 |
---|---|---|
committer | yukishiino@chromium.org <yukishiino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-20 19:18:08 +0000 |
commit | 60740513788fc4c870e0f120f3246a8db30ebfa8 (patch) | |
tree | 1f9deae7302f38e54aaa49516251cf03c9d9ee61 /content/public | |
parent | e710476c0c796591dba6eb8aafcce7392f5cd51a (diff) | |
download | chromium_src-60740513788fc4c870e0f120f3246a8db30ebfa8.zip chromium_src-60740513788fc4c870e0f120f3246a8db30ebfa8.tar.gz chromium_src-60740513788fc4c870e0f120f3246a8db30ebfa8.tar.bz2 |
Fixes content_browsertests with --enable-text-input-focus-manager flag enabled.
Some tests in content_browsertests are broken if --enable-text-input-focus-manager is enabled. Fix those tests.
Since not all unittests run wm::FocusController::SetFocusedWindow, it turned out that we need WMTestHelper (instead of FocusController) to clear the text input client.
BUG=290701
TEST=Run content_browsertests with --enable-text-input-focus-manager enabled.
Review URL: https://codereview.chromium.org/340413002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278793 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public')
-rw-r--r-- | content/public/test/content_browser_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/public/test/content_browser_test.cc b/content/public/test/content_browser_test.cc index 73fc7ca..aa4c44a 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 |