diff --git a/dom/base/Link.h b/dom/base/Link.h index 0974d6108c..99a5735110 100644 --- a/dom/base/Link.h +++ b/dom/base/Link.h @@ -13,6 +13,7 @@ #include "mozilla/IHistory.h" #include "mozilla/MemoryReporting.h" #include "nsIContent.h" // for nsLinkState +#include "nsIContentPolicyBase.h" // for nsContentPolicyType namespace mozilla { diff --git a/dom/html/HTMLSlotElement.cpp b/dom/html/HTMLSlotElement.cpp index 9286ff9591..eb5b48c22a 100644 --- a/dom/html/HTMLSlotElement.cpp +++ b/dom/html/HTMLSlotElement.cpp @@ -10,6 +10,7 @@ #include "mozilla/dom/ShadowRoot.h" #include "nsGkAtoms.h" #include "nsDocument.h" +#include "nsLayoutUtils.h" nsGenericHTMLElement* NS_NewHTMLSlotElement(already_AddRefed&& aNodeInfo, diff --git a/dom/html/TextTrackManager.cpp b/dom/html/TextTrackManager.cpp index 1809478f2d..4b69675a0d 100644 --- a/dom/html/TextTrackManager.cpp +++ b/dom/html/TextTrackManager.cpp @@ -11,6 +11,7 @@ #include "mozilla/dom/TextTrackCue.h" #include "mozilla/dom/Event.h" #include "mozilla/ClearOnShutdown.h" +#include "mozilla/CycleCollectedJSContext.h" #include "nsComponentManagerUtils.h" #include "nsVariant.h" #include "nsVideoFrame.h" diff --git a/dom/html/nsHTMLDNSPrefetch.cpp b/dom/html/nsHTMLDNSPrefetch.cpp index 1b91d8041d..2f55f9672b 100644 --- a/dom/html/nsHTMLDNSPrefetch.cpp +++ b/dom/html/nsHTMLDNSPrefetch.cpp @@ -15,6 +15,7 @@ #include "nsNetUtil.h" #include "nsNetCID.h" #include "nsIProtocolHandler.h" +#include "nsContentUtils.h" #include "nsIDNSListener.h" #include "nsIWebProgressListener.h"