Reland: iOS: Delete FlutterPlatformViewsController.layerPoolSize (flutter/engine#56830)

This field is unused in the codebase/tests.

This is a reland of https://github.com/flutter/engine/pull/56806, which was reverted as part of https://github.com/flutter/engine/pull/56790.

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in:
Chris Bracken 2024-11-26 22:29:24 -08:00 committed by GitHub
parent 2afb790cad
commit 263fb587b7
2 changed files with 0 additions and 7 deletions

View File

@ -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

View File

@ -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;
}