From c50f9289de69a56ec78ca3b73605f23c4ae39714 Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Mon, 25 Nov 2024 15:57:00 -0800 Subject: [PATCH] iOS: Delete FlutterPlatformViewsController.layerPoolSize This field is unused in the codebase/tests. --- .../ios/framework/Source/FlutterPlatformViewsController.h | 3 --- .../ios/framework/Source/FlutterPlatformViewsController.mm | 4 ---- 2 files changed, 7 deletions(-) diff --git a/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.h b/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.h index 2c2dea71e3a83..9ce3c7f8ac0f7 100644 --- a/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.h +++ b/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/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.mm b/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.mm index f6c2f0a2ad05d..3498ef324f4e9 100644 --- a/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.mm +++ b/shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.mm @@ -538,10 +538,6 @@ - (size_t)embeddedViewCount { return self.compositionOrder.size(); } -- (size_t)layerPoolSize { - return self.layerPool->size(); -} - - (UIView*)platformViewForId:(int64_t)viewId { return [self flutterTouchInterceptingViewForId:viewId].embeddedView; }