summaryrefslogtreecommitdiffstats
path: root/chrome/browser/download/download_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/download/download_service.cc')
-rw-r--r--chrome/browser/download/download_service.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/download/download_service.cc b/chrome/browser/download/download_service.cc
index 77cc833..7838e2d 100644
--- a/chrome/browser/download/download_service.cc
+++ b/chrome/browser/download/download_service.cc
@@ -42,7 +42,7 @@ ChromeDownloadManagerDelegate* DownloadService::GetDownloadManagerDelegate() {
// In case the delegate has already been set by
// SetDownloadManagerDelegateForTesting.
- if (!manager_delegate_)
+ if (!manager_delegate_.get())
manager_delegate_ = new ChromeDownloadManagerDelegate(profile_);
manager_delegate_->SetDownloadManager(manager);