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

Unified Diff: content/browser/appcache/appcache.cc

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/appcache/appcache.cc
diff --git a/content/browser/appcache/appcache.cc b/content/browser/appcache/appcache.cc
index f97d9cce9164b6a5529d3116317ee7c683baf93f..98c9e5918e7e9f32a60b2b4ba85335978e88eabb 100644
--- a/content/browser/appcache/appcache.cc
+++ b/content/browser/appcache/appcache.cc
@@ -109,9 +109,9 @@ AppCacheExecutableHandler* AppCache::GetOrCreateExecutableHandler(
return NULL;
DCHECK(storage_->service()->handler_factory());
- scoped_ptr<AppCacheExecutableHandler> own_ptr =
- storage_->service()->handler_factory()->
- CreateHandler(handler_url, handler_source);
+ std::unique_ptr<AppCacheExecutableHandler> own_ptr =
+ storage_->service()->handler_factory()->CreateHandler(handler_url,
+ handler_source);
handler = own_ptr.release();
if (!handler)
return NULL;
« no previous file with comments | « content/browser/android/url_request_content_job_unittest.cc ('k') | content/browser/appcache/appcache_backend_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698