mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
layout: Fix servo build.
This commit is contained in:
parent
aa03bf2e19
commit
2e5078e9c5
3 changed files with 5 additions and 5 deletions
|
@ -260,7 +260,7 @@ impl CanvasState {
|
|||
|
||||
match canvas_element.style() {
|
||||
Some(ref s) if canvas_element.has_css_layout_box() => {
|
||||
Ok(s.get_color().color)
|
||||
Ok(s.get_inherited_text().color)
|
||||
},
|
||||
_ => Ok(RGBA::new(0, 0, 0, 255)),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue