diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2019-06-19 16:07:13 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2019-06-22 14:59:09 +0200 |
commit | 1d38bc041967b88838ed7b006aab9908e2f24474 (patch) | |
tree | 9ae175710524777f97a14a85e52dacfd71a5dedd /components/layout_thread/lib.rs | |
parent | 112f1ddeba3d79c9e892986a9e550e4eef933b1f (diff) | |
download | servo-1d38bc041967b88838ed7b006aab9908e2f24474.tar.gz servo-1d38bc041967b88838ed7b006aab9908e2f24474.zip |
Fix some new warnings
Diffstat (limited to 'components/layout_thread/lib.rs')
-rw-r--r-- | components/layout_thread/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/layout_thread/lib.rs b/components/layout_thread/lib.rs index 888bc227e87..3e76f02c69e 100644 --- a/components/layout_thread/lib.rs +++ b/components/layout_thread/lib.rs @@ -156,7 +156,7 @@ pub struct LayoutThread { font_cache_sender: IpcSender<()>, /// A means of communication with the background hang monitor. - background_hang_monitor: Box<BackgroundHangMonitor>, + background_hang_monitor: Box<dyn BackgroundHangMonitor>, /// The channel on which messages can be sent to the constellation. constellation_chan: IpcSender<ConstellationMsg>, @@ -296,7 +296,7 @@ impl LayoutThreadFactory for LayoutThread { is_iframe: bool, chan: (Sender<Msg>, Receiver<Msg>), pipeline_port: IpcReceiver<LayoutControlMsg>, - background_hang_monitor_register: Box<BackgroundHangMonitorRegister>, + background_hang_monitor_register: Box<dyn BackgroundHangMonitorRegister>, constellation_chan: IpcSender<ConstellationMsg>, script_chan: IpcSender<ConstellationControlMsg>, image_cache: Arc<dyn ImageCache>, @@ -520,7 +520,7 @@ impl LayoutThread { is_iframe: bool, port: Receiver<Msg>, pipeline_port: IpcReceiver<LayoutControlMsg>, - background_hang_monitor: Box<BackgroundHangMonitor>, + background_hang_monitor: Box<dyn BackgroundHangMonitor>, constellation_chan: IpcSender<ConstellationMsg>, script_chan: IpcSender<ConstellationControlMsg>, image_cache: Arc<dyn ImageCache>, |