commit 29fc8838efcd3eaaa9e5b0c022d6678716ce4476
parent a90daf6f3b944f521783c521552c311329ca1ef6
Author: Chris Peterson <cpeterson@mozilla.com>
Date: Tue, 9 Dec 2025 00:01:30 +0000
Bug 2002864 - Replace MOZ_CONSTINIT with C++20 constinit in PresShell.cpp. r=layout-reviewers,dholbert
Differential Revision: https://phabricator.services.mozilla.com/D274508
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layout/base/PresShell.cpp b/layout/base/PresShell.cpp
@@ -234,7 +234,7 @@ using namespace mozilla::layout;
using PaintFrameFlags = nsLayoutUtils::PaintFrameFlags;
typedef ScrollableLayerGuid::ViewID ViewID;
-MOZ_CONSTINIT PresShell::CapturingContentInfo PresShell::sCapturingContentInfo;
+constinit PresShell::CapturingContentInfo PresShell::sCapturingContentInfo;
// RangePaintInfo is used to paint ranges to offscreen buffers
struct RangePaintInfo {