Index: chrome/browser/unload_browsertest.cc |
diff --git a/chrome/browser/unload_browsertest.cc b/chrome/browser/unload_browsertest.cc |
index 9b72b335c67c5c952b7f5b3ba318f2f6a14f6da6..0b98a0024cc6380151b30b4d20c6726b84502183 100644 |
--- a/chrome/browser/unload_browsertest.cc |
+++ b/chrome/browser/unload_browsertest.cc |
@@ -395,7 +395,8 @@ IN_PROC_BROWSER_TEST_F(UnloadTest, BrowserCloseTabWhenOtherTabHasListener) { |
content::WindowedNotificationObserver load_stop_observer( |
content::NOTIFICATION_LOAD_STOP, |
content::NotificationService::AllSources()); |
- content::SimulateMouseClick(chrome::GetActiveWebContents(browser())); |
+ content::SimulateMouseClick(chrome::GetActiveWebContents(browser()), 0, |
+ WebKit::WebMouseEvent::ButtonLeft); |
observer.Wait(); |
load_stop_observer.Wait(); |
CheckTitle("popup"); |