From 34d7e019ce38f1f6c853b1dfaecfe61af2f5bc4c Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Thu, 31 Jan 2019 14:14:32 -0800 Subject: [PATCH] gfx::Path -> SkPath https://chromium-review.googlesource.com/c/1392181 --- atom/browser/ui/views/frameless_view.cc | 3 +-- atom/browser/ui/views/frameless_view.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/atom/browser/ui/views/frameless_view.cc b/atom/browser/ui/views/frameless_view.cc index 8959ee13612..9bbc95cdd8b 100644 --- a/atom/browser/ui/views/frameless_view.cc +++ b/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() {} diff --git a/atom/browser/ui/views/frameless_view.h b/atom/browser/ui/views/frameless_view.h index a9d1e4b5490..fad09d255e5 100644 --- a/atom/browser/ui/views/frameless_view.h +++ b/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;