| Index: content/browser/download/download_browsertest.cc
|
| diff --git a/content/browser/download/download_browsertest.cc b/content/browser/download/download_browsertest.cc
|
| index f535d1846af250bcfe3462f9f577b886612ec8c7..3427eb59ac5353dcfe265615aab0176d844b2002 100644
|
| --- a/content/browser/download/download_browsertest.cc
|
| +++ b/content/browser/download/download_browsertest.cc
|
| @@ -701,7 +701,7 @@ IN_PROC_BROWSER_TEST_F(DownloadContentTest, DownloadCancelled) {
|
| ASSERT_EQ(DownloadItem::IN_PROGRESS, downloads[0]->GetState());
|
|
|
| // Cancel the download and wait for download system quiesce.
|
| - downloads[0]->Delete(DownloadItem::DELETE_DUE_TO_USER_DISCARD);
|
| + downloads[0]->Cancel(true);
|
| scoped_refptr<DownloadTestFlushObserver> flush_observer(
|
| new DownloadTestFlushObserver(DownloadManagerForShell(shell())));
|
| flush_observer->WaitForFlush();
|
|
|