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

Unified Diff: content/browser/download/drag_download_file_browsertest.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/drag_download_file_browsertest.cc
diff --git a/content/browser/download/drag_download_file_browsertest.cc b/content/browser/download/drag_download_file_browsertest.cc
index e6a85159b574711c25b5b8208aed1a1aca011627..ec0d4b6f6894470c4a018c5c6e25cb0827fa8246 100644
--- a/content/browser/download/drag_download_file_browsertest.cc
+++ b/content/browser/download/drag_download_file_browsertest.cc
@@ -51,9 +51,9 @@ class DragDownloadFileTest : public ContentBrowserTest {
~DragDownloadFileTest() override {}
void Succeed() {
- BrowserThread::PostTask(BrowserThread::UI,
- FROM_HERE,
- base::MessageLoopForUI::current()->QuitClosure());
+ BrowserThread::PostTask(
+ BrowserThread::UI, FROM_HERE,
+ base::MessageLoopForUI::current()->QuitWhenIdleClosure());
}
void FailFast() {
« no previous file with comments | « content/browser/download/download_file_unittest.cc ('k') | content/browser/download/mhtml_generation_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698