aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/properties/gecko.mako.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/properties/gecko.mako.rs')
-rw-r--r--components/style/properties/gecko.mako.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/style/properties/gecko.mako.rs b/components/style/properties/gecko.mako.rs
index 9a626f98c74..4443f949eff 100644
--- a/components/style/properties/gecko.mako.rs
+++ b/components/style/properties/gecko.mako.rs
@@ -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 {