Bug 1540930 - Make nsPresContext use mozilla::PresShell directly rather than via nsIPresShell r=emilio
`nsPresContext` should use `mozilla::PresShell` directly instead of `nsIPresShell`. This patch makes it. Unfortunately, `nsPresContext` and `nsIFrame` have `PresShell()`. Therefore, we cannot use `PresShell*` in its methods so that this patch uses `mozilla::` namespace prefix. It might be better to rename them as `PresShellPtr()` in another bug. Differential Revision: https://phabricator.services.mozilla.com/D25721
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include "mozilla/dom/FileSystemUtils.h"
|
||||
#include "mozilla/dom/GetFilesHelper.h"
|
||||
#include "mozilla/dom/WheelEventBinding.h"
|
||||
#include "mozilla/PresShell.h"
|
||||
#include "mozilla/StaticPrefs.h"
|
||||
#include "nsAttrValueInlines.h"
|
||||
#include "nsCRTGlue.h"
|
||||
@@ -43,7 +44,6 @@
|
||||
#include "nsMappedAttributes.h"
|
||||
#include "nsIFormControl.h"
|
||||
#include "mozilla/dom/Document.h"
|
||||
#include "nsIPresShell.h"
|
||||
#include "nsIFormControlFrame.h"
|
||||
#include "nsITextControlFrame.h"
|
||||
#include "nsIFrame.h"
|
||||
|
||||
Reference in New Issue
Block a user