Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6e038aaf5010f2823a2ddd5ddcd2c9756db81f0d
https://github.com/WebKit/WebKit/commit/6e038aaf5010f2823a2ddd5ddcd2c9756db81f0d
Author: Ruthvik Konda <[email protected]>
Date: 2026-07-07 (Tue, 07 Jul 2026)
Changed paths:
M Source/WebCore/xml/XMLHttpRequest.cpp
M Source/WebCore/xml/XMLHttpRequestUpload.cpp
M Source/WebCore/xml/XPathValue.cpp
Log Message:
-----------
Use protect() instead of Ref { } in XML code
https://bugs.webkit.org/show_bug.cgi?id=318804
rdar://181624572
Reviewed by Anne van Kesteren.
Mechanical migration from brace-initialized Ref temporaries to the protect()
free function in Source/WebCore/xml/, aligning with the codebase-wide
transition.
No new tests needed (no behavioral change, style-only refactor).
* Source/WebCore/xml/XMLHttpRequest.cpp:
(WebCore::XMLHttpRequest::send):
(WebCore::XMLHttpRequest::didReceiveData):
* Source/WebCore/xml/XMLHttpRequestUpload.cpp:
(WebCore::XMLHttpRequestUpload::eventListenersDidChange):
* Source/WebCore/xml/XPathValue.cpp:
(WebCore::XPath::Value::toString):
Canonical link: https://commits.webkit.org/316700@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications