mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-02 13:58:40 +09:00
Avoid useless FrameNeedsReflow call.
This commit is contained in:
parent
0c5263683a
commit
07716cb1d7
1 changed files with 3 additions and 0 deletions
|
|
@ -1040,6 +1040,9 @@ nsComboboxControlFrame::HandleRedisplayTextEvent()
|
|||
mRedisplayTextEvent.Forget();
|
||||
|
||||
ActuallyDisplayText(true);
|
||||
if (!weakThis.IsAlive())
|
||||
return;
|
||||
|
||||
// XXXbz This should perhaps be eResize. Check.
|
||||
PresContext()->PresShell()->FrameNeedsReflow(mDisplayFrame,
|
||||
nsIPresShell::eStyleChange,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue