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:
parent
827989f572
commit
c36d4593fd
|
@ -143,17 +143,6 @@ import com.facebook.react.uimanager.events.EventDispatcher;
|
||||||
node.signalBackingViewIsCreated();
|
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) {
|
/* package */ void dropView(FlatShadowNode node) {
|
||||||
mViewsToDrop.add(node);
|
mViewsToDrop.add(node);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue