Fix ./mach build --release --with-layout-2020

This commit is contained in:
Utsav Oza 2020-06-09 12:42:38 +05:30
parent 34d0c313dc
commit d1241a8d06
6 changed files with 136 additions and 32 deletions

View file

@ -8,7 +8,7 @@ use ipc_channel::ipc::{IpcBytesReceiver, IpcBytesSender, IpcSender, IpcSharedMem
use serde_bytes::ByteBuf;
use std::default::Default;
use std::str::FromStr;
use style::properties::style_structs::Font;
use style::properties::style_structs::Font as FontStyleStruct;
#[derive(Clone, Debug, Deserialize, Serialize)]
pub enum FillRule {
@ -71,7 +71,7 @@ pub enum Canvas2dMsg {
SetShadowOffsetY(f64),
SetShadowBlur(f64),
SetShadowColor(RGBA),
SetFont(Font),
SetFont(FontStyleStruct),
SetTextAlign(TextAlign),
SetTextBaseline(TextBaseline),
}