From c3c3e5ed1617b677eda44dd23cc1f8964d96880d Mon Sep 17 00:00:00 2001 From: Jonathan Schwender <55576758+jschwe@users.noreply.github.com> Date: Wed, 18 Dec 2024 10:00:42 +0100 Subject: [PATCH] Fix compilation with --no-default-features (#34678) Signed-off-by: Jonathan Schwender --- components/script/dom/document.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs index de06f82dc0e..5dfcedda5b9 100644 --- a/components/script/dom/document.rs +++ b/components/script/dom/document.rs @@ -255,7 +255,7 @@ pub enum DeclarativeRefresh { }, CreatedAfterLoad, } - +#[cfg(feature = "webgpu")] pub(crate) type WebGPUContextsMap = Rc>>>;