diff --git a/components/script/dom/idbobjectstore.rs b/components/script/dom/idbobjectstore.rs index 30b9f3345c0..618dc644c17 100644 --- a/components/script/dom/idbobjectstore.rs +++ b/components/script/dom/idbobjectstore.rs @@ -128,7 +128,6 @@ impl IDBObjectStore { self.global() .resource_threads() - .sender() .send(IndexedDBThreadMsg::Sync(operation)) .unwrap(); diff --git a/components/script/dom/idbopendbrequest.rs b/components/script/dom/idbopendbrequest.rs index 1b5bc12038a..e1c22ab8e9b 100644 --- a/components/script/dom/idbopendbrequest.rs +++ b/components/script/dom/idbopendbrequest.rs @@ -288,7 +288,6 @@ impl IDBOpenDBRequest { global .resource_threads() - .sender() .send(IndexedDBThreadMsg::Sync(open_operation)) .unwrap(); } @@ -320,7 +319,6 @@ impl IDBOpenDBRequest { global .resource_threads() - .sender() .send(IndexedDBThreadMsg::Sync(delete_operation)) .unwrap(); } diff --git a/components/script/dom/idbrequest.rs b/components/script/dom/idbrequest.rs index 649ae9eed93..f5b74d35a25 100644 --- a/components/script/dom/idbrequest.rs +++ b/components/script/dom/idbrequest.rs @@ -308,7 +308,6 @@ impl IDBRequest { transaction .global() .resource_threads() - .sender() .send(IndexedDBThreadMsg::Async( global.origin().immutable().clone(), transaction.get_db_name().to_string(), diff --git a/components/script/dom/idbtransaction.rs b/components/script/dom/idbtransaction.rs index a386cc23bf7..18b8e5414d6 100644 --- a/components/script/dom/idbtransaction.rs +++ b/components/script/dom/idbtransaction.rs @@ -105,7 +105,6 @@ impl IDBTransaction { global .resource_threads() - .sender() .send(IndexedDBThreadMsg::Sync(SyncOperation::RegisterNewTxn( sender, global.origin().immutable().clone(), diff --git a/components/script/dom/windowproxy.rs b/components/script/dom/windowproxy.rs index 022a940adc1..e2d5a2154ca 100644 --- a/components/script/dom/windowproxy.rs +++ b/components/script/dom/windowproxy.rs @@ -356,12 +356,7 @@ impl WindowProxy { dest: response.new_webview_id, }; - document - .global() - .resource_threads() - .sender() - .send(msg) - .unwrap(); + document.global().resource_threads().send(msg).unwrap(); receiver.recv().unwrap(); } Some(new_window_proxy)