Index: chrome/browser/download/download_request_limiter_unittest.cc |
diff --git a/chrome/browser/download/download_request_limiter_unittest.cc b/chrome/browser/download/download_request_limiter_unittest.cc |
index fae7e0a7d12d564c7010aaae11b99521d5a649e2..bb70fc59b906d32710189a43db5e64562bcebda5 100644 |
--- a/chrome/browser/download/download_request_limiter_unittest.cc |
+++ b/chrome/browser/download/download_request_limiter_unittest.cc |
@@ -356,8 +356,8 @@ TEST_F(DownloadRequestLimiterTest, DownloadRequestLimiter_ResetOnUserGesture) { |
ASSERT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD, |
download_request_limiter_->GetDownloadStatus(web_contents())); |
- // Do a user gesture with mouse scroll, which should be ignored. |
- OnUserInteraction(blink::WebInputEvent::MouseWheel); |
+ // Do a user gesture with scroll, which should be ignored. |
+ OnUserInteraction(blink::WebInputEvent::GestureScrollBegin); |
ASSERT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD, |
download_request_limiter_->GetDownloadStatus(web_contents())); |
// Do a user gesture with mouse click, which should reset back to allow one. |