2018-09-14 05:02:16 +00:00
|
|
|
diff --git a/ui/views/widget/widget.cc b/ui/views/widget/widget.cc
|
2018-09-14 18:03:43 +00:00
|
|
|
index bf4b1d07f7fe..8435c60a0786 100644
|
|
|
|
--- a/ui/views/widget/widget.cc
|
|
|
|
+++ b/ui/views/widget/widget.cc
|
|
|
|
@@ -995,7 +995,8 @@ bool Widget::IsTranslucentWindowOpacitySupported() const {
|
|
|
|
|
2018-09-14 05:02:16 +00:00
|
|
|
void Widget::OnSizeConstraintsChanged() {
|
|
|
|
native_widget_->OnSizeConstraintsChanged();
|
|
|
|
- non_client_view_->SizeConstraintsChanged();
|
|
|
|
+ if (non_client_view_)
|
|
|
|
+ non_client_view_->SizeConstraintsChanged();
|
|
|
|
}
|
2018-09-14 18:03:43 +00:00
|
|
|
|
2018-09-14 05:02:16 +00:00
|
|
|
void Widget::OnOwnerClosing() {}
|