Skip to content

Commit

Permalink
Bug 1745869 - Undo a change that unintentionally subtly changes behav…
Browse files Browse the repository at this point in the history
…ior (makes one test fuzzy).

MANUAL PUSH: Trivial orange fix CLOSED TREE.
  • Loading branch information
emilio committed Dec 30, 2021
1 parent 04fd3c2 commit 340752f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layout/base/PresShell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10964,9 +10964,9 @@ void PresShell::SetIsActive(bool aIsActive, bool aIsInActiveTab) {
mDocument->EnumerateSubDocuments(recurse);
}

if (activityChanged) {
UpdateImageLockingState();
UpdateImageLockingState();

if (activityChanged) {
#if defined(MOZ_WIDGET_ANDROID)
if (!aIsActive && presContext &&
presContext->IsRootContentDocumentCrossProcess()) {
Expand Down

0 comments on commit 340752f

Please sign in to comment.