| 129 | } |
| 130 | |
| 131 | Ref<View> ViewNodeTree::getRootView() const { |
| 132 | if (_rootView != nullptr) { |
| 133 | return _rootView; |
| 134 | } |
| 135 | |
| 136 | if (_rootViewNode == nullptr) { |
| 137 | return nullptr; |
| 138 | } |
| 139 | |
| 140 | return _rootViewNode->getViewAndDisablePooling(); |
| 141 | } |
| 142 | |
| 143 | void ViewNodeTree::setRootViewWithDefaultViewClass() { |
| 144 | SC_ASSERT_NOTNULL(_viewManager); |
no test coverage detected