Title: [294144] trunk/Source/WebCore
- Revision
- 294144
- Author
- [email protected]
- Date
- 2022-05-13 00:26:01 -0700 (Fri, 13 May 2022)
Log Message
Remove unneeded check in HTMLSlotElement::assignedNodes()
https://bugs.webkit.org/show_bug.cgi?id=240340
Reviewed by Ryosuke Niwa.
* html/HTMLSlotElement.cpp:
(WebCore::HTMLSlotElement::assignedNodes const):
Canonical link: https://commits.webkit.org/250514@main
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (294143 => 294144)
--- trunk/Source/WebCore/ChangeLog 2022-05-13 07:19:31 UTC (rev 294143)
+++ trunk/Source/WebCore/ChangeLog 2022-05-13 07:26:01 UTC (rev 294144)
@@ -1,5 +1,15 @@
2022-05-12 Manuel Rego Casasnovas <[email protected]>
+ Remove unneeded check in HTMLSlotElement::assignedNodes()
+ https://bugs.webkit.org/show_bug.cgi?id=240340
+
+ Reviewed by Ryosuke Niwa.
+
+ * html/HTMLSlotElement.cpp:
+ (WebCore::HTMLSlotElement::assignedNodes const):
+
+2022-05-12 Manuel Rego Casasnovas <[email protected]>
+
ARIA reflection for FrozenArray<Element> attributes
https://bugs.webkit.org/show_bug.cgi?id=239853
<rdar://problem/92797836>
Modified: trunk/Source/WebCore/html/HTMLSlotElement.cpp (294143 => 294144)
--- trunk/Source/WebCore/html/HTMLSlotElement.cpp 2022-05-13 07:19:31 UTC (rev 294143)
+++ trunk/Source/WebCore/html/HTMLSlotElement.cpp 2022-05-13 07:26:01 UTC (rev 294144)
@@ -146,7 +146,7 @@
return nodes;
}
- if (auto* nodes = assignedNodes(); nodes) {
+ if (auto* nodes = assignedNodes()) {
return compactMap(*nodes, [](auto& nodeWeakPtr) -> RefPtr<Node> {
return nodeWeakPtr.get();
});
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes