diff --git a/xpfe/appshell/moz.build b/xpfe/appshell/moz.build index 4112d94aec65..f32c647fb1d2 100644 --- a/xpfe/appshell/moz.build +++ b/xpfe/appshell/moz.build @@ -46,5 +46,3 @@ LOCAL_INCLUDES += [ FINAL_LIBRARY = "xul" include("/ipc/chromium/chromium-config.mozbuild") - -REQUIRES_UNIFIED_BUILD = True diff --git a/xpfe/appshell/nsAppShellService.cpp b/xpfe/appshell/nsAppShellService.cpp index f5ece25ec9be..ae9bef147db6 100644 --- a/xpfe/appshell/nsAppShellService.cpp +++ b/xpfe/appshell/nsAppShellService.cpp @@ -530,7 +530,6 @@ static bool CheckForFullscreenWindow() { } } } - return false; } #endif diff --git a/xpfe/appshell/nsContentTreeOwner.cpp b/xpfe/appshell/nsContentTreeOwner.cpp index 758ed215439f..f02fc3dcda06 100644 --- a/xpfe/appshell/nsContentTreeOwner.cpp +++ b/xpfe/appshell/nsContentTreeOwner.cpp @@ -24,6 +24,7 @@ #include "nsIMIMEInfo.h" #include "nsIWidget.h" #include "nsWindowWatcher.h" +#include "nsIWindowMediator.h" #include "mozilla/Components.h" #include "mozilla/NullPrincipal.h" #include "nsDocShell.h" diff --git a/xpfe/appshell/nsWindowMediator.cpp b/xpfe/appshell/nsWindowMediator.cpp index 2fb97c6f035c..82ebe6f00d80 100644 --- a/xpfe/appshell/nsWindowMediator.cpp +++ b/xpfe/appshell/nsWindowMediator.cpp @@ -17,6 +17,7 @@ #include "nsWindowMediator.h" #include "nsIWindowMediatorListener.h" #include "nsGlobalWindow.h" +#include "nsServiceManagerUtils.h" #include "nsIDocShell.h" #include "nsIInterfaceRequestor.h" diff --git a/xpfe/appshell/nsWindowMediator.h b/xpfe/appshell/nsWindowMediator.h index 9b2c7506613e..578f901ea72a 100644 --- a/xpfe/appshell/nsWindowMediator.h +++ b/xpfe/appshell/nsWindowMediator.h @@ -10,6 +10,7 @@ #include "nsIWindowMediator.h" #include "nsIObserver.h" #include "nsTArray.h" +#include "nsPIDOMWindow.h" #include "nsString.h" #include "nsWeakReference.h" #include "nsTObserverArray.h"