This simplifies the chromeFlag calculation for: * chrome-priv case, by removing not-fully-chrome-priv case * content case, by removing presenceFlag calculation both by removing the special case for nsGlobalWindowOuter::Print and nsDocShell::PerformRetargeting, that has chrome caller but no chrome parent. Code path for nsGlobalWindowOuter::Print and nsDocShell::PerformRetargeting now uses the content case instead of the chrome-priv case, but the resulting flag doesn't change (CHROME_ALL) for those 2 consumers. Differential Revision: https://phabricator.services.mozilla.com/D129530
4.8 KiB
4.8 KiB