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

Unified Diff: chrome/browser/download/download_status_updater_unittest.cc

Issue 2083363002: Remove calls to deprecated MessageLoop methods in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/download/download_status_updater_unittest.cc
diff --git a/chrome/browser/download/download_status_updater_unittest.cc b/chrome/browser/download/download_status_updater_unittest.cc
index 7cc2334fc5063d5090f307e8644002f452e23862..ccfa800a6bb931bba028ca9553427f3ad358e9fc 100644
--- a/chrome/browser/download/download_status_updater_unittest.cc
+++ b/chrome/browser/download/download_status_updater_unittest.cc
@@ -7,6 +7,7 @@
#include "base/memory/scoped_vector.h"
#include "base/memory/weak_ptr.h"
#include "base/message_loop/message_loop.h"
+#include "base/run_loop.h"
#include "base/stl_util.h"
#include "chrome/browser/download/download_status_updater.h"
#include "content/public/test/mock_download_item.h"
@@ -66,7 +67,7 @@ class DownloadStatusUpdaterTest : public testing::Test {
it != manager_items_.end(); ++it)
STLDeleteContainerPointers(it->begin(), it->end());
- loop_.RunUntilIdle(); // Allow DownloadManager destruction.
+ base::RunLoop().RunUntilIdle(); // Allow DownloadManager destruction.
}
protected:

Powered by Google App Engine
This is Rietveld 408576698