Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(545)

Unified Diff: chrome/browser/ui/panels/panel_browsertest.cc

Issue 7796014: Make cancel remove cancelled download from active queues at time of cancel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final Cancel arg fix. Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/panels/panel_browsertest.cc
diff --git a/chrome/browser/ui/panels/panel_browsertest.cc b/chrome/browser/ui/panels/panel_browsertest.cc
index ec4661ab52d6e1a5066174990becb864dac45c3e..b060934755d1d6ef3badd46e4a3f7a9a99e30175 100644
--- a/chrome/browser/ui/panels/panel_browsertest.cc
+++ b/chrome/browser/ui/panels/panel_browsertest.cc
@@ -674,7 +674,7 @@ class DownloadObserver : public DownloadManager::Observer {
return;
EXPECT_EQ(1U, downloads.size());
- downloads.front()->Cancel(false); // Don't actually need to download it.
+ downloads.front()->Cancel(); // Don't actually need to download it.
saw_download_ = true;
EXPECT_TRUE(waiting_);

Powered by Google App Engine
This is Rietveld 408576698