This commit is contained in:
Jeremy Rose
2022-09-15 12:41:05 -07:00
parent b1c7457434
commit ade06e0915
2 changed files with 1 additions and 4 deletions

View File

@@ -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();
}

View File

@@ -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; }
};