mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
|
@ -60,7 +60,8 @@ impl HeapSizeOf for ServoRestyleDamage {
|
|||
impl ServoRestyleDamage {
|
||||
/// Compute the `StyleDifference` (including the appropriate restyle damage)
|
||||
/// for a given style change between `old` and `new`.
|
||||
pub fn compute_style_difference(old: &ComputedValues,
|
||||
pub fn compute_style_difference(_source: &ComputedValues,
|
||||
old: &ComputedValues,
|
||||
new: &ComputedValues)
|
||||
-> StyleDifference {
|
||||
let damage = compute_damage(old, new);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue