Skip to content

Commit

Permalink
Bug 1727674 - Replace nsLayoutUtils::GetCrossDocParentFrame with nsLa…
Browse files Browse the repository at this point in the history
…youtUtils::GetCrossDocParentFrameInProcess in nsIFrame::UpdateVisibilitySynchronously. r=tnikkel

Differential Revision: https://phabricator.services.mozilla.com/D125126
  • Loading branch information
hiikezoe committed Sep 22, 2021
1 parent 5dd44bf commit e0d7cca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layout/generic/nsIFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2159,7 +2159,7 @@ void nsIFrame::UpdateVisibilitySynchronously() {
}
nsIFrame* parent = f->GetParent();
if (!parent) {
parent = nsLayoutUtils::GetCrossDocParentFrame(f);
parent = nsLayoutUtils::GetCrossDocParentFrameInProcess(f);
if (parent && parent->PresContext()->IsChrome()) {
break;
}
Expand Down

0 comments on commit e0d7cca

Please sign in to comment.