stylo: Remove usage of ServoComputedValues from most Gecko code

This commit is contained in:
Manish Goregaokar 2017-07-20 17:27:05 -07:00 committed by Manish Goregaokar
parent 3c3e4399da
commit cca0eacf80
5 changed files with 2 additions and 23 deletions

View file

@ -53,8 +53,8 @@ impl GeckoRestyleDamage {
) -> StyleDifference {
let mut any_style_changed: bool = false;
let hint = unsafe {
bindings::Gecko_CalcStyleDifference(old_style.as_style_context(),
new_style.as_style_context(),
bindings::Gecko_CalcStyleDifference(old_style,
new_style,
source.mBits,
&mut any_style_changed)
};