commit 444f01bb4c74621c12c5ffeb93272905483b73be
parent 22e501aa0ae6f19b439861b27355afc2349ab72e
Author: Atila Butkovits <abutkovits@mozilla.com>
Date: Thu, 6 Nov 2025 09:39:51 +0200
Revert "Bug 1998397 - Make nsWindow::sCurrentCursor MOZ_CONSTINIT instead of MOZ_RUNINIT r=emilio,win-reviewers,gstoll" for causing bustages at nsWindow.cpp.
This reverts commit 8ac9b654258da137a48005f179a897c15b5e8a24.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/widget/windows/nsWindow.cpp b/widget/windows/nsWindow.cpp
@@ -254,7 +254,7 @@ static const wchar_t kUser32LibName[] = L"user32.dll";
uint32_t nsWindow::sInstanceCount = 0;
bool nsWindow::sIsOleInitialized = false;
-MOZ_CONSTINIT nsIWidget::Cursor nsWindow::sCurrentCursor = {};
+MOZ_RUNINIT nsIWidget::Cursor nsWindow::sCurrentCursor = {};
nsWindow* nsWindow::sCurrentWindow = nullptr;
bool nsWindow::sJustGotDeactivate = false;
bool nsWindow::sJustGotActivate = false;