| Index: chrome/browser/safe_browsing/client_side_detection_host.cc
|
| diff --git a/chrome/browser/safe_browsing/client_side_detection_host.cc b/chrome/browser/safe_browsing/client_side_detection_host.cc
|
| index 83e3d542bc2157719eec05c7897e9776ea222c8d..eca7c48592dd3c00dc3ef3c5ad96be08a1d60ed3 100644
|
| --- a/chrome/browser/safe_browsing/client_side_detection_host.cc
|
| +++ b/chrome/browser/safe_browsing/client_side_detection_host.cc
|
| @@ -643,7 +643,7 @@ void ClientSideDetectionHost::MaybeShowMalwareWarning(GURL original_url,
|
|
|
| void ClientSideDetectionHost::FeatureExtractionDone(
|
| bool success,
|
| - ClientPhishingRequest* request) {
|
| + scoped_ptr<ClientPhishingRequest> request) {
|
| DCHECK(request);
|
| DVLOG(2) << "Feature extraction done (success:" << success << ") for URL: "
|
| << request->url() << ". Start sending client phishing request.";
|
| @@ -656,7 +656,7 @@ void ClientSideDetectionHost::FeatureExtractionDone(
|
| }
|
| // Send ping even if the browser feature extraction failed.
|
| csd_service_->SendClientReportPhishingRequest(
|
| - request, // The service takes ownership of the request object.
|
| + request.release(), // The service takes ownership of the request object.
|
| callback);
|
| }
|
|
|
|
|