diff options
Diffstat (limited to 'components/compositing')
-rw-r--r-- | components/compositing/compositor.rs | 10 | ||||
-rw-r--r-- | components/compositing/webview.rs | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/components/compositing/compositor.rs b/components/compositing/compositor.rs index 671a4cb2b63..b41f4411f5e 100644 --- a/components/compositing/compositor.rs +++ b/components/compositing/compositor.rs @@ -5,7 +5,7 @@ use std::cell::Cell; use std::collections::HashMap; use std::env; -use std::fs::{create_dir_all, File}; +use std::fs::{File, create_dir_all}; use std::io::Write; use std::iter::once; use std::rc::Rc; @@ -58,10 +58,10 @@ use webrender_traits::{ CompositorHitTestResult, CrossProcessCompositorMessage, ImageUpdate, UntrustedNodeAddress, }; +use crate::InitialCompositorState; use crate::touch::{TouchHandler, TouchMoveAction, TouchMoveAllowed, TouchSequenceState}; use crate::webview::{UnknownWebView, WebView, WebViewManager}; use crate::windowing::{self, EmbedderCoordinates, WebRenderDebugOption, WindowMethods}; -use crate::InitialCompositorState; #[derive(Debug, PartialEq)] enum UnableToComposite { @@ -599,7 +599,7 @@ impl IOCompositor { Err(error) => { return warn!( "Could not receive WebRender display list items data: {error}" - ) + ); }, }; let cache_data = match display_list_receiver.recv() { @@ -607,7 +607,7 @@ impl IOCompositor { Err(error) => { return warn!( "Could not receive WebRender display list cache data: {error}" - ) + ); }, }; let spatial_tree = match display_list_receiver.recv() { @@ -615,7 +615,7 @@ impl IOCompositor { Err(error) => { return warn!( "Could not receive WebRender display list spatial tree: {error}." - ) + ); }, }; let built_display_list = BuiltDisplayList::from_data( diff --git a/components/compositing/webview.rs b/components/compositing/webview.rs index 8a58a2e20c4..fba469539d5 100644 --- a/components/compositing/webview.rs +++ b/components/compositing/webview.rs @@ -2,8 +2,8 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ -use std::collections::hash_map::Entry; use std::collections::HashMap; +use std::collections::hash_map::Entry; use base::id::{PipelineId, WebViewId}; use webrender_api::units::DeviceRect; |