layout: Fix servo build.

This commit is contained in:
Emilio Cobos Álvarez 2019-06-03 08:44:57 -04:00
parent aa03bf2e19
commit 2e5078e9c5
3 changed files with 5 additions and 5 deletions

View file

@ -1519,7 +1519,7 @@ impl Fragment {
}
pub fn color(&self) -> Color {
self.style().get_color().color
self.style().get_inherited_text().color
}
/// Returns the text decoration line of this fragment, according to the style of the nearest ancestor