Bug 2071197 - Fix NewPresState() after field reorder.

This commit is contained in:
Emilio Cobos Álvarez
2026-09-12 16:00:31 +00:00
committed by agoloman@mozilla.com
parent df22bd7905
commit b4563de953
+5 -5
View File
@@ -163,13 +163,13 @@ namespace mozilla {
UniquePtr<PresState> NewPresState() {
return MakeUnique<PresState>(
/* contentData */ mozilla::void_t(),
/* scrollState */ nsPoint(0, 0),
/* allowScrollOriginDowngrade */ true,
/* scrollState */ nsPoint(),
/* scrollEventGeneration */ 0,
/* scrollEndEventGeneration */ 0,
/* resolution */ 1.0,
/* allowScrollOriginDowngrade */ true,
/* disabledSet */ false,
/* disabled */ false,
/* droppedDown */ false,
/* scrollEventGeneration */ 0,
/* scrollEndEventGeneration */ 0);
/* droppedDown */ false);
}
} // namespace mozilla