Sent log messages to the constellation.

This commit is contained in:
Alan Jeffrey 2016-06-22 17:11:08 -05:00
parent 175340d146
commit 44422744ff
11 changed files with 229 additions and 18 deletions

View file

@ -22,7 +22,6 @@
extern crate android_glue;
#[cfg(not(target_os = "android"))]
extern crate backtrace;
extern crate env_logger;
// The window backed by glutin
extern crate glutin_app as app;
#[cfg(target_os = "android")]
@ -96,8 +95,6 @@ fn main() {
};
initiate_panic_hook();
env_logger::init().unwrap();
setup_logging();
if let Some(token) = content_process_token {
@ -117,6 +114,8 @@ fn main() {
browser: Browser::new(window.clone()),
};
browser.browser.setup_logging();
register_glutin_resize_handler(&window, &mut browser);
browser.browser.handle_events(vec![WindowEvent::InitializeCompositing]);