mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
using local variable instead of a function call.
the data of `frame_size` is already storage into `new_frame_size`
This commit is contained in:
parent
df0f9ad7ae
commit
248edaaf26
1 changed files with 1 additions and 1 deletions
|
@ -674,7 +674,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
|
|||
return;
|
||||
}
|
||||
|
||||
self.frame_size = self.window.framebuffer_size();
|
||||
self.frame_size = new_frame_size;
|
||||
self.window_rect = new_window_rect;
|
||||
|
||||
self.send_window_size(WindowSizeType::Resize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue