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

Unified Diff: chrome/utility/safe_browsing/mac/crdmg.cc

Issue 1899083002: Convert //chrome 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 | « chrome/utility/profile_import_handler.h ('k') | chrome/utility/safe_browsing/mac/dmg_analyzer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/safe_browsing/mac/crdmg.cc
diff --git a/chrome/utility/safe_browsing/mac/crdmg.cc b/chrome/utility/safe_browsing/mac/crdmg.cc
index a6cb076fcd63c84a210789566bb3aced294f6c67..18a5ea1535de467b5b70d4971d046641e9ebcc83 100644
--- a/chrome/utility/safe_browsing/mac/crdmg.cc
+++ b/chrome/utility/safe_browsing/mac/crdmg.cc
@@ -177,7 +177,7 @@ bool SafeDMG::ParseDMG() {
if (partition_type != "Apple_HFS" && partition_type != "Apple_HFSX")
continue;
- scoped_ptr<safe_browsing::dmg::ReadStream> partition_stream(
+ std::unique_ptr<safe_browsing::dmg::ReadStream> partition_stream(
udif_parser.GetPartitionReadStream(i));
safe_browsing::dmg::HFSIterator iterator(partition_stream.get());
if (!iterator.Open()) {
@@ -221,7 +221,7 @@ bool SafeDMG::ParseDMG() {
continue;
}
- scoped_ptr<safe_browsing::dmg::ReadStream> stream(
+ std::unique_ptr<safe_browsing::dmg::ReadStream> stream(
iterator.GetReadStream());
size_t read_this_pass = 0;
do {
« no previous file with comments | « chrome/utility/profile_import_handler.h ('k') | chrome/utility/safe_browsing/mac/dmg_analyzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698