mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Fabric: ShadowNode::getChildren() now returns vector, not shared_ptr
Summary: TBD Reviewed By: mdvacca Differential Revision: D8988385 fbshipit-source-id: 1d1c7e0b87b32b242c69bbce44cf70fb0899cf93
This commit is contained in:
committed by
Facebook Github Bot
parent
ca6d263d6d
commit
d74346b616
@@ -18,11 +18,11 @@ namespace react {
|
||||
|
||||
AttributedString BaseTextShadowNode::getAttributedString(
|
||||
const TextAttributes &textAttributes,
|
||||
const SharedShadowNodeSharedList &childNodes
|
||||
const SharedShadowNodeList &childNodes
|
||||
) const {
|
||||
AttributedString attributedString;
|
||||
|
||||
for (const auto &childNode : *childNodes) {
|
||||
for (const auto &childNode : childNodes) {
|
||||
// RawShadowNode
|
||||
auto rawTextShadowNode = std::dynamic_pointer_cast<const RawTextShadowNode>(childNode);
|
||||
if (rawTextShadowNode) {
|
||||
|
||||
Reference in New Issue
Block a user