mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 05:48:26 +00:00

`nsPresContext` should use `mozilla::PresShell` directly instead of `nsIPresShell`. This patch makes it. Unfortunately, `nsPresContext` and `nsIFrame` have `PresShell()`. Therefore, we cannot use `PresShell*` in its methods so that this patch uses `mozilla::` namespace prefix. It might be better to rename them as `PresShellPtr()` in another bug. Differential Revision: https://phabricator.services.mozilla.com/D25721 --HG-- extra : moz-landing-system : lando