aboutsummaryrefslogtreecommitdiffstats
path: root/components/shared/script/script_msg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/shared/script/script_msg.rs')
-rw-r--r--components/shared/script/script_msg.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/shared/script/script_msg.rs b/components/shared/script/script_msg.rs
index f67a7d0ac07..33ebb496dc7 100644
--- a/components/shared/script/script_msg.rs
+++ b/components/shared/script/script_msg.rs
@@ -24,7 +24,7 @@ use servo_url::{ImmutableOrigin, ServoUrl};
use strum_macros::IntoStaticStr;
use style_traits::CSSPixel;
#[cfg(feature = "webgpu")]
-use webgpu::{WebGPU, WebGPUResponse, wgc};
+use webgpu::{WebGPU, WebGPUAdapterResponse, wgc};
use webrender_api::ImageKey;
use crate::mem::MemoryReportResult;
@@ -204,7 +204,7 @@ pub enum ScriptMsg {
#[cfg(feature = "webgpu")]
/// Create a WebGPU Adapter instance
RequestAdapter(
- IpcSender<WebGPUResponse>,
+ IpcSender<WebGPUAdapterResponse>,
wgc::instance::RequestAdapterOptions,
wgc::id::AdapterId,
),