diff options
Diffstat (limited to 'content/shell/shell_browser_context.cc')
-rw-r--r-- | content/shell/shell_browser_context.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/shell/shell_browser_context.cc b/content/shell/shell_browser_context.cc index f2a9bdd..b3228a0 100644 --- a/content/shell/shell_browser_context.cc +++ b/content/shell/shell_browser_context.cc @@ -113,7 +113,7 @@ bool ShellBrowserContext::IsOffTheRecord() const { DownloadManagerDelegate* ShellBrowserContext::GetDownloadManagerDelegate() { DownloadManager* manager = BrowserContext::GetDownloadManager(this); - if (!download_manager_delegate_) { + if (!download_manager_delegate_.get()) { download_manager_delegate_ = new ShellDownloadManagerDelegate(); download_manager_delegate_->SetDownloadManager(manager); CommandLine* cmd_line = CommandLine::ForCurrentProcess(); @@ -132,7 +132,7 @@ net::URLRequestContextGetter* ShellBrowserContext::GetRequestContext() { net::URLRequestContextGetter* ShellBrowserContext::CreateRequestContext( ProtocolHandlerMap* protocol_handlers) { - DCHECK(!url_request_getter_); + DCHECK(!url_request_getter_.get()); url_request_getter_ = new ShellURLRequestContextGetter( ignore_certificate_errors_, GetPath(), |