File tree 1 file changed +5
-5
lines changed
components/safe_browsing/browser
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -558,8 +558,8 @@ void ThreatDetails::StartCollection() {
558
558
// OnReceivedThreatDOMDetails will be called when the renderer replies.
559
559
// TODO(mattm): In theory, if the user proceeds through the warning DOM
560
560
// detail collection could be started once the page loads.
561
- web_contents ()->ForEachFrame (base::BindRepeating (
562
- &ThreatDetails::RequestThreatDOMDetails, base::Unretained ( this ) ));
561
+ web_contents ()->ForEachFrame (
562
+ base::BindRepeating ( &ThreatDetails::RequestThreatDOMDetails, this ));
563
563
}
564
564
}
565
565
@@ -568,9 +568,9 @@ void ThreatDetails::RequestThreatDOMDetails(content::RenderFrameHost* frame) {
568
568
frame->GetRemoteInterfaces ()->GetInterface (&threat_reporter);
569
569
safe_browsing::mojom::ThreatReporter* raw_threat_report =
570
570
threat_reporter.get ();
571
- raw_threat_report->GetThreatDOMDetails (base::BindOnce (
572
- &ThreatDetails::OnReceivedThreatDOMDetails, base::Unretained ( this ) ,
573
- base::Passed (&threat_reporter), frame));
571
+ raw_threat_report->GetThreatDOMDetails (
572
+ base::BindOnce ( &ThreatDetails::OnReceivedThreatDOMDetails, this ,
573
+ base::Passed (&threat_reporter), frame));
574
574
}
575
575
576
576
// When the renderer is done, this is called.
You can’t perform that action at this time.
0 commit comments