Browse Source

gfx::Path -> SkPath

https://chromium-review.googlesource.com/c/1392181
Jeremy Apthorp 6 years ago
parent
commit
34d7e019ce
2 changed files with 2 additions and 3 deletions
  1. 1 2
      atom/browser/ui/views/frameless_view.cc
  2. 1 1
      atom/browser/ui/views/frameless_view.h

+ 1 - 2
atom/browser/ui/views/frameless_view.cc

@@ -82,8 +82,7 @@ int FramelessView::NonClientHitTest(const gfx::Point& cursor) {
   return HTCLIENT;
 }
 
-void FramelessView::GetWindowMask(const gfx::Size& size,
-                                  gfx::Path* window_mask) {}
+void FramelessView::GetWindowMask(const gfx::Size& size, SkPath* window_mask) {}
 
 void FramelessView::ResetWindowControls() {}
 

+ 1 - 1
atom/browser/ui/views/frameless_view.h

@@ -32,7 +32,7 @@ class FramelessView : public views::NonClientFrameView {
   gfx::Rect GetWindowBoundsForClientBounds(
       const gfx::Rect& client_bounds) const override;
   int NonClientHitTest(const gfx::Point& point) override;
-  void GetWindowMask(const gfx::Size& size, gfx::Path* window_mask) override;
+  void GetWindowMask(const gfx::Size& size, SkPath* window_mask) override;
   void ResetWindowControls() override;
   void UpdateWindowIcon() override;
   void UpdateWindowTitle() override;