зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1510030 - Don't return the current opacity value from update_opacity_binding. r=gw
The return value is not used at all. Differential Revision: https://phabricator.services.mozilla.com/D63600 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
37b2bfa576
Коммит
cf5b8449b8
|
@ -4306,13 +4306,10 @@ fn update_opacity_binding(
|
|||
opacity_bindings: &mut OpacityBindingStorage,
|
||||
opacity_binding_index: OpacityBindingIndex,
|
||||
scene_properties: &SceneProperties,
|
||||
) -> f32 {
|
||||
if opacity_binding_index == OpacityBindingIndex::INVALID {
|
||||
1.0
|
||||
} else {
|
||||
) {
|
||||
if opacity_binding_index != OpacityBindingIndex::INVALID {
|
||||
let binding = &mut opacity_bindings[opacity_binding_index];
|
||||
binding.update(scene_properties);
|
||||
binding.current
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче