Bug 1890926 - Remove unused temporary variable. r=hiro

Differential Revision: https://phabricator.services.mozilla.com/D207236
This commit is contained in:
Mike Hommey 2024-04-16 01:56:53 +00:00
Родитель b3c66305ec
Коммит f5ffd31e16
1 изменённых файлов: 2 добавлений и 4 удалений

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

@ -11260,10 +11260,8 @@ void PresShell::SetIsActive(bool aIsActive) {
#if defined(MOZ_WIDGET_ANDROID)
if (!aIsActive && presContext &&
presContext->IsRootContentDocumentCrossProcess()) {
if (BrowserChild* browserChild = BrowserChild::GetFrom(this)) {
// Reset the dynamic toolbar offset state.
presContext->UpdateDynamicToolbarOffset(0);
}
// Reset the dynamic toolbar offset state.
presContext->UpdateDynamicToolbarOffset(0);
}
#endif
}