Index: content/browser/web_contents/web_contents_view_aura_browsertest.cc |
diff --git a/content/browser/web_contents/web_contents_view_aura_browsertest.cc b/content/browser/web_contents/web_contents_view_aura_browsertest.cc |
index 685097e5f0851c0190c5ab57e836623ec5bac6a8..673db0f77c665d549c913b049f93b6d92d1c5c67 100644 |
--- a/content/browser/web_contents/web_contents_view_aura_browsertest.cc |
+++ b/content/browser/web_contents/web_contents_view_aura_browsertest.cc |
@@ -267,9 +267,14 @@ class WebContentsViewAuraTest : public ContentBrowserTest { |
DISALLOW_COPY_AND_ASSIGN(WebContentsViewAuraTest); |
}; |
-// Flaky on Windows and ChromeOS: http://crbug.com/305722 |
-IN_PROC_BROWSER_TEST_F(WebContentsViewAuraTest, |
- DISABLED_OverscrollNavigation) { |
+// Flaky on Windows: http://crbug.com/305722 |
+#if defined(OS_WIN) |
+#define MAYBE_OverscrollNavigation DISABLED_OverscrollNavigation |
+#else |
+#define MAYBE_OverscrollNavigation OverscrollNavigation |
+#endif |
+ |
+IN_PROC_BROWSER_TEST_F(WebContentsViewAuraTest, MAYBE_OverscrollNavigation) { |
TestOverscrollNavigation(false); |
} |
@@ -377,9 +382,15 @@ IN_PROC_BROWSER_TEST_F(WebContentsViewAuraTest, |
// - interactively, when user does an overscroll gesture |
// - interactively, when user navigates in history without the overscroll |
// gesture. |
-// Flaky on Windows and ChromeOS (http://crbug.com/357311). Might be related to |
+// Flaky on Windows (http://crbug.com/357311). Might be related to |
// OverscrollNavigation test. |
-IN_PROC_BROWSER_TEST_F(WebContentsViewAuraTest, DISABLED_OverscrollScreenshot) { |
+#if defined(OS_WIN) |
+#define MAYBE_OverscrollScreenshot DISABLED_OverscrollScreenshot |
+#else |
+#define MAYBE_OverscrollScreenshot OverscrollScreenshot |
+#endif |
+ |
+IN_PROC_BROWSER_TEST_F(WebContentsViewAuraTest, MAYBE_OverscrollScreenshot) { |
// Disable the test for WinXP. See http://crbug/294116. |
#if defined(OS_WIN) |
if (base::win::GetVersion() < base::win::VERSION_VISTA) { |