Skip to content

Commit

Permalink
Dead code elimination
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Jeffrey committed Jul 1, 2019
1 parent 373ae0e commit f2a64db
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ports/glutin/app.rs
Expand Up @@ -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 {
Expand Down

0 comments on commit f2a64db

Please sign in to comment.