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

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

Issue 1550053002: Convert Pass()→std::move() in //chrome/browser/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 0687f8886cad524300403baa98bbc3d9c885bd1e..51699593da3850449259a814cda724ec2f32a673 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
@@ -5,6 +5,7 @@
#include "chrome/browser/ui/app_list/search/common/url_icon_source.h"
#include <string>
+#include <utility>
#include "content/public/browser/browser_thread.h"
#include "net/base/load_flags.h"
@@ -59,7 +60,7 @@ void UrlIconSource::OnURLFetchComplete(
const net::URLFetcher* source) {
CHECK_EQ(icon_fetcher_.get(), source);
- scoped_ptr<net::URLFetcher> fetcher(icon_fetcher_.Pass());
+ scoped_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