do not pass new size to Resize event

This commit is contained in:
Paul Rouget 2017-11-07 10:21:52 +01:00
parent 4a132437df
commit 8a219e8a81
6 changed files with 14 additions and 16 deletions

View file

@ -265,8 +265,8 @@ impl<Window> Servo<Window> where Window: WindowMethods + 'static {
self.compositor.composite();
}
WindowEvent::Resize(size) => {
self.compositor.on_resize_window_event(size);
WindowEvent::Resize => {
self.compositor.on_resize_window_event();
}
WindowEvent::LoadUrl(top_level_browsing_context_id, url) => {