Bug 686545 - Fix build bustage with nsRefreshDriver/nsARefreshObserver not being defined. r=ehsan
authorMounir Lamouri <mounir.lamouri@gmail.com>
Tue, 13 Sep 2011 14:32:07 -0700
changeset 78227 cfd1e3533f0fa335aaf5ca3a5904a07b41396ec4
parent 78226 d86ee57cdbcc298de092ccc0cde094c9b276e6b9
child 78244 6eb70de045e95a2a5f6b6dc8c79ee8fa749d412a
child 78264 481ae485e38638f2b096abb1e0ebf667ef05c000
push id78
push userclegnitto@mozilla.com
push dateFri, 16 Dec 2011 17:32:24 +0000
treeherdermozilla-release@79d24e644fdd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersehsan
bugs686545
milestone9.0a1
first release with
nightly linux32
cfd1e3533f0f / 9.0a1 / 20110914030906 / files
nightly linux64
cfd1e3533f0f / 9.0a1 / 20110914030906 / files
nightly mac
cfd1e3533f0f / 9.0a1 / 20110914030906 / files
nightly win32
cfd1e3533f0f / 9.0a1 / 20110914030906 / files
nightly win64
cfd1e3533f0f / 9.0a1 / 20110914030906 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 686545 - Fix build bustage with nsRefreshDriver/nsARefreshObserver not being defined. r=ehsan The buld bustage only appears with some options being disabled in the mozconfig. Likely, nsRefreshDriver.h is included by another hedear that isn't included when an option is disabled.
accessible/src/base/NotificationController.h
layout/base/nsPresShell.h
--- a/accessible/src/base/NotificationController.h
+++ b/accessible/src/base/NotificationController.h
@@ -36,16 +36,17 @@
  *
  * ***** END LICENSE BLOCK ***** */
 
 #ifndef NotificationController_h_
 #define NotificationController_h_
 
 #include "AccEvent.h"
 #include "nsCycleCollectionParticipant.h"
+#include "nsRefreshDriver.h"
 
 class nsAccessible;
 class nsDocAccessible;
 class nsIContent;
 
 // Uncomment to log notifications processing.
 //#define DEBUG_NOTIFICATIONS
 
--- a/layout/base/nsPresShell.h
+++ b/layout/base/nsPresShell.h
@@ -68,16 +68,17 @@
 #include "nsCRT.h"
 #include "nsAutoPtr.h"
 #include "nsIWidget.h"
 #include "nsStyleSet.h"
 #include "nsPresArena.h"
 #include "nsFrameSelection.h"
 #include "nsGUIEvent.h"
 #include "nsContentUtils.h"
+#include "nsRefreshDriver.h"
 
 class nsIRange;
 class nsIDragService;
 class nsCSSStyleSheet;
 
 struct RangePaintInfo;
 struct nsCallbackEventRequest;
 #ifdef MOZ_REFLOW_PERF