aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_traits
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout_traits')
-rw-r--r--components/layout_traits/Cargo.toml2
-rw-r--r--components/layout_traits/lib.rs6
2 files changed, 5 insertions, 3 deletions
diff --git a/components/layout_traits/Cargo.toml b/components/layout_traits/Cargo.toml
index bfc5053ce22..a320a77263a 100644
--- a/components/layout_traits/Cargo.toml
+++ b/components/layout_traits/Cargo.toml
@@ -22,4 +22,4 @@ profile_traits = {path = "../profile_traits"}
script_traits = {path = "../script_traits"}
servo_url = {path = "../url"}
servo_geometry = {path = "../geometry"}
-webrender_api = {git = "https://github.com/servo/webrender", features = ["ipc"]}
+webrender_api = {git = "https://github.com/servo/webrender"}
diff --git a/components/layout_traits/lib.rs b/components/layout_traits/lib.rs
index b499bef85c6..942d37a8c87 100644
--- a/components/layout_traits/lib.rs
+++ b/components/layout_traits/lib.rs
@@ -18,7 +18,9 @@ use msg::constellation_msg::{BackgroundHangMonitorRegister, PipelineId};
use net_traits::image_cache::ImageCache;
use profile_traits::{mem, time};
use script_traits::LayoutMsg as ConstellationMsg;
-use script_traits::{ConstellationControlMsg, LayoutControlMsg, WindowSizeData};
+use script_traits::{
+ ConstellationControlMsg, LayoutControlMsg, WebrenderIpcSender, WindowSizeData,
+};
use servo_url::ServoUrl;
use std::sync::atomic::AtomicBool;
use std::sync::Arc;
@@ -41,7 +43,7 @@ pub trait LayoutThreadFactory {
font_cache_thread: FontCacheThread,
time_profiler_chan: time::ProfilerChan,
mem_profiler_chan: mem::ProfilerChan,
- webrender_api_sender: webrender_api::RenderApiSender,
+ webrender_api_sender: WebrenderIpcSender,
webrender_document: webrender_api::DocumentId,
paint_time_metrics: PaintTimeMetrics,
busy: Arc<AtomicBool>,