Skip to content
Commit 2e6b3b99 authored by Dave Tapuska's avatar Dave Tapuska Committed by Chromium LUCI CQ
Browse files

Replace ForEachFrame with GetMainFrame()->ForEachRenderFrameHost.

The JS dispatching bridge is used for WebView and WebLayer from Android.
These environments do not support back/forward cache nor prerender so
converting to GetMainFrame()->ForEachRenderFrameHost is correct and
conveys the intent of the method.

BUG=1208438

Change-Id: I22be31a3985df8255db568f0ed12750972689f0d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3381934


Reviewed-by: default avatarScott Violet <sky@chromium.org>
Reviewed-by: default avatarRichard Coles <torne@chromium.org>
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/main@{#958212}
parent dcddd265
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment