Index: chrome/browser/history/redirect_browsertest.cc |
diff --git a/chrome/browser/history/redirect_browsertest.cc b/chrome/browser/history/redirect_browsertest.cc |
index 022c0671e0173c4be0d9063eaff2f422c8bfbba5..fd945d842af6558be9db6c8dedacc3c7f835a6c5 100644 |
--- a/chrome/browser/history/redirect_browsertest.cc |
+++ b/chrome/browser/history/redirect_browsertest.cc |
@@ -165,7 +165,8 @@ IN_PROC_BROWSER_TEST_F(RedirectTest, ClientCancelled) { |
// otherwise, a non user-initiated in-page location change will be treated |
// as client redirect and the redirect will be recoreded, which can cause |
// this test failed. |
- content::SimulateMouseClick(web_contents); |
+ content::SimulateMouseClick(web_contents, 0, |
+ WebKit::WebMouseEvent::ButtonLeft); |
navigation_observer.Wait(); |
std::vector<GURL> redirects = GetRedirects(first_url); |