mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00

C++ code should be accessible to editor of nsDocShell. However, nsIDocShell needs to have the methods. Therefore, this patch assumes that nsDocShell is the only subclass of nsIDocShell and creates 2 inline methods to access nsDocShell methods. MozReview-Commit-ID: ByXtTB5X4cB --HG-- extra : rebase_source : d68e407e35fa7c6f528ad325fa7925f83f962573