diff options
author | Josh Matthews <josh@joshmatthews.net> | 2020-06-11 14:07:39 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2020-06-11 14:07:39 -0400 |
commit | b39955df678a739bfd608cabe3b51f07003d01f4 (patch) | |
tree | 69f530979664101a43ab1ba8e94bf285e710c034 /components/gfx_traits | |
parent | a34d1573b6d79211f0efeafcc3ae4b505280cb54 (diff) | |
download | servo-b39955df678a739bfd608cabe3b51f07003d01f4.tar.gz servo-b39955df678a739bfd608cabe3b51f07003d01f4.zip |
Update webrender.
Diffstat (limited to 'components/gfx_traits')
-rw-r--r-- | components/gfx_traits/Cargo.toml | 1 | ||||
-rw-r--r-- | components/gfx_traits/lib.rs | 2 |
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; } |