diff --git a/Libraries/SurfaceHostingComponent/RCTSurfaceHostingComponent.mm b/Libraries/SurfaceHostingComponent/RCTSurfaceHostingComponent.mm index 95e30e04468..de1910c8b77 100644 --- a/Libraries/SurfaceHostingComponent/RCTSurfaceHostingComponent.mm +++ b/Libraries/SurfaceHostingComponent/RCTSurfaceHostingComponent.mm @@ -55,7 +55,7 @@ return component; } -- (CKComponentLayout)computeLayoutThatFits:(CKSizeRange)constrainedSize +- (RCLayout)computeLayoutThatFits:(CKSizeRange)constrainedSize { // Optimistically communicating layout constraints to the `_surface`, // just to provide layout constraints to React Native as early as possible.