aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx_traits
diff options
context:
space:
mode:
Diffstat (limited to 'components/gfx_traits')
-rw-r--r--components/gfx_traits/Cargo.toml1
-rw-r--r--components/gfx_traits/lib.rs2
2 files changed, 1 insertions, 2 deletions
diff --git a/components/gfx_traits/Cargo.toml b/components/gfx_traits/Cargo.toml
index 5d7acdd1b61..f4b7ef68931 100644
--- a/components/gfx_traits/Cargo.toml
+++ b/components/gfx_traits/Cargo.toml
@@ -11,7 +11,6 @@ name = "gfx_traits"
path = "lib.rs"
[dependencies]
-app_units = "0.7"
malloc_size_of = { path = "../malloc_size_of" }
malloc_size_of_derive = "0.1"
range = { path = "../range" }
diff --git a/components/gfx_traits/lib.rs b/components/gfx_traits/lib.rs
index 447be6e5dc2..a7d447dfded 100644
--- a/components/gfx_traits/lib.rs
+++ b/components/gfx_traits/lib.rs
@@ -113,7 +113,7 @@ pub trait WebrenderApi {
fn add_font_instance(
&self,
font_key: webrender_api::FontKey,
- size: app_units::Au,
+ size: f32,
) -> webrender_api::FontInstanceKey;
fn add_font(&self, data: FontData) -> webrender_api::FontKey;
}