forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MPArch] Use IsOutermostMainFrame instead of checking the Parent
render_frame()->GetWebFrame()->Parent() is used to detect if the primary main frame was navigated or a subframe. In MPArch, because of nested frame trees, instead of checking Parent() we should check IsOutermostMainFrame. Bug: 1294378 Change-Id: I303569cec12c2bf6e00a6f8680c8379f142a0379 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3710067 Reviewed-by: Christoph Schwering <schwering@google.com> Reviewed-by: Adithya Srinivasan <adithyas@chromium.org> Reviewed-by: Vasilii Sukhanov <vasilii@chromium.org> Commit-Queue: Liviu Tinta <liviutinta@chromium.org> Cr-Commit-Position: refs/heads/main@{#1016913}
- Loading branch information
1 parent
296cfd4
commit 1e2a8ea
Showing
3 changed files
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters