Skip to content

Commit

Permalink
gfx::Path -> SkPath
Browse files Browse the repository at this point in the history
  • Loading branch information
nornagon committed Jan 31, 2019
1 parent 9896472 commit 426c517
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions atom/browser/ui/views/frameless_view.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}

Expand Down
2 changes: 1 addition & 1 deletion atom/browser/ui/views/frameless_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 426c517

Please sign in to comment.