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

Unified Diff: chrome/browser/ui/app_list/search/common/url_icon_source.cc

Issue 1865213004: Convert //chrome/browser/ui 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
Index: chrome/browser/ui/app_list/search/common/url_icon_source.cc
diff --git a/chrome/browser/ui/app_list/search/common/url_icon_source.cc b/chrome/browser/ui/app_list/search/common/url_icon_source.cc
index 51699593da3850449259a814cda724ec2f32a673..5e240b8064cbdae6bc26eb24f34a77caf71e3759 100644
--- a/chrome/browser/ui/app_list/search/common/url_icon_source.cc
+++ b/chrome/browser/ui/app_list/search/common/url_icon_source.cc
@@ -60,7 +60,7 @@ void UrlIconSource::OnURLFetchComplete(
const net::URLFetcher* source) {
CHECK_EQ(icon_fetcher_.get(), source);
- scoped_ptr<net::URLFetcher> fetcher(std::move(icon_fetcher_));
+ std::unique_ptr<net::URLFetcher> fetcher(std::move(icon_fetcher_));
if (!fetcher->GetStatus().is_success() ||
fetcher->GetResponseCode() != 200) {

Powered by Google App Engine
This is Rietveld 408576698