aboutsummaryrefslogtreecommitdiffstats
path: root/ports/servoshell/desktop/geometry.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ports/servoshell/desktop/geometry.rs')
-rw-r--r--ports/servoshell/desktop/geometry.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/servoshell/desktop/geometry.rs b/ports/servoshell/desktop/geometry.rs
index bca28fcf839..f76c44cc8f8 100644
--- a/ports/servoshell/desktop/geometry.rs
+++ b/ports/servoshell/desktop/geometry.rs
@@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
use euclid::{Point2D, Size2D};
-use servo::style_traits::DevicePixel;
+use servo::webrender_api::units::DevicePixel;
use winit::dpi::{PhysicalPosition, PhysicalSize};
pub fn winit_size_to_euclid_size<T>(size: PhysicalSize<T>) -> Size2D<T, DevicePixel> {