Rename Document::GetShell() to Document::GetPresShell() and make it return PresShell* rather than nsIPresShell*

This makes `Document::GetShell()` return `PresShell*` instead of `nsIPresShell`.

Additonally, "shell" is unclear ("docshell" vs. "presshell").  Therefore, this
also renames `Document::GetShell()` to `Document::GetPresShell()`.

Similarly, some other method names of `Document` are also renamed from
`*Shell*` to `*PresShell*`.

Differential Revision: https://phabricator.services.mozilla.com/D25338
This commit is contained in:
Masayuki Nakano 2019-03-29 15:12:47 +00:00 committed by Emilio Cobos Álvarez
parent 7b14499665
commit 5ebc3f8dfa

View file

@ -169,6 +169,7 @@ impl Device {
self.document()
.mPresShell
.as_ref()?
._base
.mPresContext
.mRawPtr
.as_ref()