mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Dead code elimination
This commit is contained in:
parent
373ae0e341
commit
f2a64db151
1 changed files with 0 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue