refactor: replace deprecated DISALLOW_COPY_AND_ASSIGN (#31633)

This commit is contained in:
Milan Burda 2021-11-03 12:41:45 +01:00 committed by GitHub
parent 2a2a1a834c
commit 65a980c673
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
231 changed files with 918 additions and 576 deletions

View file

@ -21,6 +21,10 @@ class FramelessView : public views::NonClientFrameView {
FramelessView();
~FramelessView() override;
// disable copy
FramelessView(const FramelessView&) = delete;
FramelessView& operator=(const FramelessView&) = delete;
virtual void Init(NativeWindowViews* window, views::Widget* frame);
// Returns whether the |point| is on frameless window's resizing border.
@ -49,9 +53,6 @@ class FramelessView : public views::NonClientFrameView {
views::Widget* frame_ = nullptr;
friend class NativeWindowsViews;
private:
DISALLOW_COPY_AND_ASSIGN(FramelessView);
};
} // namespace electron