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

Unified Diff: third_party/WebKit/Source/core/loader/FormSubmission.cpp

Issue 2622043003: Replaced RefPtr::release with std::move in Source/core. (Closed)
Patch Set: Created 3 years, 11 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/core/loader/FormSubmission.cpp
diff --git a/third_party/WebKit/Source/core/loader/FormSubmission.cpp b/third_party/WebKit/Source/core/loader/FormSubmission.cpp
index ddde335f20d17104761bcafe28534055956e9185..e7bb534ece3c1ef4e63091c0938a62b01fd1880d 100644
--- a/third_party/WebKit/Source/core/loader/FormSubmission.cpp
+++ b/third_party/WebKit/Source/core/loader/FormSubmission.cpp
@@ -267,7 +267,7 @@ FormSubmission* FormSubmission::create(HTMLFormElement* form,
: copiedAttributes.target();
return new FormSubmission(copiedAttributes.method(), actionURL,
targetOrBaseTarget, encodingType, form,
- formData.release(), boundary, event);
+ std::move(formData), boundary, event);
}
DEFINE_TRACE(FormSubmission) {

Powered by Google App Engine
This is Rietveld 408576698