Bug 1600436 - Fix servo build.

Depends on D55357

Differential Revision: https://phabricator.services.mozilla.com/D55358

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Emilio Cobos Álvarez 2019-11-30 14:06:06 +00:00
parent f628d09be6
commit 1c8bfea810

View File

@ -700,6 +700,14 @@ impl ElementSnapshot for ServoElementSnapshot {
false
}
fn exported_part(&self, _: &Atom) -> Option<Atom> {
None
}
fn imported_part(&self, _: &Atom) -> Option<Atom> {
None
}
fn has_class(&self, name: &Atom, case_sensitivity: CaseSensitivity) -> bool {
self.get_attr(&ns!(), &local_name!("class"))
.map_or(false, |v| {