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

Unified Diff: content/renderer/cache_storage/cache_storage_dispatcher.cc

Issue 1873783003: Convert //content/renderer 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/renderer/cache_storage/cache_storage_dispatcher.cc
diff --git a/content/renderer/cache_storage/cache_storage_dispatcher.cc b/content/renderer/cache_storage/cache_storage_dispatcher.cc
index 25b5f86762ead5cf012626eb40f84572c256c534..5bc3521dea15df34f12438c5d5ede9f633bcb107 100644
--- a/content/renderer/cache_storage/cache_storage_dispatcher.cc
+++ b/content/renderer/cache_storage/cache_storage_dispatcher.cc
@@ -296,7 +296,7 @@ void CacheStorageDispatcher::OnCacheStorageOpenSuccess(int thread_id,
int request_id,
int cache_id) {
DCHECK_EQ(thread_id, CurrentWorkerId());
- scoped_ptr<WebCache> web_cache(
+ std::unique_ptr<WebCache> web_cache(
new WebCache(weak_factory_.GetWeakPtr(), cache_id));
web_caches_.AddWithID(web_cache.get(), cache_id);
UMA_HISTOGRAM_TIMES("ServiceWorkerCache.CacheStorage.Open",
« no previous file with comments | « content/renderer/browser_render_view_browsertest.cc ('k') | content/renderer/child_frame_compositing_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698