Files
react-native/ReactCommon
Valentin SherginandFacebook GitHub Bot af1fe62ae0 Fabric: Changes in UIManager::getNewestCloneOfShadowNode to make it safer
Summary:
There is no need to use a raw pointer to a shared pointer as a return value of `UIManager::getNewestCloneOfShadowNode`. If it would be a very hot path, we could you a raw pointer to the node instead but it's not a hot path.
Prooving that using a raw pointer here is safe is quite complex (and I don't know if it's safe or not). So, I changed it to just a shared pointer.

Changelog: [Internal] Fabric-specific internal change.

Reviewed By: JoshuaGross

Differential Revision: D21464833

fbshipit-source-id: 813a3c9fca0147afb322db6855a0ce8fd2d47909
2020-05-10 13:28:45 -07:00
..
2020-05-08 00:36:17 -07:00
2020-05-08 00:36:17 -07:00
2020-05-08 00:36:17 -07:00
2020-05-07 04:15:14 -07:00
2020-05-08 00:36:17 -07:00
2020-04-07 19:07:19 -07:00