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

Unified Diff: third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp

Issue 2957513002: Removed calls to RefPtr::Release in return statements with auto move. (Closed)
Patch Set: rebased Created 3 years, 6 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/modules/credentialmanager/PasswordCredential.cpp
diff --git a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp
index 15030be66bd638c091e5cbe0252d0f9268e2de51..6d9d8267da68daadc060e8058af5b4d232ca0581 100644
--- a/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp
+++ b/third_party/WebKit/Source/modules/credentialmanager/PasswordCredential.cpp
@@ -179,7 +179,7 @@ PassRefPtr<EncodedFormData> PasswordCredential::EncodeFormData(
RefPtr<EncodedFormData> encoded_data = form_data->EncodeMultiPartFormData();
content_type = AtomicString("multipart/form-data; boundary=") +
encoded_data->Boundary().data();
- return encoded_data.Release();
+ return encoded_data;
}
DEFINE_TRACE(PasswordCredential) {
« no previous file with comments | « third_party/WebKit/Source/core/style/BasicShapes.cpp ('k') | third_party/WebKit/Source/modules/fetch/BlobBytesConsumer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698