mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
parent
f5e97ef1b5
commit
9c11781880
20 changed files with 25 additions and 29 deletions
|
@ -1320,7 +1320,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
|
|||
// Return unused tiles first, so that they can be reused by any new BufferRequests.
|
||||
self.cache_unused_buffers(unused_buffers);
|
||||
|
||||
if layers_and_requests.len() == 0 {
|
||||
if layers_and_requests.is_empty() {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -1803,4 +1803,3 @@ pub enum CompositingReason {
|
|||
/// The window has been zoomed.
|
||||
Zoom,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue