Move all remaining members of nsIPresShell to mozilla::PresShell

Additionally, this sorts out the order of member variables for minimizing the
instance size.

And also this changes `enum RenderFlags` to `enum class RenderingStateFlags`.

Differential Revision: https://phabricator.services.mozilla.com/D29312
This commit is contained in:
Masayuki Nakano 2019-05-01 02:28:25 +00:00 committed by Emilio Cobos Álvarez
parent 627514b737
commit 89bf34f46e

View file

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