diff options
author | Jonathan Schwender <55576758+jschwe@users.noreply.github.com> | 2024-12-18 10:00:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-18 09:00:42 +0000 |
commit | c3c3e5ed1617b677eda44dd23cc1f8964d96880d (patch) | |
tree | 9ff38e8aed6f43462a975cffd64d6de159989b9d /components/script | |
parent | 7ee0a7d7652d23200420159e0077ce948fa81e74 (diff) | |
download | servo-c3c3e5ed1617b677eda44dd23cc1f8964d96880d.tar.gz servo-c3c3e5ed1617b677eda44dd23cc1f8964d96880d.zip |
Fix compilation with --no-default-features (#34678)
Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
Diffstat (limited to 'components/script')
-rw-r--r-- | components/script/dom/document.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<RefCell<HashMapTracedValues<WebGPUContextId, WeakRef<GPUCanvasContext>>>>; |