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

Unified Diff: ios/chrome/browser/net/image_fetcher.mm

Issue 1861593005: Convert //ios from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? 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 | « ios/chrome/browser/net/cookie_util.mm ('k') | ios/chrome/browser/net/image_fetcher_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/net/image_fetcher.mm
diff --git a/ios/chrome/browser/net/image_fetcher.mm b/ios/chrome/browser/net/image_fetcher.mm
index 245045ccaeb38ea7c6d673b9d5d42a3e059b0a1a..264120b8169ba2b7f7ff8d49a38e4360535aacd6 100644
--- a/ios/chrome/browser/net/image_fetcher.mm
+++ b/ios/chrome/browser/net/image_fetcher.mm
@@ -112,7 +112,7 @@ void ImageFetcher::OnURLFetchComplete(const net::URLFetcher* fetcher) {
}
// Ensures that |fetcher| will be deleted in the event of early return.
- scoped_ptr<const net::URLFetcher> fetcher_deleter(fetcher);
+ std::unique_ptr<const net::URLFetcher> fetcher_deleter(fetcher);
// Retrieves the callback and ensures that it will be deleted in the event
// of early return.
« no previous file with comments | « ios/chrome/browser/net/cookie_util.mm ('k') | ios/chrome/browser/net/image_fetcher_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698