diff options
Diffstat (limited to 'components/canvas/canvas_paint_thread.rs')
-rw-r--r-- | components/canvas/canvas_paint_thread.rs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/components/canvas/canvas_paint_thread.rs b/components/canvas/canvas_paint_thread.rs index f2918f19c4b..7234aaed4ab 100644 --- a/components/canvas/canvas_paint_thread.rs +++ b/components/canvas/canvas_paint_thread.rs @@ -2,7 +2,10 @@ * 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 crate::canvas_data::*; +use std::borrow::ToOwned; +use std::collections::HashMap; +use std::thread; + use canvas_traits::canvas::*; use canvas_traits::ConstellationCanvasMsg; use crossbeam_channel::{select, unbounded, Sender}; @@ -11,11 +14,10 @@ use gfx::font_cache_thread::FontCacheThread; use ipc_channel::ipc::{self, IpcSender}; use ipc_channel::router::ROUTER; use log::warn; -use std::borrow::ToOwned; -use std::collections::HashMap; -use std::thread; use webrender_api::{ImageData, ImageDescriptor, ImageKey}; +use crate::canvas_data::*; + pub enum AntialiasMode { Default, None, |