Fix DCHECK when showing print preview dialog (see issue #2952)

This commit is contained in:
Marshall Greenblatt
2020-07-23 15:46:57 -04:00
parent ac99621829
commit b822ea43b9
4 changed files with 42 additions and 8 deletions

View File

@ -141,7 +141,7 @@ class CefBrowserInfoManager : public content::RenderProcessHostObserver {
// Returns true if the navigation should be allowed to proceed, or false if
// the navigation will instead be sent via OpenURLFromTab. If allowed,
// |browser| will be set to the target browser.
// |browser| will be set to the target browser if any.
bool MaybeAllowNavigation(content::RenderFrameHost* opener,
const content::OpenURLParams& params,
CefRefPtr<CefBrowserHostImpl>& browser) const;