mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
do not pass new size to Resize event
This commit is contained in:
parent
4a132437df
commit
8a219e8a81
6 changed files with 14 additions and 16 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue