commit f0ae0ea567b04003bd1efcf59840618a40d301b4
parent e2c73604ede5f93421b83319592d7b716856592e
Author: Daniel Holbert <dholbert@cs.stanford.edu>
Date: Tue, 30 Dec 2025 15:12:42 +0000
Bug 2007110: Reorder popup painting logic to fix checkbox paint invalidation. r=emilio,layout-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D277628
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layout/base/nsRefreshDriver.cpp b/layout/base/nsRefreshDriver.cpp
@@ -2628,11 +2628,11 @@ bool nsRefreshDriver::PaintIfNeeded() {
{
PaintTelemetry::AutoRecordPaint record;
ps->SyncWindowPropertiesIfNeeded();
- ps->PaintSynchronously();
// Paint our popups.
if (nsXULPopupManager* pm = nsXULPopupManager::GetInstance()) {
pm->PaintPopups(this);
}
+ ps->PaintSynchronously();
}
return true;
}