mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
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:
parent
3d3f30a3f9
commit
ef4fbfaa6b
6 changed files with 18 additions and 10 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue