aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main/servo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/main/servo.rs')
-rw-r--r--src/components/main/servo.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/main/servo.rs b/src/components/main/servo.rs
index 49f68a2bf1b..f845846280e 100644
--- a/src/components/main/servo.rs
+++ b/src/components/main/servo.rs
@@ -20,6 +20,7 @@ extern crate servo_msg = "msg";
#[phase(plugin, link)]
extern crate servo_util = "util";
extern crate green;
+extern crate gfx;
extern crate libc;
extern crate native;
extern crate rustrt;
@@ -35,6 +36,8 @@ use servo_net::image_cache_task::{ImageCacheTask, SyncImageCacheTask};
#[cfg(not(test))]
use servo_net::resource_task::ResourceTask;
#[cfg(not(test))]
+use gfx::font_cache_task::FontCacheTask;
+#[cfg(not(test))]
use servo_util::time::TimeProfiler;
#[cfg(not(test))]
use servo_util::memory::MemoryProfiler;
@@ -115,10 +118,12 @@ pub fn run(opts: opts::Opts) {
} else {
ImageCacheTask(resource_task.clone())
};
+ let font_cache_task = FontCacheTask::new();
let constellation_chan = Constellation::start(compositor_chan,
opts,
resource_task,
image_cache_task,
+ font_cache_task,
time_profiler_chan_clone);
// Send the URL command to the constellation.