mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Sent log messages to the constellation.
This commit is contained in:
parent
175340d146
commit
44422744ff
11 changed files with 229 additions and 18 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue