diff options
Diffstat (limited to 'ports/glutin')
-rw-r--r-- | ports/glutin/Cargo.toml | 4 | ||||
-rw-r--r-- | ports/glutin/lib.rs | 4 | ||||
-rw-r--r-- | ports/glutin/window.rs | 6 |
3 files changed, 6 insertions, 8 deletions
diff --git a/ports/glutin/Cargo.toml b/ports/glutin/Cargo.toml index 2ac08773f85..c5972db9526 100644 --- a/ports/glutin/Cargo.toml +++ b/ports/glutin/Cargo.toml @@ -17,6 +17,7 @@ bitflags = "*" libc = "*" url = "*" gleam = "0.1" +euclid = "0.1" [dependencies.compositing] path = "../../components/compositing" @@ -24,9 +25,6 @@ path = "../../components/compositing" [dependencies.script_traits] path = "../../components/script_traits" -[dependencies.geom] -git = "https://github.com/servo/rust-geom" - [dependencies.layers] git = "https://github.com/servo/rust-layers" diff --git a/ports/glutin/lib.rs b/ports/glutin/lib.rs index f7942caf94a..727500e6418 100644 --- a/ports/glutin/lib.rs +++ b/ports/glutin/lib.rs @@ -9,7 +9,7 @@ #[macro_use] extern crate bitflags; #[cfg(target_os="macos")] extern crate cgl; extern crate compositing; -extern crate geom; +extern crate euclid; extern crate gleam; extern crate glutin; extern crate layers; @@ -24,7 +24,7 @@ extern crate url; #[cfg(target_os="linux")] extern crate x11; use compositing::windowing::WindowEvent; -use geom::scale_factor::ScaleFactor; +use euclid::scale_factor::ScaleFactor; use std::rc::Rc; use window::Window; use util::opts; diff --git a/ports/glutin/window.rs b/ports/glutin/window.rs index 86c9835d15c..83121be8217 100644 --- a/ports/glutin/window.rs +++ b/ports/glutin/window.rs @@ -6,8 +6,8 @@ use compositing::compositor_task::{self, CompositorProxy, CompositorReceiver}; use compositing::windowing::{WindowEvent, WindowMethods}; -use geom::scale_factor::ScaleFactor; -use geom::size::{Size2D, TypedSize2D}; +use euclid::scale_factor::ScaleFactor; +use euclid::size::{Size2D, TypedSize2D}; use gleam::gl; use glutin; use layers::geometry::DevicePixel; @@ -26,7 +26,7 @@ use NestedEventLoopListener; #[cfg(feature = "window")] use compositing::windowing::{MouseWindowEvent, WindowNavigateMsg}; #[cfg(feature = "window")] -use geom::point::Point2D; +use euclid::point::Point2D; #[cfg(feature = "window")] use glutin::{Api, ElementState, Event, GlRequest, MouseButton, VirtualKeyCode}; #[cfg(feature = "window")] |