diff --git a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.h b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.h index 2c2dea71e3..9ce3c7f8ac 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.h +++ b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.h @@ -125,9 +125,6 @@ - (size_t)embeddedViewCount; -// TODO(cbracken): Delete. This is unused. -- (size_t)layerPoolSize; - // Returns the `FlutterPlatformView`'s `view` object associated with the view_id. // // If the `PlatformViewsController` does not contain any `FlutterPlatformView` object or diff --git a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.mm b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.mm index 578037661c..6c0448650b 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.mm +++ b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.mm @@ -538,10 +538,6 @@ BOOL canApplyBlurBackdrop = YES; return self.compositionOrder.size(); } -- (size_t)layerPoolSize { - return self.layerPool->size(); -} - - (UIView*)platformViewForId:(int64_t)viewId { return [self flutterTouchInterceptingViewForId:viewId].embeddedView; }