Index: content/shell/shell_browser_context.cc |
diff --git a/content/shell/shell_browser_context.cc b/content/shell/shell_browser_context.cc |
index 81af960e288ed39a9279453ada33a8704eb8d69f..5eb0f6d454c4d396bca0e3b87cd05ff3ac047d67 100644 |
--- a/content/shell/shell_browser_context.cc |
+++ b/content/shell/shell_browser_context.cc |
@@ -62,7 +62,7 @@ ShellBrowserContext::ShellBrowserContext(bool off_the_record) |
} |
ShellBrowserContext::~ShellBrowserContext() { |
- if (resource_context_.get()) { |
+ if (resource_context_) { |
BrowserThread::DeleteSoon( |
BrowserThread::IO, FROM_HERE, resource_context_.release()); |
} |
@@ -113,7 +113,7 @@ bool ShellBrowserContext::IsOffTheRecord() const { |
DownloadManagerDelegate* ShellBrowserContext::GetDownloadManagerDelegate() { |
DownloadManager* manager = BrowserContext::GetDownloadManager(this); |
- if (!download_manager_delegate_.get()) { |
+ if (!download_manager_delegate_) { |
download_manager_delegate_ = new ShellDownloadManagerDelegate(); |
download_manager_delegate_->SetDownloadManager(manager); |
CommandLine* cmd_line = CommandLine::ForCurrentProcess(); |