mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove useless use crate_name;
imports.
A `crate_name::foo` path always works in 2018
This commit is contained in:
parent
50c840fe42
commit
9f977c5287
85 changed files with 0 additions and 115 deletions
|
@ -15,11 +15,9 @@ use cssparser::RGBA;
|
|||
use euclid::{Point2D, Rect, Size2D, Transform2D, Vector2D};
|
||||
use ipc_channel::ipc::IpcSender;
|
||||
use num_traits::ToPrimitive;
|
||||
use pixels;
|
||||
use serde_bytes::ByteBuf;
|
||||
use std::mem;
|
||||
use std::sync::Arc;
|
||||
use webrender_api;
|
||||
|
||||
pub struct CanvasData<'a> {
|
||||
drawtarget: DrawTarget,
|
||||
|
|
|
@ -10,7 +10,6 @@ use ipc_channel::ipc::{self, IpcSender};
|
|||
use std::borrow::ToOwned;
|
||||
use std::collections::HashMap;
|
||||
use std::thread;
|
||||
use webrender_api;
|
||||
|
||||
pub struct CanvasPaintThread<'a> {
|
||||
canvases: HashMap<CanvasId, CanvasData<'a>>,
|
||||
|
|
|
@ -13,8 +13,6 @@ use fnv::FnvHashMap;
|
|||
use gleam::gl;
|
||||
use servo_config::prefs::PREFS;
|
||||
use std::rc::Rc;
|
||||
use webrender;
|
||||
use webrender_api;
|
||||
|
||||
/// WebGL Threading API entry point that lives in the constellation.
|
||||
pub struct WebGLThreads(WebGLSender<WebGLMsg>);
|
||||
|
|
|
@ -8,10 +8,7 @@ use euclid::Size2D;
|
|||
use fnv::FnvHashMap;
|
||||
use gleam::gl;
|
||||
use offscreen_gl_context::{GLContext, GLContextAttributes, GLLimits, NativeGLContextMethods};
|
||||
use pixels;
|
||||
use std::thread;
|
||||
use webrender;
|
||||
use webrender_api;
|
||||
|
||||
/// WebGL Threading API entry point that lives in the constellation.
|
||||
/// It allows to get a WebGLThread handle for each script pipeline.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue