diff options
Diffstat (limited to 'chrome/browser/safe_browsing/browser_feature_extractor.cc')
| -rw-r--r-- | chrome/browser/safe_browsing/browser_feature_extractor.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/safe_browsing/browser_feature_extractor.cc b/chrome/browser/safe_browsing/browser_feature_extractor.cc index b0fd195..9333b9f 100644 --- a/chrome/browser/safe_browsing/browser_feature_extractor.cc +++ b/chrome/browser/safe_browsing/browser_feature_extractor.cc @@ -324,8 +324,7 @@ void BrowserFeatureExtractor::QueryUrlHistoryDone( history->GetVisibleVisitCountToHost( GURL(request->url()), &request_consumer_, - base::Bind(&BrowserFeatureExtractor::QueryHttpHostVisitsDone, - base::Unretained(this))); + NewCallback(this, &BrowserFeatureExtractor::QueryHttpHostVisitsDone)); StorePendingQuery(next_handle, request, callback); } @@ -362,8 +361,8 @@ void BrowserFeatureExtractor::QueryHttpHostVisitsDone( history->GetVisibleVisitCountToHost( GURL(https_url.replace(0, 5, "https:")), &request_consumer_, - base::Bind(&BrowserFeatureExtractor::QueryHttpsHostVisitsDone, - base::Unretained(this))); + NewCallback(this, + &BrowserFeatureExtractor::QueryHttpsHostVisitsDone)); StorePendingQuery(next_handle, request, callback); } |
