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

Unified Diff: content/browser/download/download_file_unittest.cc

Issue 1398153002: Don't use base::MessageLoop::{Quit,QuitClosure} in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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: content/browser/download/download_file_unittest.cc
diff --git a/content/browser/download/download_file_unittest.cc b/content/browser/download/download_file_unittest.cc
index 59cc4a766de9e7d386c6ae36908a4bf55689ba89..6b8cbdc35db535ffaac0a1afd1407e521808f6c6 100644
--- a/content/browser/download/download_file_unittest.cc
+++ b/content/browser/download/download_file_unittest.cc
@@ -778,7 +778,7 @@ TEST_F(DownloadFileTest, ConfirmUpdate) {
// Run the message loops for 750ms and check for results.
loop_.task_runner()->PostDelayedTask(FROM_HERE,
- base::MessageLoop::QuitClosure(),
+ base::MessageLoop::QuitWhenIdleClosure(),
base::TimeDelta::FromMilliseconds(750));
loop_.Run();
« no previous file with comments | « content/browser/download/download_browsertest.cc ('k') | content/browser/download/drag_download_file_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698