@@ -112,8 +112,8 @@ class IOSContextGL;
112
112
class IOSSurface;
113
113
114
114
struct FlutterPlatformViewLayer {
115
- FlutterPlatformViewLayer (const fml::scoped_nsobject<UIView>& overlay_view,
116
- const fml::scoped_nsobject<UIView>& overlay_view_wrapper,
115
+ FlutterPlatformViewLayer (fml::scoped_nsobject<UIView> overlay_view,
116
+ fml::scoped_nsobject<UIView> overlay_view_wrapper,
117
117
std::unique_ptr<IOSSurface> ios_surface,
118
118
std::unique_ptr<Surface> surface);
119
119
@@ -144,11 +144,10 @@ class FlutterPlatformViewLayerPool {
144
144
// Finally, it marks the layer as used. That is, it increments `available_layer_index_`.
145
145
std::shared_ptr<FlutterPlatformViewLayer> GetLayer (GrDirectContext* gr_context,
146
146
std::shared_ptr<IOSContext> ios_context);
147
- const
148
- // Gets the layers in th&e pool that aren't currently used.
149
- // This method doesn't mark the layers as unused.
150
- std::vector<std::shared_ptr<FlutterPlatformViewLayer>>
151
- GetUnusedLayers ();
147
+
148
+ // Gets the layers in the pool that aren't currently used.
149
+ // This method doesn't mark the layers as unused.
150
+ std::vector<std::shared_ptr<FlutterPlatformViewLayer>> GetUnusedLayers ();
152
151
153
152
// Marks the layers in the pool as available for reuse.
154
153
void RecycleLayers ();
@@ -208,13 +207,12 @@ class FlutterPlatformViewsController {
208
207
// returns nil.
209
208
UIView* GetPlatformViewByID (int view_id);
210
209
211
- PostPrerollResult PostPrerollAction (
212
- fml::RefPtr<fml::RasterThreadMerger> rasteconst r_thread_merger);
210
+ PostPrerollResult PostPrerollAction (fml::RefPtr<fml::RasterThreadMerger> raster_thread_merger);
213
211
214
- void EndFrame (b& ool should_resubmit_frame,
215
- fml::RefPtr<fml::RasterThreadMerger> rasteconst r_thread_merger );
212
+ void EndFrame (bool should_resubmit_frame,
213
+ fml::RefPtr<fml::RasterThreadMerger> raster_thread_merger );
216
214
217
- std::vector<SkC & anvas *> GetCurrentCanvases ();
215
+ std::vector<SkCanvas *> GetCurrentCanvases ();
218
216
219
217
std::vector<DisplayListBuilder*> GetCurrentBuilders ();
220
218
@@ -229,7 +227,7 @@ class FlutterPlatformViewsController {
229
227
230
228
bool SubmitFrame (GrDirectContext* gr_context,
231
229
std::shared_ptr<IOSContext> ios_context,
232
- const std::uniq& ue_ptr <SurfaceFrame> frame);
230
+ std::unique_ptr <SurfaceFrame> frame);
233
231
234
232
void OnMethodCall (FlutterMethodCall* call, FlutterResult& result);
235
233
@@ -238,8 +236,8 @@ class FlutterPlatformViewsController {
238
236
long FindFirstResponderPlatformViewId ();
239
237
240
238
// Pushes backdrop filter mutation to the mutator stack of each visited platform view.
241
- void
242
- PushFilterToVisitedPlatformViews (std::shared_ptr< const DlImageFilter> filteconst r, & const SkRect& filter_rect);
239
+ void PushFilterToVisitedPlatformViews (std::shared_ptr< const DlImageFilter> filter,
240
+ const SkRect& filter_rect);
243
241
244
242
// Pushes the view id of a visted platform view to the list of visied platform views.
245
243
void PushVisitedPlatformView (int64_t view_id) { visited_platform_views_.push_back (view_id); }
0 commit comments