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

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

Issue 2802973003: Remove ScopedVector from chrome/ (Closed)
Patch Set: Created 3 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: chrome/utility/safe_browsing/mac/dmg_iterator.cc
diff --git a/chrome/utility/safe_browsing/mac/dmg_iterator.cc b/chrome/utility/safe_browsing/mac/dmg_iterator.cc
index d1e01929c083d886bcf1a01ee7a8789eb33dc3f3..75f0512074276c2c1fd4ff2a45c6189d91cc75f9 100644
--- a/chrome/utility/safe_browsing/mac/dmg_iterator.cc
+++ b/chrome/utility/safe_browsing/mac/dmg_iterator.cc
@@ -39,7 +39,7 @@ bool DMGIterator::Next() {
// Iterate through all the HFS partitions in the DMG file.
for (; current_partition_ < partitions_.size(); ++current_partition_) {
if (!hfs_) {
- hfs_.reset(new HFSIterator(partitions_[current_partition_]));
+ hfs_.reset(new HFSIterator(partitions_[current_partition_].get()));
if (!hfs_->Open())
continue;
}

Powered by Google App Engine
This is Rietveld 408576698