aboutsummaryrefslogtreecommitdiffstats
path: root/components/shared/script
diff options
context:
space:
mode:
authorLucas Montenegro <40044087+lucasMontenegro@users.noreply.github.com>2023-12-20 02:57:48 -0300
committerGitHub <noreply@github.com>2023-12-20 05:57:48 +0000
commit256ab5353b9145dbda103ec48cf4d10f32f6912a (patch)
tree8ac740b2c48d64d86b65ece9e7e60a0c7506e24d /components/shared/script
parent8bbcf0abafc22cd840cd03f36b5b3b7d2d815493 (diff)
downloadservo-256ab5353b9145dbda103ec48cf4d10f32f6912a.tar.gz
servo-256ab5353b9145dbda103ec48cf4d10f32f6912a.zip
These changes fix #30843 (#30888)
Signed-off-by: Lucas Fabián Montenegro <40044087+lucasMontenegro@users.noreply.github.com>
Diffstat (limited to 'components/shared/script')
-rw-r--r--components/shared/script/script_msg.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/shared/script/script_msg.rs b/components/shared/script/script_msg.rs
index 42be2685ccf..614362575b3 100644
--- a/components/shared/script/script_msg.rs
+++ b/components/shared/script/script_msg.rs
@@ -263,7 +263,7 @@ pub enum ScriptMsg {
SmallVec<[wgpu::id::AdapterId; 4]>,
),
/// Get WebGPU channel
- GetWebGPUChan(IpcSender<WebGPU>),
+ GetWebGPUChan(IpcSender<Option<WebGPU>>),
/// Notify the constellation of a pipeline's document's title.
TitleChanged(PipelineId, String),
}