Index: chrome/browser/chromeos/net/network_portal_detector_impl.cc |
diff --git a/chrome/browser/chromeos/net/network_portal_detector_impl.cc b/chrome/browser/chromeos/net/network_portal_detector_impl.cc |
index 1ccf0391f7c68187a7d6da8b499155c722b423ff..7f8d85ef2d56b88d3e426e91808fc91c6b524d82 100644 |
--- a/chrome/browser/chromeos/net/network_portal_detector_impl.cc |
+++ b/chrome/browser/chromeos/net/network_portal_detector_impl.cc |
@@ -286,9 +286,8 @@ void NetworkPortalDetectorImpl::DetectCaptivePortal( |
detection_task_.Reset( |
base::Bind(&NetworkPortalDetectorImpl::DetectCaptivePortalTask, |
weak_ptr_factory_.GetWeakPtr())); |
- MessageLoop::current()->PostDelayedTask(FROM_HERE, |
- detection_task_.callback(), |
- next_attempt_delay_); |
+ base::MessageLoop::current()->PostDelayedTask( |
+ FROM_HERE, detection_task_.callback(), next_attempt_delay_); |
} |
void NetworkPortalDetectorImpl::DetectCaptivePortalTask() { |
@@ -322,9 +321,8 @@ void NetworkPortalDetectorImpl::DetectCaptivePortalTask() { |
request_timeout = request_timeout_for_testing_; |
else |
request_timeout = base::TimeDelta::FromSeconds(GetRequestTimeoutSec()); |
- MessageLoop::current()->PostDelayedTask(FROM_HERE, |
- detection_timeout_.callback(), |
- request_timeout); |
+ base::MessageLoop::current()->PostDelayedTask( |
+ FROM_HERE, detection_timeout_.callback(), request_timeout); |
} |
void NetworkPortalDetectorImpl::PortalDetectionTimeout() { |