summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views')
-rw-r--r--chrome/browser/views/find_bar_host_browsertest.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/chrome/browser/views/find_bar_host_browsertest.cc b/chrome/browser/views/find_bar_host_browsertest.cc
index 383ebe5..f160da0 100644
--- a/chrome/browser/views/find_bar_host_browsertest.cc
+++ b/chrome/browser/views/find_bar_host_browsertest.cc
@@ -471,14 +471,12 @@ IN_PROC_BROWSER_TEST_F(FindInPageControllerTest,
}
// Make sure Find box disappears on Navigate but not on Refresh.
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) && defined(TOOLKIT_VIEWS)
// The last EXPECT_FALSE(fully_visible) is flaky (especially on
// 64bit build.). See bug http://crbug.com/28629.
-IN_PROC_BROWSER_TEST_F(FindInPageControllerTest,
- FLAKY_FindDisappearOnNavigate) {
-#else
-IN_PROC_BROWSER_TEST_F(FindInPageControllerTest, FindDisappearOnNavigate) {
+#define FindDisappearOnNavigate FLAKY_FindDisappearOnNavigate
#endif
+IN_PROC_BROWSER_TEST_F(FindInPageControllerTest, FindDisappearOnNavigate) {
HTTPTestServer* server = StartHTTPServer();
// First we navigate to our special focus tracking page.