Revert "Backed out changeset b10e6ba9cbdb because gecko part had to be backed out."

This reverts commit b96d96d448.

The fix on the Gecko side is trivial, and I can land it after this lands.
This commit is contained in:
Emilio Cobos Álvarez 2017-07-20 17:26:53 +02:00
parent 3d3f30a3f9
commit ef4fbfaa6b
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
6 changed files with 18 additions and 10 deletions

View file

@ -137,6 +137,10 @@ impl ComputedValues {
let atom = Atom::from(atom);
PseudoElement::from_atom(&atom)
}
pub fn as_style_context(&self) -> &::gecko_bindings::structs::mozilla::ServoStyleContext {
&self.0
}
}
impl Drop for ComputedValues {