зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1890926 - Remove unused temporary variable. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D207236
This commit is contained in:
Родитель
b3c66305ec
Коммит
f5ffd31e16
|
@ -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
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче