mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
lint
This commit is contained in:
@@ -1520,9 +1520,6 @@ void NativeWindowViews::OnWidgetBoundsChanged(views::Widget* changed_widget,
|
||||
// handle minimized windows on Windows.
|
||||
const auto new_bounds = GetBounds();
|
||||
if (widget_size_ != new_bounds.size()) {
|
||||
int width_delta = new_bounds.width() - widget_size_.width();
|
||||
int height_delta = new_bounds.height() - widget_size_.height();
|
||||
|
||||
NotifyWindowResize();
|
||||
widget_size_ = new_bounds.size();
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
// ease of use in gin converters.
|
||||
struct WrappedSkColor {
|
||||
WrappedSkColor() {}
|
||||
WrappedSkColor(SkColor c) : value(c) {}
|
||||
WrappedSkColor(SkColor c) : value(c) {} // NOLINT(runtime/explicit)
|
||||
SkColor value;
|
||||
operator SkColor() const { return value; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user