mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update webrender and serde_bytes
This commit is contained in:
parent
97d6351202
commit
808c34498b
17 changed files with 77 additions and 70 deletions
|
@ -22,7 +22,7 @@ malloc_size_of = { path = "../malloc_size_of" }
|
|||
malloc_size_of_derive = "0.1"
|
||||
pixels = {path = "../pixels"}
|
||||
serde = "1.0"
|
||||
serde_bytes = "0.10"
|
||||
serde_bytes = "0.11"
|
||||
servo_config = {path = "../config"}
|
||||
sparkle = "0.1"
|
||||
webrender_api = {git = "https://github.com/servo/webrender", features = ["ipc"]}
|
||||
|
|
|
@ -172,7 +172,7 @@ impl SurfaceStyle {
|
|||
repeat_y: bool,
|
||||
) -> Self {
|
||||
Self {
|
||||
surface_data: surface_data.into(),
|
||||
surface_data: ByteBuf::from(surface_data),
|
||||
surface_size,
|
||||
repeat_x,
|
||||
repeat_y,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue