-
- Downloads
Bug 1710533 - Apply the widget size constraints to newBounds r=mstange,gfx-reviewers
When nsView::CalcWidgetBounds() size might be applied to widget with modification. And next widget->GetClientBounds() could be different than nsView::CalcWidgetBounds() again with several reasons. But it seems OK to apply widget->ConstrainSize() in nsView::DoResetWidgetBounds(). It could remove repaint because of widget->ConstrainSize() call in the Resize(). Differential Revision: https://phabricator.services.mozilla.com/D114814
Showing
- toolkit/content/tests/chrome/window_panel.xhtml 1 addition, 1 deletiontoolkit/content/tests/chrome/window_panel.xhtml
- view/nsView.cpp 3 additions, 0 deletionsview/nsView.cpp
- widget/nsBaseWidget.h 1 addition, 1 deletionwidget/nsBaseWidget.h
- widget/nsIWidget.h 8 additions, 0 deletionswidget/nsIWidget.h
Loading
Please register or sign in to comment