Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f9b3622aca49f1f8c6179d6990022c7834f6f8f8
https://github.com/WebKit/WebKit/commit/f9b3622aca49f1f8c6179d6990022c7834f6f8f8
Author: Jessica Lee <[email protected]>
Date: 2026-04-27 (Mon, 27 Apr 2026)
Changed paths:
M Source/WebCore/workers/service/ServiceWorkerGlobalScope.cpp
M Source/WebCore/xml/XMLHttpRequest.cpp
M Source/WebCore/xml/XSLTProcessorLibxslt.cpp
M Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp
Log Message:
-----------
Use protect() instead of RefPtr { } in ServiceWorkerGlobalScope,
XMLHttpRequest, XSLTProcessorLibxslt, XMLDocumentParserLibxml2
https://bugs.webkit.org/show_bug.cgi?id=313405
rdar://175661125
Reviewed by Chris Dumez.
Use protect(foo) instead of RefPtr {foo } to align with WebKit's transition
from brace-initialized smart pointer temporaries.
No new tests needed.
* Source/WebCore/workers/service/ServiceWorkerGlobalScope.cpp:
(WebCore::ServiceWorkerGlobalScope::prepareForDestruction):
* Source/WebCore/xml/XMLHttpRequest.cpp:
(WebCore::XMLHttpRequest::dispatchEvent):
* Source/WebCore/xml/XSLTProcessorLibxslt.cpp:
(WebCore::docLoaderFunc):
(WebCore::XSLTProcessor::transformToString):
* Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::XMLDocumentParser::endElementNs):
(WebCore::XMLDocumentParser::processingInstruction):
(WebCore::XMLDocumentParser::cdataBlock):
(WebCore::XMLDocumentParser::comment):
Canonical link: https://commits.webkit.org/312117@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications