mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Ignore load of excluded PDF renderer frames
Starting with M125 we get WebContentsObserver callbacks for speculative PDF renderer frames. These callbacks should be ignored.
This commit is contained in:
@@ -160,6 +160,9 @@ class CefBrowserInfoManager : public content::RenderProcessHostObserver {
|
||||
CefBrowserInfo** browser_info,
|
||||
bool* excluded_type);
|
||||
|
||||
// Returns true if |rfh| should be excluded (no FrameHost created).
|
||||
static bool IsExcludedFrameHost(content::RenderFrameHost* rfh);
|
||||
|
||||
private:
|
||||
// RenderProcessHostObserver methods:
|
||||
void RenderProcessHostDestroyed(content::RenderProcessHost* host) override;
|
||||
|
Reference in New Issue
Block a user