| Index: chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc
|
| diff --git a/chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc
|
| index a1a0eb005638a3688af1de8e62381088aded4955..4860a455d611c97fbe729e022981f34870d918e9 100644
|
| --- a/chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc
|
| +++ b/chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc
|
| @@ -106,14 +106,6 @@ class OffDomainInclusionDetectorTest
|
| base::Unretained(this))));
|
| }
|
|
|
| - void TearDown() override {
|
| - // The SafeBrowsingService held by the MockSafeBrowsingDatabaseManager in
|
| - // |off_domain_inclusion_detector_| is deleted asynchronously and we thus
|
| - // need to cleanup explicitly here or the test will leak.
|
| - off_domain_inclusion_detector_.reset();
|
| - base::RunLoop().RunUntilIdle();
|
| - }
|
| -
|
| AnalysisEvent GetLastEventAndReset() {
|
| const AnalysisEvent last_event = observed_analysis_event_;
|
| observed_analysis_event_ = AnalysisEvent::NO_EVENT;
|
|
|