Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Unified Diff: content/browser/storage_partition_impl_map.cc

Issue 1295523006: Using scoped_ptr for URLRequestJobFactoryImpl::SetProtocolHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing un-modified file Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/storage_partition_impl_map.cc
diff --git a/content/browser/storage_partition_impl_map.cc b/content/browser/storage_partition_impl_map.cc
index 8b99d0428c766d558ca97edbb895433ee10157be..b9030ab79605d75f94007dc9378dc3ec81f7ab83 100644
--- a/content/browser/storage_partition_impl_map.cc
+++ b/content/browser/storage_partition_impl_map.cc
@@ -416,7 +416,7 @@ StoragePartitionImpl* StoragePartitionImplMap::Get(
browser_context_->GetResourceContext(),
browser_context_->IsOffTheRecord(),
partition->GetAppCacheService(),
- blob_storage_context));
+ blob_storage_context).release());
std::vector<std::string> additional_webui_schemes;
GetContentClient()->browser()->GetAdditionalWebUISchemes(
&additional_webui_schemes);
@@ -430,7 +430,7 @@ StoragePartitionImpl* StoragePartitionImplMap::Get(
browser_context_->GetResourceContext(),
browser_context_->IsOffTheRecord(),
partition->GetAppCacheService(),
- blob_storage_context));
+ blob_storage_context).release());
}
protocol_handlers[kChromeDevToolsScheme] =
linked_ptr<net::URLRequestJobFactory::ProtocolHandler>(

Powered by Google App Engine
This is Rietveld 408576698