Bug 587875 - Build bustage: nsRefreshDriver.h is included by files not included when SMIL is disabled. r=jst@mozilla.org, a=buildbustage
authorMounir Lamouri <mounir.lamouri@gmail.com>
Tue, 17 Aug 2010 02:08:35 +0200
changeset 50698 8fb3151c8db4c44eeee4a5c14e0a53af9a9baf32
parent 50697 62d9ac4292784438509be605608eca2924cff2ed
child 50703 48487f904abe2782a12bfa1ce4c156d467857b8e
push idunknown
push userunknown
push dateunknown
reviewersjst, buildbustage
bugs587875
milestone2.0b4pre
Bug 587875 - Build bustage: nsRefreshDriver.h is included by files not included when SMIL is disabled. r=jst@mozilla.org, a=buildbustage
content/base/src/nsDocument.cpp
dom/base/nsGlobalWindow.cpp
layout/base/nsCSSFrameConstructor.cpp
layout/base/nsPresShell.cpp
--- a/content/base/src/nsDocument.cpp
+++ b/content/base/src/nsDocument.cpp
@@ -187,16 +187,18 @@ static NS_DEFINE_CID(kDOMEventGroupCID, 
 #include "nsGlobalWindow.h"
 
 #ifdef MOZ_SMIL
 #include "nsSMILAnimationController.h"
 #include "imgIContainer.h"
 #include "nsSVGUtils.h"
 #endif // MOZ_SMIL
 
+#include "nsRefreshDriver.h"
+
 // FOR CSP (autogenerated by xpidl)
 #include "nsIContentSecurityPolicy.h"
 #include "nsCSPService.h"
 #include "nsHTMLStyleSheet.h"
 #include "nsHTMLCSSStyleSheet.h"
 
 #include "mozilla/dom/Link.h"
 using namespace mozilla::dom;
--- a/dom/base/nsGlobalWindow.cpp
+++ b/dom/base/nsGlobalWindow.cpp
@@ -217,16 +217,18 @@
 #ifdef MOZ_LOGGING
 // so we can get logging even in release builds
 #define FORCE_PR_LOG 1
 #endif
 #include "prlog.h"
 
 #include "mozilla/dom/indexedDB/IDBFactory.h"
 
+#include "nsRefreshDriver.h"
+
 #ifdef PR_LOGGING
 static PRLogModuleInfo* gDOMLeakPRLog;
 #endif
 
 using namespace mozilla::dom;
 using mozilla::TimeStamp;
 using mozilla::TimeDuration;
 
--- a/layout/base/nsCSSFrameConstructor.cpp
+++ b/layout/base/nsCSSFrameConstructor.cpp
@@ -147,16 +147,18 @@
 #endif
 #ifdef MOZ_SVG
 #include "nsSVGFeatures.h"
 #include "nsSVGEffects.h"
 #include "nsSVGUtils.h"
 #include "nsSVGOuterSVGFrame.h"
 #endif
 
+#include "nsRefreshDriver.h"
+
 using namespace mozilla;
 using namespace mozilla::dom;
 
 nsIFrame*
 NS_NewHTMLCanvasFrame (nsIPresShell* aPresShell, nsStyleContext* aContext);
 
 #if defined(MOZ_MEDIA)
 nsIFrame*
--- a/layout/base/nsPresShell.cpp
+++ b/layout/base/nsPresShell.cpp
@@ -157,16 +157,18 @@
 #include "gfxContext.h"
 #ifdef MOZ_MEDIA
 #include "nsHTMLMediaElement.h"
 #endif
 #ifdef MOZ_SMIL
 #include "nsSMILAnimationController.h"
 #endif
 
+#include "nsRefreshDriver.h"
+
 // Drag & Drop, Clipboard
 #include "nsWidgetsCID.h"
 #include "nsIClipboard.h"
 #include "nsIClipboardHelper.h"
 #include "nsIDocShellTreeItem.h"
 #include "nsIURI.h"
 #include "nsIScrollableFrame.h"
 #include "prtime.h"