mirror of
https://github.com/electron/electron.git
synced 2026-02-19 03:14:51 -05:00
fix: warning: default arguments on virtual or override methods (#49398)
fix: warning: default arguments on virtual or override methods are prohibited [google-default-arguments] we never override these, so just make them nonvirtual
This commit is contained in:
@@ -106,9 +106,9 @@ class NativeWindow : public base::SupportsUserData,
|
||||
void SetPosition(const gfx::Point& position, bool animate = false);
|
||||
[[nodiscard]] gfx::Point GetPosition() const;
|
||||
|
||||
virtual void SetContentSize(const gfx::Size& size, bool animate = false);
|
||||
void SetContentSize(const gfx::Size& size, bool animate = false);
|
||||
virtual gfx::Size GetContentSize() const;
|
||||
virtual void SetContentBounds(const gfx::Rect& bounds, bool animate = false);
|
||||
void SetContentBounds(const gfx::Rect& bounds, bool animate = false);
|
||||
virtual gfx::Rect GetContentBounds() const;
|
||||
virtual bool IsNormal() const;
|
||||
virtual gfx::Rect GetNormalBounds() const = 0;
|
||||
|
||||
Reference in New Issue
Block a user