Skip to content

Commit 80fa8a5

Browse files
authored
iOS: Delete FlutterPlatformViewsController.layerPoolSize (flutter/engine#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 214afb3 commit 80fa8a5

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

engine/src/flutter/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

engine/src/flutter/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)