mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Revert \"[react-native][nodes] Split StateBuilder.ensureBackingViewIsCreated into 2 different methods\"
Summary: Reverts D2916697 that landed twice. Differential Revision: D2974199
This commit is contained in:
1 parent
827989f572
commit
c36d4593fd
1 file changed
-11
@@ -143,17 +143,6 @@ import com.facebook.react.uimanager.events.EventDispatcher;
|
||||
node.signalBackingViewIsCreated();
|
||||
}
|
||||
|
||||
/* package */ void ensureBackingViewIsCreated(FlatShadowNode node) {
|
||||
if (node.isBackingViewCreated()) {
|
||||
return;
|
||||
}
|
||||
|
||||
int tag = node.getReactTag();
|
||||
mOperationsQueue.enqueueCreateView(node.getThemedContext(), tag, node.getViewClass(), null);
|
||||
|
||||
node.signalBackingViewIsCreated();
|
||||
}
|
||||
|
||||
/* package */ void dropView(FlatShadowNode node) {
|
||||
mViewsToDrop.add(node);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user