| Auto-Submit | +1 |
| Commit-Queue | +1 |
WebContents* web_contents = WebContents::FromRenderFrameHost(this);
if (web_contents && web_contents->IsBeingDestroyed()) {
return false;
}Gabriel CharetteWebContents cannot be directly accessed in content/browser/renderer_host/. See the README here:
https://source.chromium.org/chromium/chromium/src/+/main:content/browser/renderer_host/README.md;l=85-89;drc=dd260a2e28e777cbfdf925ddef38db34c4d6b9d0I ran out of time to find a workaround today, but I wanted to share this early so you're aware.
How about this? Looks like we can get away with diamond inheritance to get the existing property through the delegate.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
WebContents* web_contents = WebContents::FromRenderFrameHost(this);
if (web_contents && web_contents->IsBeingDestroyed()) {
return false;
}Gabriel CharetteWebContents cannot be directly accessed in content/browser/renderer_host/. See the README here:
https://source.chromium.org/chromium/chromium/src/+/main:content/browser/renderer_host/README.md;l=85-89;drc=dd260a2e28e777cbfdf925ddef38db34c4d6b9d0I ran out of time to find a workaround today, but I wanted to share this early so you're aware.
How about this? Looks like we can get away with diamond inheritance to get the existing property through the delegate.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |