diff --git a/dom/base/nsCopySupport.cpp b/dom/base/nsCopySupport.cpp index 29a420c8dc5d..4dc183d664b0 100644 --- a/dom/base/nsCopySupport.cpp +++ b/dom/base/nsCopySupport.cpp @@ -22,6 +22,7 @@ #include "nsServiceManagerUtils.h" #include "mozilla/ScopeExit.h" #include "mozilla/dom/DataTransfer.h" +#include "mozilla/dom/BrowsingContext.h" #include "nsIDocShell.h" #include "nsIDocumentViewerEdit.h" diff --git a/dom/l10n/L10nOverlays.cpp b/dom/l10n/L10nOverlays.cpp index e9c629a55f8e..5c3e3b64fad3 100644 --- a/dom/l10n/L10nOverlays.cpp +++ b/dom/l10n/L10nOverlays.cpp @@ -5,12 +5,14 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "L10nOverlays.h" -#include "mozilla/dom/HTMLTemplateElement.h" +#include "mozilla/dom/Document.h" +#include "mozilla/dom/DocumentFragment.h" #include "mozilla/dom/HTMLInputElement.h" #include "HTMLSplitOnSpacesTokenizer.h" #include "nsHtml5StringParser.h" #include "nsTextNode.h" #include "nsIParserUtils.h" +#include "nsINodeList.h" using namespace mozilla::dom; using namespace mozilla; diff --git a/dom/webbrowserpersist/nsWebBrowserPersist.cpp b/dom/webbrowserpersist/nsWebBrowserPersist.cpp index 2e73b2d37c56..56e145d127db 100644 --- a/dom/webbrowserpersist/nsWebBrowserPersist.cpp +++ b/dom/webbrowserpersist/nsWebBrowserPersist.cpp @@ -15,7 +15,6 @@ #include "nsNetUtil.h" #include "nsIClassOfService.h" #include "nsIInterfaceRequestorUtils.h" -#include "nsILoadContext.h" #include "nsIPrivateBrowsingChannel.h" #include "nsComponentManagerUtils.h" #include "nsIStorageStream.h" @@ -26,9 +25,7 @@ #include "nsICacheInfoChannel.h" #include "nsIFileChannel.h" #include "nsEscape.h" -#include "nsUnicharUtils.h" #include "nsIStringEnumerator.h" -#include "nsContentCID.h" #include "nsStreamUtils.h" #include "nsCExternalHandlerService.h" @@ -38,7 +35,6 @@ #include "nsIWebProgressListener.h" #include "nsIAuthPrompt.h" #include "nsIPrompt.h" -#include "nsIFormControl.h" #include "nsIThreadRetargetableRequest.h" #include "nsContentUtils.h" @@ -50,8 +46,7 @@ #include "nsIContent.h" #include "nsIMIMEInfo.h" -#include "mozilla/dom/HTMLInputElement.h" -#include "mozilla/dom/HTMLSharedElement.h" +#include "mozilla/dom/Document.h" #include "mozilla/net/CookieJarSettings.h" #include "mozilla/Mutex.h" #include "mozilla/Printf.h"