diff --git a/dom/animation/KeyframeEffect.h b/dom/animation/KeyframeEffect.h index 98e19da36ce4..52c2c56cad98 100644 --- a/dom/animation/KeyframeEffect.h +++ b/dom/animation/KeyframeEffect.h @@ -11,7 +11,6 @@ #include "nsCSSProperty.h" #include "nsCSSValue.h" #include "nsCycleCollectionParticipant.h" -#include "nsIDocument.h" #include "nsTArray.h" #include "nsWrapperCache.h" #include "mozilla/AnimationPerformanceWarning.h" diff --git a/layout/base/MobileViewportManager.cpp b/layout/base/MobileViewportManager.cpp index 1a3613429007..568767c876ac 100644 --- a/layout/base/MobileViewportManager.cpp +++ b/layout/base/MobileViewportManager.cpp @@ -14,6 +14,7 @@ #include "nsViewManager.h" #include "nsViewportInfo.h" #include "UnitTransforms.h" +#include "nsIDocument.h" #define MVM_LOG(...) // #define MVM_LOG(...) printf_stderr("MVM: " __VA_ARGS__) diff --git a/layout/base/MobileViewportManager.h b/layout/base/MobileViewportManager.h index 97255298a614..ce9aab99367b 100644 --- a/layout/base/MobileViewportManager.h +++ b/layout/base/MobileViewportManager.h @@ -8,7 +8,6 @@ #include "mozilla/Maybe.h" #include "nsIDOMEventListener.h" -#include "nsIDocument.h" #include "nsIObserver.h" #include "Units.h" diff --git a/layout/base/ZoomConstraintsClient.h b/layout/base/ZoomConstraintsClient.h index 4a2da9114e21..128ed73eae90 100644 --- a/layout/base/ZoomConstraintsClient.h +++ b/layout/base/ZoomConstraintsClient.h @@ -9,7 +9,6 @@ #include "FrameMetrics.h" #include "mozilla/Maybe.h" #include "nsIDOMEventListener.h" -#include "nsIDocument.h" #include "nsIObserver.h" #include "nsWeakPtr.h" diff --git a/layout/base/nsCSSFrameConstructor.h b/layout/base/nsCSSFrameConstructor.h index 1b2696e99e99..893ce8666ea3 100644 --- a/layout/base/nsCSSFrameConstructor.h +++ b/layout/base/nsCSSFrameConstructor.h @@ -20,7 +20,6 @@ #include "nsCounterManager.h" #include "nsIAnonymousContentCreator.h" #include "nsFrameManager.h" -#include "nsIDocument.h" #include "ScrollbarStyles.h" struct nsFrameItems; @@ -31,6 +30,7 @@ struct nsGenConInitializer; class nsContainerFrame; class nsFirstLineFrame; class nsICSSAnonBoxPseudo; +class nsIDocument; class nsPageContentFrame; struct PendingBinding; class nsGenericDOMDataNode;