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

Unified Diff: third_party/WebKit/Source/platform/credentialmanager/PlatformFederatedCredential.cpp

Issue 2306293002: Replaced PassRefPtr copies with moves in Source/platform. (Closed)
Patch Set: Created 4 years, 3 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: third_party/WebKit/Source/platform/credentialmanager/PlatformFederatedCredential.cpp
diff --git a/third_party/WebKit/Source/platform/credentialmanager/PlatformFederatedCredential.cpp b/third_party/WebKit/Source/platform/credentialmanager/PlatformFederatedCredential.cpp
index 8a3b11d2754df1a6e05c996d759479138b88d348..5983d5d29adb28f78388e666f9ba6c2b750527f2 100644
--- a/third_party/WebKit/Source/platform/credentialmanager/PlatformFederatedCredential.cpp
+++ b/third_party/WebKit/Source/platform/credentialmanager/PlatformFederatedCredential.cpp
@@ -8,7 +8,7 @@ namespace blink {
PlatformFederatedCredential* PlatformFederatedCredential::create(const String& id, PassRefPtr<SecurityOrigin> provider, const String& name, const KURL& iconURL)
{
- return new PlatformFederatedCredential(id, provider, name, iconURL);
+ return new PlatformFederatedCredential(id, std::move(provider), name, iconURL);
}
PlatformFederatedCredential::PlatformFederatedCredential(const String& id, PassRefPtr<SecurityOrigin> provider, const String& name, const KURL& iconURL)

Powered by Google App Engine
This is Rietveld 408576698