@@ -112,8 +112,8 @@ class IOSContextGL;
112112class IOSSurface;
113113
114114struct 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,
117117 std::unique_ptr<IOSSurface> ios_surface,
118118 std::unique_ptr<Surface> surface);
119119
@@ -144,11 +144,10 @@ class FlutterPlatformViewLayerPool {
144144 // Finally, it marks the layer as used. That is, it increments `available_layer_index_`.
145145 std::shared_ptr<FlutterPlatformViewLayer> GetLayer (GrDirectContext* gr_context,
146146 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 ();
152151
153152 // Marks the layers in the pool as available for reuse.
154153 void RecycleLayers ();
@@ -208,13 +207,12 @@ class FlutterPlatformViewsController {
208207 // returns nil.
209208 UIView* GetPlatformViewByID (int view_id);
210209
211- PostPrerollResult PostPrerollAction (
212- fml::RefPtr<fml::RasterThreadMerger> rasteconst r_thread_merger);
210+ PostPrerollResult PostPrerollAction (fml::RefPtr<fml::RasterThreadMerger> raster_thread_merger);
213211
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 );
216214
217- std::vector<SkC & anvas *> GetCurrentCanvases ();
215+ std::vector<SkCanvas *> GetCurrentCanvases ();
218216
219217 std::vector<DisplayListBuilder*> GetCurrentBuilders ();
220218
@@ -229,7 +227,7 @@ class FlutterPlatformViewsController {
229227
230228 bool SubmitFrame (GrDirectContext* gr_context,
231229 std::shared_ptr<IOSContext> ios_context,
232- const std::uniq& ue_ptr <SurfaceFrame> frame);
230+ std::unique_ptr <SurfaceFrame> frame);
233231
234232 void OnMethodCall (FlutterMethodCall* call, FlutterResult& result);
235233
@@ -238,8 +236,8 @@ class FlutterPlatformViewsController {
238236 long FindFirstResponderPlatformViewId ();
239237
240238 // 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);
243241
244242 // Pushes the view id of a visted platform view to the list of visied platform views.
245243 void PushVisitedPlatformView (int64_t view_id) { visited_platform_views_.push_back (view_id); }
0 commit comments