Browse Source

Removed unused variable.

Steven Kirk 7 years ago
parent
commit
fef1422fdb
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/Windows/Avalonia.Direct2D1/Media/GeometryImpl.cs

+ 0 - 1
src/Windows/Avalonia.Direct2D1/Media/GeometryImpl.cs

@@ -24,7 +24,6 @@ namespace Avalonia.Direct2D1.Media
         /// <inheritdoc/>
         public Rect GetRenderBounds(Avalonia.Media.Pen pen)
         {
-            var factory = AvaloniaLocator.Current.GetService<Factory>();
             return Geometry.GetWidenedBounds((float)(pen?.Thickness ?? 0)).ToAvalonia();
         }