Index: content/browser/loader/resource_dispatcher_host_impl.cc |
diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc |
index 76ed7dee10e5b978d54ef18b0b0461e2175e86b1..b11036be892df572a84e08eb8eeff8a4c07f677a 100644 |
--- a/content/browser/loader/resource_dispatcher_host_impl.cc |
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc |
@@ -1223,7 +1223,7 @@ void ResourceDispatcherHostImpl::RegisterDownloadedTempFile( |
int child_id, int request_id, const base::FilePath& file_path) { |
scoped_refptr<ShareableFileReference> reference = |
ShareableFileReference::Get(file_path); |
- DCHECK(reference); |
+ DCHECK(reference.get()); |
registered_temp_files_[child_id][request_id] = reference; |
ChildProcessSecurityPolicyImpl::GetInstance()->GrantReadFile( |