aboutsummaryrefslogtreecommitdiffstats
path: root/components/shared/script/script_msg.rs
diff options
context:
space:
mode:
authorSamson <16504129+sagudev@users.noreply.github.com>2024-09-21 06:20:18 +0200
committerGitHub <noreply@github.com>2024-09-21 04:20:18 +0000
commit24ad2a05268ebc21b5ad127dac28d1e6f880512c (patch)
treee8338c9b9f0876f5896cc6ea13540a9c6edac6f5 /components/shared/script/script_msg.rs
parent28d28d0a0a9c9ee2acf45593b9e6c0288857f0a9 (diff)
downloadservo-24ad2a05268ebc21b5ad127dac28d1e6f880512c.tar.gz
servo-24ad2a05268ebc21b5ad127dac28d1e6f880512c.zip
chore: Update wgpu (#33506)
* Update wgpu Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * use all backends at runtime Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * clean up some adapter stuff Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Update expectations Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * flakes Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Diffstat (limited to 'components/shared/script/script_msg.rs')
-rw-r--r--components/shared/script/script_msg.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/shared/script/script_msg.rs b/components/shared/script/script_msg.rs
index 6355f13754a..ee8e8da1386 100644
--- a/components/shared/script/script_msg.rs
+++ b/components/shared/script/script_msg.rs
@@ -22,7 +22,6 @@ use net_traits::storage_thread::StorageType;
use net_traits::CoreResourceMsg;
use serde::{Deserialize, Serialize};
use servo_url::{ImmutableOrigin, ServoUrl};
-use smallvec::SmallVec;
use style_traits::CSSPixel;
use webgpu::{wgc, WebGPU, WebGPUResponse};
use webrender_api::units::{DeviceIntPoint, DeviceIntSize};
@@ -259,7 +258,7 @@ pub enum ScriptMsg {
RequestAdapter(
IpcSender<WebGPUResponse>,
wgc::instance::RequestAdapterOptions,
- SmallVec<[wgc::id::AdapterId; 4]>,
+ wgc::id::AdapterId,
),
/// Get WebGPU channel
GetWebGPUChan(IpcSender<Option<WebGPU>>),