aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/dom.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/style/dom.rs')
-rw-r--r--components/style/dom.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/dom.rs b/components/style/dom.rs
index f4df206d32f..dfffe1eb131 100644
--- a/components/style/dom.rs
+++ b/components/style/dom.rs
@@ -44,7 +44,7 @@ impl OpaqueNode {
}
pub trait TRestyleDamage : BitOr<Output=Self> + Copy {
- fn compute(old: &Option<Arc<ComputedValues>>, new: &ComputedValues) -> Self;
+ fn compute(old: Option<&Arc<ComputedValues>>, new: &ComputedValues) -> Self;
fn rebuild_and_reflow() -> Self;
}