diff options
Diffstat (limited to 'components/script/dom/window.rs')
-rw-r--r-- | components/script/dom/window.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index 3d3d7dde2a7..a78dcda8893 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -3,7 +3,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use app_units::Au; -use bluetooth_traits::BluetoothMethodMsg; +use bluetooth_traits::BluetoothRequest; use cssparser::Parser; use devtools_traits::{ScriptToDevtoolsControlMsg, TimelineMarker, TimelineMarkerType}; use dom::bindings::callback::ExceptionHandling; @@ -203,7 +203,7 @@ pub struct Window { /// A handle for communicating messages to the bluetooth thread. #[ignore_heap_size_of = "channels are hard"] - bluetooth_thread: IpcSender<BluetoothMethodMsg>, + bluetooth_thread: IpcSender<BluetoothRequest>, /// Pending scroll to fragment event, if any fragment_name: DOMRefCell<Option<String>>, @@ -304,7 +304,7 @@ impl Window { self.browsing_context.get().unwrap() } - pub fn bluetooth_thread(&self) -> IpcSender<BluetoothMethodMsg> { + pub fn bluetooth_thread(&self) -> IpcSender<BluetoothRequest> { self.bluetooth_thread.clone() } @@ -1521,7 +1521,7 @@ impl Window { image_cache_chan: ImageCacheChan, image_cache_thread: ImageCacheThread, resource_threads: ResourceThreads, - bluetooth_thread: IpcSender<BluetoothMethodMsg>, + bluetooth_thread: IpcSender<BluetoothRequest>, mem_profiler_chan: mem::ProfilerChan, time_profiler_chan: ProfilerChan, devtools_chan: Option<IpcSender<ScriptToDevtoolsControlMsg>>, |