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

Unified Diff: content/browser/gpu/shader_disk_cache.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
« no previous file with comments | « content/browser/gpu/shader_disk_cache.h ('k') | content/browser/host_zoom_level_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/shader_disk_cache.cc
diff --git a/content/browser/gpu/shader_disk_cache.cc b/content/browser/gpu/shader_disk_cache.cc
index c582829f5ed879227d3c1cd4b5c03a864a37e37e..e31af9202278d7b0e6d52634c73d1fad722ca216 100644
--- a/content/browser/gpu/shader_disk_cache.cc
+++ b/content/browser/gpu/shader_disk_cache.cc
@@ -24,8 +24,8 @@ void EntryCloser(disk_cache::Entry* entry) {
entry->Close();
}
-void FreeDiskCacheIterator(scoped_ptr<disk_cache::Backend::Iterator> iterator) {
-}
+void FreeDiskCacheIterator(
+ std::unique_ptr<disk_cache::Backend::Iterator> iterator) {}
} // namespace
@@ -99,7 +99,7 @@ class ShaderDiskReadHelper
base::WeakPtr<ShaderDiskCache> cache_;
OpType op_type_;
- scoped_ptr<disk_cache::Backend::Iterator> iter_;
+ std::unique_ptr<disk_cache::Backend::Iterator> iter_;
scoped_refptr<net::IOBufferWithSize> buf_;
int host_id_;
disk_cache::Entry* entry_;
« no previous file with comments | « content/browser/gpu/shader_disk_cache.h ('k') | content/browser/host_zoom_level_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698