aboutsummaryrefslogtreecommitdiffstats
path: root/components/canvas_traits
diff options
context:
space:
mode:
Diffstat (limited to 'components/canvas_traits')
-rw-r--r--components/canvas_traits/canvas.rs1
-rw-r--r--components/canvas_traits/lib.rs9
-rw-r--r--components/canvas_traits/webgl_channel/ipc.rs1
3 files changed, 0 insertions, 11 deletions
diff --git a/components/canvas_traits/canvas.rs b/components/canvas_traits/canvas.rs
index 3c28943a830..6733804be63 100644
--- a/components/canvas_traits/canvas.rs
+++ b/components/canvas_traits/canvas.rs
@@ -8,7 +8,6 @@ use ipc_channel::ipc::{IpcBytesReceiver, IpcBytesSender, IpcSender};
use serde_bytes::ByteBuf;
use std::default::Default;
use std::str::FromStr;
-use webrender_api;
#[derive(Clone, Debug, Deserialize, Serialize)]
pub enum FillRule {
diff --git a/components/canvas_traits/lib.rs b/components/canvas_traits/lib.rs
index 2c386b944ef..2e11d1704c6 100644
--- a/components/canvas_traits/lib.rs
+++ b/components/canvas_traits/lib.rs
@@ -6,21 +6,12 @@
#![crate_type = "rlib"]
#![deny(unsafe_code)]
-extern crate cssparser;
-extern crate euclid;
-extern crate gleam;
-extern crate ipc_channel;
#[macro_use]
extern crate lazy_static;
-extern crate malloc_size_of;
#[macro_use]
extern crate malloc_size_of_derive;
-extern crate offscreen_gl_context;
#[macro_use]
extern crate serde;
-extern crate serde_bytes;
-extern crate servo_config;
-extern crate webrender_api;
pub mod canvas;
pub mod webgl;
diff --git a/components/canvas_traits/webgl_channel/ipc.rs b/components/canvas_traits/webgl_channel/ipc.rs
index a00ceda75ed..28c6c81816f 100644
--- a/components/canvas_traits/webgl_channel/ipc.rs
+++ b/components/canvas_traits/webgl_channel/ipc.rs
@@ -2,7 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-use ipc_channel;
use serde::{Deserialize, Serialize};
use std::io;