Skip to content

Commit 3cb4ea8

Browse files
committed
chore: Address comment
1 parent 066ec1a commit 3cb4ea8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Uno.UI.Runtime.Skia.AppleUIKit/UI/Xaml/Window/RootViewController.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,12 @@ namespace Uno.UI.Runtime.Skia.AppleUIKit;
3131

3232
internal class RootViewController : UINavigationController, IAppleUIKitXamlRootHost
3333
{
34-
private readonly SkiaRenderHelper.FpsHelper _fpsHelper = new();
35-
3634
private SkiaCanvas? _skCanvasView;
3735
private XamlRoot? _xamlRoot;
3836
private UIView? _textInputLayer;
3937
private UIView? _nativeOverlayLayer;
4038
private string? _lastSvgClipPath;
4139
private SKPicture? _picture;
42-
private SKPath? _clipPath;
4340

4441
public RootViewController()
4542
{
@@ -309,9 +306,8 @@ public void InvalidateRender()
309306
invertPath: false);
310307

311308
Interlocked.Exchange(ref _picture, picture);
312-
Interlocked.Exchange(ref _clipPath, path);
313309

314-
UpdateNativeClipping(_clipPath);
310+
UpdateNativeClipping(path);
315311

316312
#if !__TVOS__
317313
_skCanvasView?.QueueRender();

0 commit comments

Comments
 (0)