| Index: components/captive_portal/captive_portal_detector_unittest.cc
|
| diff --git a/components/captive_portal/captive_portal_detector_unittest.cc b/components/captive_portal/captive_portal_detector_unittest.cc
|
| index 486baa145b7f7b4b5c78ba6f60b19c0231d40505..25eb35c1e373720d0e35e029a48cd23321d6246d 100644
|
| --- a/components/captive_portal/captive_portal_detector_unittest.cc
|
| +++ b/components/captive_portal/captive_portal_detector_unittest.cc
|
| @@ -52,9 +52,9 @@ class CaptivePortalDetectorTest : public testing::Test,
|
| public CaptivePortalDetectorTestBase {
|
| public:
|
| CaptivePortalDetectorTest() {}
|
| - virtual ~CaptivePortalDetectorTest() {}
|
| + ~CaptivePortalDetectorTest() override {}
|
|
|
| - virtual void SetUp() override {
|
| + void SetUp() override {
|
| CHECK(base::MessageLoopProxy::current().get());
|
| scoped_refptr<net::URLRequestContextGetter> request_context_getter(
|
| new net::TestURLRequestContextGetter(
|
| @@ -64,9 +64,7 @@ class CaptivePortalDetectorTest : public testing::Test,
|
| set_detector(detector_.get());
|
| }
|
|
|
| - virtual void TearDown() override {
|
| - detector_.reset();
|
| - }
|
| + void TearDown() override { detector_.reset(); }
|
|
|
| void RunTest(const CaptivePortalDetector::Results& expected_results,
|
| int net_error,
|
|
|