diff options
author | 派卡 (pi-cla) <pirateclip@protonmail.com> | 2024-07-03 18:39:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-03 18:39:45 +0000 |
commit | 650af7db926e9cc070e136f21a56bd47d566d10a (patch) | |
tree | 9c63cd631fd63d710fc5632cf5816fde0e759df7 /components/script/dom/window.rs | |
parent | 959ffad99a57f5f8f0554fed0983317577ae8290 (diff) | |
download | servo-650af7db926e9cc070e136f21a56bd47d566d10a.tar.gz servo-650af7db926e9cc070e136f21a56bd47d566d10a.zip |
webgpu: Remove mutex around Identities (#32682)
Diffstat (limited to 'components/script/dom/window.rs')
-rw-r--r-- | components/script/dom/window.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index fbc526775b5..7ab529b1f25 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -44,7 +44,6 @@ use net_traits::image_cache::{ use net_traits::storage_thread::StorageType; use net_traits::ResourceThreads; use num_traits::ToPrimitive; -use parking_lot::Mutex as ParkMutex; use profile_traits::ipc as ProfiledIpc; use profile_traits::mem::ProfilerChan as MemProfilerChan; use profile_traits::time::ProfilerChan as TimeProfilerChan; @@ -2557,7 +2556,7 @@ impl Window { replace_surrogates: bool, user_agent: Cow<'static, str>, player_context: WindowGLContext, - gpu_id_hub: Arc<ParkMutex<Identities>>, + gpu_id_hub: Arc<Identities>, inherited_secure_context: Option<bool>, ) -> DomRoot<Self> { let error_reporter = CSSErrorReporter { |