| 89 | } |
| 90 | |
| 91 | Ref<View> ViewNodeTree::getViewForNodePath(const ViewNodePath& nodePath) const { |
| 92 | auto viewNode = getViewNodeForNodePath(nodePath); |
| 93 | if (viewNode == nullptr) { |
| 94 | return nullptr; |
| 95 | } |
| 96 | |
| 97 | return viewNode->getViewAndDisablePooling(); |
| 98 | } |
| 99 | |
| 100 | Ref<ViewNode> ViewNodeTree::getViewNodeForNodePath(const ViewNodePath& nodePath) const { |
| 101 | auto current = getRootViewNode(); |