servo: Merge #8641 - No more headless compositor. Just the normal one (from notriddle:no_headless); r=glennw

Fixes #8573

Source-Repo: https://github.com/servo/servo
Source-Revision: aac2da75f40f4c55a4b450b6d9d134429fcf741e
This commit is contained in:
Michael Howell
2016-03-29 12:12:01 +05:00
parent 686c77ebbc
commit f72d7780fc
25 changed files with 119 additions and 474 deletions

View File

@@ -548,6 +548,7 @@ impl ScriptThreadFactory for ScriptThread {
let reporter_name = format!("script-reporter-{}", id);
mem_profiler_chan.run_with_memory_reporting(|| {
script_thread.start();
let _ = script_thread.compositor.borrow_mut().send(ScriptToCompositorMsg::Exited);
let _ = script_thread.content_process_shutdown_chan.send(());
}, reporter_name, channel_for_reporter, CommonScriptMsg::CollectReports);