Skip to content
Permalink
Browse files

Dead code elimination

  • Loading branch information...
asajeffrey committed Jul 1, 2019
1 parent 373ae0e commit f2a64db15113d0b531fd4fcfc389d96790817cf9
Showing with 0 additions and 4 deletions.
  1. +0 −4 ports/glutin/app.rs
@@ -69,10 +69,6 @@ impl App {
mem::replace(&mut *self.event_queue.borrow_mut(), Vec::new())
}

fn has_events(&self) -> bool {
!self.event_queue.borrow().is_empty() || self.window.has_events()
}

// This function decides whether the event should be handled during `run_forever`.
fn winit_event_to_servo_event(&self, event: glutin::Event) -> glutin::ControlFlow {
match event {

0 comments on commit f2a64db

Please sign in to comment.
You can’t perform that action at this time.