commit | 88d7b2e74349cbf8b3e15b61cc0663d65f9d1873 | [log] [tgz] |
---|---|---|
author | Dave Tapuska <[email protected]> | Tue Jun 07 21:00:51 2022 |
committer | Chromium LUCI CQ <[email protected]> | Tue Jun 07 21:00:51 2022 |
tree | 893694ba30dc2167241591f6847eb56e86df6fb4 | |
parent | bb82f2779f766aa54f404aa5a42f3b7d0252a22d [diff] [blame] |
Rename GetMainFrame to GetPrimaryMainFrame Progressively rename some usages of GetMainFrame to GetPrimaryMainFrame. This is an automated change via emacs xref integration via codesearch. BUG=1250404 Change-Id: Ibb5ca2055776693b332e26d7b348b81d65d1900c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3692390 Owners-Override: Nasko Oskov <[email protected]> Commit-Queue: Dave Tapuska <[email protected]> Reviewed-by: Nasko Oskov <[email protected]> Cr-Commit-Position: refs/heads/main@{#1011655}
diff --git a/components/find_in_page/find_tab_helper.cc b/components/find_in_page/find_tab_helper.cc index 4aa33ba..a1d8477 100644 --- a/components/find_in_page/find_tab_helper.cc +++ b/components/find_in_page/find_tab_helper.cc
@@ -127,8 +127,9 @@ } void FindTabHelper::ActivateFindInPageResultForAccessibility() { - GetWebContents().GetMainFrame()->ActivateFindInPageResultForAccessibility( - current_find_request_id_); + GetWebContents() + .GetPrimaryMainFrame() + ->ActivateFindInPageResultForAccessibility(current_find_request_id_); } std::u16string FindTabHelper::GetInitialSearchText() {