Fabric: Removing a workaround from ComponentDescriptorRegistry

Summary:
We used that on iOS only before we had `ComponentDescriptorProviderRequest`. Now iOS does not use `_fallbackComponentDescriptor`.
On Android we still use `_fallbackComponentDescriptor` but set that explicitly via `ComponentDescriptorRegistry::setFallbackComponentDescriptor`.

Changelog: [Internal] Fabric-specific internal change.

Reviewed By: sammy-SC

Differential Revision: D19103296

fbshipit-source-id: fb2a2142afb183145fd3c8e48f620cb3f316c0bb
This commit is contained in:
Valentin Shergin authored and Facebook Github Bot committed 2019-12-17 18:26:49 -08:00
1 parent f464dad5d4
commit 9e2e754555
1 file changed
-6
@@ -39,12 +39,6 @@ void ComponentDescriptorRegistry::add(
_registryByHandle[componentDescriptorProvider.handle] =
sharedComponentDescriptor;
_registryByName[componentDescriptorProvider.name] = sharedComponentDescriptor;
if (strcmp(componentDescriptorProvider.name, "UnimplementedNativeView") ==
0) {
auto *self = const_cast<ComponentDescriptorRegistry *>(this);
self->setFallbackComponentDescriptor(sharedComponentDescriptor);
}
}
void ComponentDescriptorRegistry::registerComponentDescriptor(