diff options
author | skyostil <skyostil@chromium.org> | 2015-06-12 11:21:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-12 18:22:20 +0000 |
commit | a3899866682a1e846fc978368b00531a0e21d266 (patch) | |
tree | ca4ac5fd794e239361dabdca6aafcc830d927102 /third_party/libaddressinput | |
parent | b2134362e27459f1098a35effedad91e2d553192 (diff) | |
download | chromium_src-a3899866682a1e846fc978368b00531a0e21d266.zip chromium_src-a3899866682a1e846fc978368b00531a0e21d266.tar.gz chromium_src-a3899866682a1e846fc978368b00531a0e21d266.tar.bz2 |
Remove remaining use of the deprecated MessageLoopProxy
This patch removes the remaining usage of MessageLoopProxy outside
base/. Note that there are still some call sites for
Thread::message_loop_proxy() and MessageLoop::message_loop_proxy() which
will be cleaned up separately.
BUG=465354
Review URL: https://codereview.chromium.org/1169923009
Cr-Commit-Position: refs/heads/master@{#334198}
Diffstat (limited to 'third_party/libaddressinput')
-rw-r--r-- | third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc b/third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc index fb7b298..ae92a76 100644 --- a/third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc +++ b/third_party/libaddressinput/chromium/chrome_metadata_source_unittest.cc @@ -4,7 +4,7 @@ #include "third_party/libaddressinput/chromium/chrome_metadata_source.h" -#include "base/message_loop/message_loop_proxy.h" +#include "base/thread_task_runner_handle.h" #include "net/url_request/test_url_fetcher_factory.h" #include "net/url_request/url_request_test_util.h" #include "testing/gtest/include/gtest/gtest.h" @@ -34,7 +34,7 @@ class ChromeMetadataSourceTest : public testing::Test { void Get() { scoped_refptr<net::TestURLRequestContextGetter> getter( new net::TestURLRequestContextGetter( - base::MessageLoopProxy::current())); + base::ThreadTaskRunnerHandle::Get())); ChromeMetadataSource impl(std::string(), getter.get()); scoped_ptr< ::i18n::addressinput::Source::Callback> callback( ::i18n::addressinput::BuildCallback( |