mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
layout: fix Servo build.
This commit is contained in:
parent
561018da7d
commit
0000e4cec2
7 changed files with 112 additions and 72 deletions
|
@ -972,6 +972,11 @@ impl<'le> ::selectors::Element for ServoLayoutElement<'le> {
|
|||
}
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn is_part(&self, _name: &Atom) -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn has_class(&self, name: &Atom, case_sensitivity: CaseSensitivity) -> bool {
|
||||
unsafe { self.element.has_class_for_layout(name, case_sensitivity) }
|
||||
|
@ -1484,6 +1489,12 @@ impl<'le> ::selectors::Element for ServoThreadSafeLayoutElement<'le> {
|
|||
false
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn is_part(&self, _name: &Atom) -> bool {
|
||||
debug!("ServoThreadSafeLayoutElement::is_part called");
|
||||
false
|
||||
}
|
||||
|
||||
fn has_class(&self, _name: &Atom, _case_sensitivity: CaseSensitivity) -> bool {
|
||||
debug!("ServoThreadSafeLayoutElement::has_class called");
|
||||
false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue