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

Unified Diff: chrome/browser/signin/chrome_signin_client.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (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/signin/chrome_signin_client.cc
diff --git a/chrome/browser/signin/chrome_signin_client.cc b/chrome/browser/signin/chrome_signin_client.cc
index f4804e79d02a78bbb9a58bb243d86414ee6eff72..58dd05b4fe38861f1de0ac7705e002a1bf959264 100644
--- a/chrome/browser/signin/chrome_signin_client.cc
+++ b/chrome/browser/signin/chrome_signin_client.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/signin/chrome_signin_client.h"
#include <stddef.h>
+#include <utility>
#include "base/command_line.h"
#include "base/prefs/pref_service.h"
@@ -230,7 +231,7 @@ ChromeSigninClient::AddCookieChangedCallback(
DCHECK(context_getter.get());
scoped_ptr<SigninCookieChangedSubscription> subscription(
new SigninCookieChangedSubscription(context_getter, url, name, callback));
- return subscription.Pass();
+ return std::move(subscription);
}
void ChromeSigninClient::OnSignedIn(const std::string& account_id,

Powered by Google App Engine
This is Rietveld 408576698