diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-05-20 13:11:36 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-05-20 13:11:36 +0200 |
commit | 0071b45449d64320c759af5931b85c4668531342 (patch) | |
tree | f74c9db6f9ca455e73353984c77b3892a1a1f06a /components/script/dom/storage.rs | |
parent | bcea0ada27de694cd0c465d04fd35eba70503d62 (diff) | |
download | servo-0071b45449d64320c759af5931b85c4668531342.tar.gz servo-0071b45449d64320c759af5931b85c4668531342.zip |
Remove the pointless StorageThread alias.
Diffstat (limited to 'components/script/dom/storage.rs')
-rw-r--r-- | components/script/dom/storage.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/script/dom/storage.rs b/components/script/dom/storage.rs index c3004a1031a..a71881fccd6 100644 --- a/components/script/dom/storage.rs +++ b/components/script/dom/storage.rs @@ -14,9 +14,9 @@ use dom::browsingcontext::IterableContext; use dom::event::{Event, EventBubbles, EventCancelable}; use dom::storageevent::StorageEvent; use dom::urlhelper::UrlHelper; -use ipc_channel::ipc; +use ipc_channel::ipc::{self, IpcSender}; use net_traits::IpcSend; -use net_traits::storage_thread::{StorageThread, StorageThreadMsg, StorageType}; +use net_traits::storage_thread::{StorageThreadMsg, StorageType}; use script_thread::{MainThreadRunnable, ScriptThread}; use task_source::dom_manipulation::DOMManipulationTask; use url::Url; @@ -46,7 +46,7 @@ impl Storage { global_ref.get_url() } - fn get_storage_thread(&self) -> StorageThread { + fn get_storage_thread(&self) -> IpcSender<StorageThreadMsg> { let global_root = self.global(); let global_ref = global_root.r(); global_ref.as_window().resource_threads().sender() |