Update webrender.

This commit is contained in:
Josh Matthews 2020-06-11 14:07:39 -04:00
parent a34d1573b6
commit b39955df67
11 changed files with 16 additions and 28 deletions

View file

@ -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" }

View file

@ -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;
}