Bug 1590639 part 3: Fix non-unified build issues in layout/{forms,painting}. r=TYLin

This patch:

- Gives nsMeterFrame.cpp a "using" decl for mozilla::dom::Document (matching
  local style), to make its "nsCOMPtr<Document>" variable valid.
- Gives RetainedDisplayListBuilder.cpp an include for nsIFrameInlines.h
  (and nsIFrame.h for good measure) to provide the definition for inline
  function nsIFrame::IsFixedPosContainingBlock().
- Gives nsDisplayList.cpp an include for LayerAnimationInfo.h, since it uses
  that type.

Depends on D50164

Differential Revision: https://phabricator.services.mozilla.com/D50165

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Daniel Holbert 2019-10-23 22:12:39 +00:00
Родитель e3c9b94f23
Коммит 5c6525bdd3
3 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -23,6 +23,7 @@
#include <algorithm>
using namespace mozilla;
using mozilla::dom::Document;
using mozilla::dom::Element;
using mozilla::dom::HTMLMeterElement;

Просмотреть файл

@ -9,6 +9,8 @@
#include "DisplayListChecker.h"
#include "mozilla/StaticPrefs_layout.h"
#include "nsIFrame.h"
#include "nsIFrameInlines.h"
#include "nsPlaceholderFrame.h"
#include "nsSubDocumentFrame.h"
#include "nsViewManager.h"

Просмотреть файл

@ -87,6 +87,7 @@
#include "ActiveLayerTracker.h"
#include "nsPrintfCString.h"
#include "UnitTransforms.h"
#include "LayerAnimationInfo.h"
#include "LayersLogging.h"
#include "FrameLayerBuilder.h"
#include "mozilla/EventStateManager.h"