Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 21c655c

Browse files
authored
iOS: Delete FlutterPlatformViewsController.layerPoolSize (#56806)
This field is unused in the codebase/tests. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
1 parent 70f9ef6 commit 21c655c

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,6 @@
125125

126126
- (size_t)embeddedViewCount;
127127

128-
// TODO(cbracken): Delete. This is unused.
129-
- (size_t)layerPoolSize;
130-
131128
// Returns the `FlutterPlatformView`'s `view` object associated with the view_id.
132129
//
133130
// If the `PlatformViewsController` does not contain any `FlutterPlatformView` object or

shell/platform/darwin/ios/framework/Source/FlutterPlatformViewsController.mm

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -538,10 +538,6 @@ - (size_t)embeddedViewCount {
538538
return self.compositionOrder.size();
539539
}
540540

541-
- (size_t)layerPoolSize {
542-
return self.layerPool->size();
543-
}
544-
545541
- (UIView*)platformViewForId:(int64_t)viewId {
546542
return [self flutterTouchInterceptingViewForId:viewId].embeddedView;
547543
}

0 commit comments

Comments
 (0)