mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Update webrender.
This commit is contained in:
parent
a34d1573b6
commit
b39955df67
11 changed files with 16 additions and 28 deletions
|
@ -38,7 +38,6 @@ webrender_debugger = ["webrender/debugger"]
|
|||
xr-profile = ["canvas/xr-profile", "canvas_traits/xr-profile", "script/xr-profile", "webxr/profile"]
|
||||
|
||||
[dependencies]
|
||||
app_units = "0.7"
|
||||
background_hang_monitor = { path = "../background_hang_monitor" }
|
||||
bluetooth = { path = "../bluetooth" }
|
||||
bluetooth_traits = { path = "../bluetooth_traits" }
|
||||
|
|
|
@ -928,7 +928,7 @@ impl gfx_traits::WebrenderApi for FontCacheWR {
|
|||
fn add_font_instance(
|
||||
&self,
|
||||
font_key: webrender_api::FontKey,
|
||||
size: app_units::Au,
|
||||
size: f32,
|
||||
) -> webrender_api::FontInstanceKey {
|
||||
let (sender, receiver) = unbounded();
|
||||
let _ = self.0.send(Msg::Webrender(WebrenderMsg::Font(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue