| 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 4708045d22157cddc49d7ea34046982312215f9e..ea5c5123774336ae0046563cb52b423b9f727e70 100644
|
| --- a/chrome/browser/download/download_request_limiter_unittest.cc
|
| +++ b/chrome/browser/download/download_request_limiter_unittest.cc
|
| @@ -496,8 +496,8 @@ TEST_F(DownloadRequestLimiterTest, DownloadRequestLimiter_ResetOnUserGesture) {
|
| ASSERT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD,
|
| download_request_limiter_->GetDownloadStatus(web_contents()));
|
|
|
| - // Do a user gesture with gesture tap, which should reset back to allow one.
|
| - OnUserInteraction(blink::WebInputEvent::GestureTapDown);
|
| + // Do a touch event, which should reset back to allow one.
|
| + OnUserInteraction(blink::WebInputEvent::TouchStart);
|
| ASSERT_EQ(DownloadRequestLimiter::ALLOW_ONE_DOWNLOAD,
|
| download_request_limiter_->GetDownloadStatus(web_contents()));
|
|
|
| @@ -611,7 +611,7 @@ TEST_F(DownloadRequestLimiterTest, DownloadRequestLimiter_RawWebContents) {
|
| EXPECT_EQ(DownloadRequestLimiter::PROMPT_BEFORE_DOWNLOAD,
|
| download_request_limiter_->GetDownloadStatus(web_contents.get()));
|
| OnUserInteractionFor(web_contents.get(),
|
| - blink::WebInputEvent::GestureTapDown);
|
| + blink::WebInputEvent::TouchStart);
|
| EXPECT_EQ(DownloadRequestLimiter::ALLOW_ONE_DOWNLOAD,
|
| download_request_limiter_->GetDownloadStatus(web_contents.get()));
|
| CanDownloadFor(web_contents.get());
|
|
|