remove no-op InitializeCompositing message

This commit is contained in:
Paul Rouget 2017-07-11 08:19:47 +02:00
parent ebfc8f5858
commit ff6dc856e6
4 changed files with 1 additions and 15 deletions

View file

@ -486,8 +486,7 @@ full_cef_class_impl! {
this.downcast().send_window_event(WindowEvent::PinchZoom((new_zoom_level / old_zoom_level) as f32))
}}
fn initialize_compositing(&this,) -> () {{
this.downcast().send_window_event(WindowEvent::InitializeCompositing);
fn initialize_compositing(&_this,) -> () {{
}}
fn composite(&this,) -> () {{

View file

@ -165,8 +165,6 @@ fn main() {
register_glutin_resize_handler(&window, &mut browser);
browser.browser.handle_events(vec![WindowEvent::InitializeCompositing]);
// Feed events from the window to the browser until the browser
// says to stop.
loop {