summaryrefslogtreecommitdiff
path: root/chromium/components/captive_portal/captive_portal_detector_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/captive_portal/captive_portal_detector_unittest.cc')
-rw-r--r--chromium/components/captive_portal/captive_portal_detector_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/components/captive_portal/captive_portal_detector_unittest.cc b/chromium/components/captive_portal/captive_portal_detector_unittest.cc
index b14b093d021..badce529de7 100644
--- a/chromium/components/captive_portal/captive_portal_detector_unittest.cc
+++ b/chromium/components/captive_portal/captive_portal_detector_unittest.cc
@@ -74,8 +74,8 @@ class CaptivePortalDetectorTest : public testing::Test,
detector()->DetectCaptivePortal(
url,
- base::Bind(&CaptivePortalClient::OnPortalDetectionCompleted,
- base::Unretained(&client)),
+ base::BindOnce(&CaptivePortalClient::OnPortalDetectionCompleted,
+ base::Unretained(&client)),
TRAFFIC_ANNOTATION_FOR_TESTS);
ASSERT_TRUE(FetchingURL());
@@ -100,8 +100,8 @@ class CaptivePortalDetectorTest : public testing::Test,
detector()->DetectCaptivePortal(
url,
- base::Bind(&CaptivePortalClient::OnPortalDetectionCompleted,
- base::Unretained(&client)),
+ base::BindOnce(&CaptivePortalClient::OnPortalDetectionCompleted,
+ base::Unretained(&client)),
TRAFFIC_ANNOTATION_FOR_TESTS);
ASSERT_TRUE(FetchingURL());