Update webrender and serde_bytes

This commit is contained in:
Anthony Ramine 2019-10-11 19:40:15 +02:00 committed by Josh Matthews
parent 97d6351202
commit 808c34498b
17 changed files with 77 additions and 70 deletions

View file

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

View file

@ -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,