mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
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:
parent
7b14499665
commit
5ebc3f8dfa
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ impl Device {
|
|||
self.document()
|
||||
.mPresShell
|
||||
.as_ref()?
|
||||
._base
|
||||
.mPresContext
|
||||
.mRawPtr
|
||||
.as_ref()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue