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:
Hiroyuki Ikezoe 2020-02-27 03:46:38 +00:00
Родитель 37b2bfa576
Коммит cf5b8449b8
1 изменённых файлов: 2 добавлений и 5 удалений

Просмотреть файл

@ -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
}
}