From 5ebc3f8dfadf5fb8a98f158bf144ccb734a59827 Mon Sep 17 00:00:00 2001 From: Masayuki Nakano Date: Fri, 29 Mar 2019 15:12:47 +0000 Subject: [PATCH] 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 --- components/style/gecko/media_queries.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/components/style/gecko/media_queries.rs b/components/style/gecko/media_queries.rs index 4c04d9573e5..b39e748ce2b 100644 --- a/components/style/gecko/media_queries.rs +++ b/components/style/gecko/media_queries.rs @@ -169,6 +169,7 @@ impl Device { self.document() .mPresShell .as_ref()? + ._base .mPresContext .mRawPtr .as_ref()