Bug 416771 - Fix non-unified build in BrowserParent. r=NeilDeakin draft
authorEmilio Cobos Álvarez <emilio@crisal.io>
Fri, 17 May 2019 17:02:12 +0200
changeset 2008478 211bde66fecc8c3a1c78dfbcede078383ca8b0f8
parent 2008477 6268c987c1deca9c2a17de4a9922264ccecb9f60
child 2008479 7e228ad30ff1cad8ec683353ed687893a12dab9c
push id363917
push useremilio@crisal.io
push dateSat, 18 May 2019 06:31:42 +0000
treeherdertry@46e3df2f90da [default view] [failures only]
reviewersNeilDeakin
bugs416771
milestone68.0a1
Bug 416771 - Fix non-unified build in BrowserParent. r=NeilDeakin Differential Revision: https://phabricator.services.mozilla.com/D31641
dom/ipc/BrowserParent.cpp
--- a/dom/ipc/BrowserParent.cpp
+++ b/dom/ipc/BrowserParent.cpp
@@ -107,16 +107,17 @@
 #include <algorithm>
 #include "mozilla/NullPrincipal.h"
 #include "mozilla/WebBrowserPersistDocumentParent.h"
 #include "ProcessPriorityManager.h"
 #include "nsString.h"
 #include "IHistory.h"
 #include "mozilla/dom/WindowGlobalParent.h"
 #include "mozilla/dom/CanonicalBrowsingContext.h"
+#include "MMPrinter.h"
 
 #ifdef XP_WIN
 #  include "mozilla/plugins/PluginWidgetParent.h"
 #endif
 
 #if defined(XP_WIN) && defined(ACCESSIBILITY)
 #  include "mozilla/a11y/AccessibleWrap.h"
 #  include "mozilla/a11y/Compatibility.h"
@@ -132,16 +133,18 @@ using namespace mozilla::ipc;
 using namespace mozilla::layers;
 using namespace mozilla::layout;
 using namespace mozilla::services;
 using namespace mozilla::widget;
 using namespace mozilla::jsipc;
 using namespace mozilla::gfx;
 
 using mozilla::Unused;
+using mozilla::LazyLogModule;
+using mozilla::StaticAutoPtr;
 
 LazyLogModule gBrowserFocusLog("BrowserFocus");
 
 #define LOGBROWSERFOCUS(args) \
   MOZ_LOG(gBrowserFocusLog, mozilla::LogLevel::Debug, args)
 
 /* static */
 StaticAutoPtr<nsTArray<BrowserParent*>> BrowserParent::sFocusStack;