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

Unified Diff: components/search_provider_logos/logo_tracker_unittest.cc

Issue 2132593002: Remove remaining calls to deprecated MessageLoop methods on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: h264_vt_encoder_unittest.cc Created 4 years, 5 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: components/search_provider_logos/logo_tracker_unittest.cc
diff --git a/components/search_provider_logos/logo_tracker_unittest.cc b/components/search_provider_logos/logo_tracker_unittest.cc
index 00fd281b30d87cd7910bac18dd255623e77b0a5a..fe8a43664e6ffba0c1377e5549a66b8317ba693c 100644
--- a/components/search_provider_logos/logo_tracker_unittest.cc
+++ b/components/search_provider_logos/logo_tracker_unittest.cc
@@ -14,12 +14,10 @@
#include "base/callback.h"
#include "base/files/file_path.h"
#include "base/json/json_writer.h"
-#include "base/location.h"
#include "base/memory/ptr_util.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_vector.h"
#include "base/run_loop.h"
-#include "base/single_thread_task_runner.h"
#include "base/strings/string_piece.h"
#include "base/strings/stringprintf.h"
#include "base/test/simple_test_clock.h"
@@ -341,7 +339,7 @@ class LogoTrackerTest : public ::testing::Test {
// after logo_tracker_'s destruction. Ensure that logo_cache_ is actually
// destructed before the test ends to make gmock happy.
delete logo_tracker_;
- message_loop_->RunUntilIdle();
+ base::RunLoop().RunUntilIdle();
}
// Returns the response that the server would send for the given logo.

Powered by Google App Engine
This is Rietveld 408576698