mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 803556 - Schedule a paint whenever we reflow a display root frame. r=roc
This commit is contained in:
parent
440c757a16
commit
05fe77431e
@ -355,6 +355,8 @@ nsListControlFrame::Reflow(nsPresContext* aPresContext,
|
||||
NS_PRECONDITION(aReflowState.ComputedWidth() != NS_UNCONSTRAINEDSIZE,
|
||||
"Must have a computed width");
|
||||
|
||||
SchedulePaint();
|
||||
|
||||
mHasPendingInterruptAtStartOfReflow = aPresContext->HasPendingInterrupt();
|
||||
|
||||
// If all the content and frames are here
|
||||
|
@ -385,6 +385,8 @@ nsMenuPopupFrame::LayoutPopup(nsBoxLayoutState& aState, nsIFrame* aParentMenu, b
|
||||
if (!mGeneratedChildren)
|
||||
return;
|
||||
|
||||
SchedulePaint();
|
||||
|
||||
bool shouldPosition = true;
|
||||
bool isOpen = IsOpen();
|
||||
if (!isOpen) {
|
||||
|
Loading…
Reference in New Issue
Block a user