Index: google_apis/gcm/engine/unregistration_request.cc |
diff --git a/google_apis/gcm/engine/unregistration_request.cc b/google_apis/gcm/engine/unregistration_request.cc |
index e9fab18f9c6421915f33b7afc76c46b71d5bdcfc..5ec6158196bc91ffb4858e2c6b29db1be7cbac3b 100644 |
--- a/google_apis/gcm/engine/unregistration_request.cc |
+++ b/google_apis/gcm/engine/unregistration_request.cc |
@@ -5,9 +5,10 @@ |
#include "google_apis/gcm/engine/unregistration_request.h" |
#include "base/bind.h" |
-#include "base/message_loop/message_loop.h" |
+#include "base/location.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/strings/string_piece.h" |
+#include "base/thread_task_runner_handle.h" |
#include "base/values.h" |
#include "google_apis/gcm/base/gcm_util.h" |
#include "google_apis/gcm/monitoring/gcm_stats_recorder.h" |
@@ -164,7 +165,7 @@ void UnregistrationRequest::RetryWithBackoff(bool update_backoff) { |
source_to_record_, |
backoff_entry_.GetTimeUntilRelease().InMilliseconds(), |
retries_left_ + 1); |
- base::MessageLoop::current()->PostDelayedTask( |
+ base::ThreadTaskRunnerHandle::Get()->PostDelayedTask( |
FROM_HERE, |
base::Bind(&UnregistrationRequest::RetryWithBackoff, |
weak_ptr_factory_.GetWeakPtr(), |