mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-04 22:56:32 +08:00
assert that ShadowNodeRegistry is only accessed from one thread
Reviewed By: astreet Differential Revision: D3461859 fbshipit-source-id: 790e831d2ca239110e00a5723be40e870ceab020
This commit is contained in:
committed by
Facebook Github Bot 9
parent
c1f7aa3824
commit
e19225aa64
@@ -99,6 +99,7 @@ public class UIImplementation {
|
||||
rootCSSNode.setThemedContext(context);
|
||||
rootCSSNode.setStyleWidth(width);
|
||||
rootCSSNode.setStyleHeight(height);
|
||||
|
||||
mShadowNodeRegistry.addRootNode(rootCSSNode);
|
||||
|
||||
// register it within NativeViewHierarchyManager
|
||||
|
||||
Reference in New Issue
Block a user