Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2137)

Unified Diff: chrome/browser/safe_browsing/client_side_detection_service.h

Issue 6298004: Fix a possible crash in the ClientSideDetectionService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/safe_browsing/client_side_detection_service.h
diff --git a/chrome/browser/safe_browsing/client_side_detection_service.h b/chrome/browser/safe_browsing/client_side_detection_service.h
index af0a2d999ec72445c6da16975127ea15d8494ff3..a2b63f710bc2b5e8b36482a054ad35f6c0e3302e 100644
--- a/chrome/browser/safe_browsing/client_side_detection_service.h
+++ b/chrome/browser/safe_browsing/client_side_detection_service.h
@@ -165,7 +165,7 @@ class ClientSideDetectionService : public URLFetcher::Delegate {
FilePath model_path_;
ModelStatus model_status_;
base::PlatformFile model_file_;
- URLFetcher* model_fetcher_;
+ scoped_ptr<URLFetcher> model_fetcher_;
scoped_ptr<std::string> tmp_model_string_;
std::vector<OpenModelDoneCallback*> open_callbacks_;

Powered by Google App Engine
This is Rietveld 408576698