aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_thread/lib.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2019-06-19 16:07:13 +0200
committerSimon Sapin <simon.sapin@exyr.org>2019-06-22 14:59:09 +0200
commit1d38bc041967b88838ed7b006aab9908e2f24474 (patch)
tree9ae175710524777f97a14a85e52dacfd71a5dedd /components/layout_thread/lib.rs
parent112f1ddeba3d79c9e892986a9e550e4eef933b1f (diff)
downloadservo-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.rs6
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>,