Title: [272453] trunk/Source/WebCore
- Revision
- 272453
- Author
- [email protected]
- Date
- 2021-02-05 16:49:25 -0800 (Fri, 05 Feb 2021)
Log Message
Deploy WTFMove in the constructor for AutofillElements
https://bugs.webkit.org/show_bug.cgi?id=221507
Patch by Ricky Mondello <[email protected]> on 2021-02-05
Reviewed by Wenson Hsieh.
* editing/cocoa/AutofillElements.cpp:
(WebCore::AutofillElements::AutofillElements):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (272452 => 272453)
--- trunk/Source/WebCore/ChangeLog 2021-02-06 00:44:24 UTC (rev 272452)
+++ trunk/Source/WebCore/ChangeLog 2021-02-06 00:49:25 UTC (rev 272453)
@@ -1,3 +1,13 @@
+2021-02-05 Ricky Mondello <[email protected]>
+
+ Deploy WTFMove in the constructor for AutofillElements
+ https://bugs.webkit.org/show_bug.cgi?id=221507
+
+ Reviewed by Wenson Hsieh.
+
+ * editing/cocoa/AutofillElements.cpp:
+ (WebCore::AutofillElements::AutofillElements):
+
2021-02-05 Sihui Liu <[email protected]>
REGRESSION(r272337): crash under WebCore::SpeechRecognizer::setInactive()
Modified: trunk/Source/WebCore/editing/cocoa/AutofillElements.cpp (272452 => 272453)
--- trunk/Source/WebCore/editing/cocoa/AutofillElements.cpp 2021-02-06 00:44:24 UTC (rev 272452)
+++ trunk/Source/WebCore/editing/cocoa/AutofillElements.cpp 2021-02-06 00:49:25 UTC (rev 272453)
@@ -73,9 +73,9 @@
}
AutofillElements::AutofillElements(RefPtr<HTMLInputElement>&& username, RefPtr<HTMLInputElement>&& password, RefPtr<HTMLInputElement>&& secondPassword)
- : m_username(username)
- , m_password(password)
- , m_secondPassword(secondPassword)
+ : m_username(WTFMove(username))
+ , m_password(WTFMove(password))
+ , m_secondPassword(WTFMove(secondPassword))
{
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes