summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/find_bar_host_interactive_uitest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/find_bar_host_interactive_uitest.cc')
-rw-r--r--chrome/browser/views/find_bar_host_interactive_uitest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/find_bar_host_interactive_uitest.cc b/chrome/browser/views/find_bar_host_interactive_uitest.cc
index 9636a89..2933ad39 100644
--- a/chrome/browser/views/find_bar_host_interactive_uitest.cc
+++ b/chrome/browser/views/find_bar_host_interactive_uitest.cc
@@ -106,7 +106,7 @@ IN_PROC_BROWSER_TEST_F(FindInPageTest, CrashEscHandlers) {
// Click on the location bar so that Find box loses focus.
ClickOnView(VIEW_ID_LOCATION_BAR);
-#if defined(OS_WIN)
+#if defined(TOOLKIT_VIEWS) || defined(OS_WIN)
// Check the location bar is focused.
EXPECT_EQ(VIEW_ID_LOCATION_BAR, GetFocusedViewID());
#endif