| Index: chrome/browser/safe_browsing/download_protection_service.cc
|
| diff --git a/chrome/browser/safe_browsing/download_protection_service.cc b/chrome/browser/safe_browsing/download_protection_service.cc
|
| index c8f2e7ffdda87f11caeae3bfb15ca9e6205951cb..8b507fde633b6fb51d5b65ecd6f86db6ab231345 100644
|
| --- a/chrome/browser/safe_browsing/download_protection_service.cc
|
| +++ b/chrome/browser/safe_browsing/download_protection_service.cc
|
| @@ -293,8 +293,8 @@ class DownloadProtectionService::CheckClientDownloadRequest
|
| pingback_enabled_(service_->enabled()),
|
| finished_(false),
|
| type_(ClientDownloadRequest::WIN_EXECUTABLE),
|
| - weakptr_factory_(this),
|
| - start_time_(base::TimeTicks::Now()) {
|
| + start_time_(base::TimeTicks::Now()),
|
| + weakptr_factory_(this) {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
|
| item_->AddObserver(this);
|
| }
|
| @@ -905,10 +905,10 @@ class DownloadProtectionService::CheckClientDownloadRequest
|
| ClientDownloadRequest::DownloadType type_;
|
| std::string client_download_request_data_;
|
| base::CancelableTaskTracker request_tracker_; // For HistoryService lookup.
|
| - base::WeakPtrFactory<CheckClientDownloadRequest> weakptr_factory_;
|
| base::TimeTicks start_time_; // Used for stats.
|
| base::TimeTicks timeout_start_time_;
|
| base::TimeTicks request_start_time_;
|
| + base::WeakPtrFactory<CheckClientDownloadRequest> weakptr_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(CheckClientDownloadRequest);
|
| };
|
|
|