Index: third_party/libaddressinput/chromium/chrome_address_validator.cc |
diff --git a/third_party/libaddressinput/chromium/chrome_address_validator.cc b/third_party/libaddressinput/chromium/chrome_address_validator.cc |
index ef11a62fb1c818c77e6613710bd2ab8041ca4b31..f1f9f0eeb9af5e78445b39d54d213c100308cd11 100644 |
--- a/third_party/libaddressinput/chromium/chrome_address_validator.cc |
+++ b/third_party/libaddressinput/chromium/chrome_address_validator.cc |
@@ -9,8 +9,8 @@ |
#include "base/bind.h" |
#include "base/location.h" |
#include "base/logging.h" |
-#include "base/message_loop/message_loop.h" |
#include "base/single_thread_task_runner.h" |
+#include "base/threading/thread_task_runner_handle.h" |
#include "third_party/libaddressinput/chromium/addressinput_util.h" |
#include "third_party/libaddressinput/chromium/input_suggester.h" |
#include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_data.h" |
@@ -148,7 +148,7 @@ void AddressValidator::RulesLoaded(bool success, |
if (success || attempts_number_[region_code] + 1 >= kMaxAttemptsNumber) |
return; |
- base::MessageLoop::current()->task_runner()->PostDelayedTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( |
FROM_HERE, base::Bind(&AddressValidator::RetryLoadRules, |
weak_factory_.GetWeakPtr(), region_code), |
GetBaseRetryPeriod() * pow(2, attempts_number_[region_code]++)); |