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

Unified Diff: third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc

Issue 2107163003: Remove calls to deprecated MessageLoop methods in third_party. (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: third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc
diff --git a/third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc b/third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc
index 4e52855de97cd0e96ca36ba3361a1c187d528384..bd34c670581c9ff7657ab89b48932741c75f7075 100644
--- a/third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc
+++ b/third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc
@@ -4,6 +4,7 @@
#include "third_party/libaddressinput/chromium/chrome_metadata_source.h"
+#include "base/run_loop.h"
#include "base/threading/thread_task_runner_handle.h"
#include "net/url_request/test_url_fetcher_factory.h"
#include "net/url_request/url_request_test_util.h"
@@ -40,7 +41,7 @@ class ChromeMetadataSourceTest : public testing::Test {
::i18n::addressinput::BuildCallback(
this, &ChromeMetadataSourceTest::OnDownloaded));
impl.Get(url_.spec(), *callback);
- base::MessageLoop::current()->RunUntilIdle();
+ base::RunLoop().RunUntilIdle();
}
void set_url(const GURL& url) { url_ = url; }
« no previous file with comments | « third_party/libaddressinput/chromium/chrome_address_validator.cc ('k') | third_party/zlib/google/zip_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698