mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update webrender.
This commit is contained in:
parent
a34d1573b6
commit
b39955df67
11 changed files with 16 additions and 28 deletions
|
@ -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" }
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue