Bug 1517241 - Fix some gcc / msvc bustage.
authorEmilio Cobos Álvarez <emilio@crisal.io>
Thu, 03 Jan 2019 18:36:35 +0100
changeset 509551 8dc3509de69e9a2315bb1d7b1c012994a70ee98a
parent 509550 120fccb288c0839bde15c42987c247c39e0b6b50
child 509552 df0c81365e998bc9e25920260230d3eed8fe0210
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1517241 - Fix some gcc / msvc bustage. In a CLOSED TREE, since apparently I pushed the wrong revision to do all the builds on try.
--- a/dom/base/Document.h
+++ b/dom/base/Document.h
@@ -76,17 +76,16 @@ class ElementCreationOptionsOrString;
 }  // namespace mozilla
 class gfxUserFontSet;
 class imgIRequest;
 class nsBindingManager;
 class nsCachableElementsByNameNodeList;
 class nsContentList;
-class nsDocumentOnStack;
 class nsIDocShell;
 class nsDocShell;
 class nsDOMNavigationTiming;
 class nsFrameLoader;
 class nsGlobalWindowInner;
 class nsHtml5TreeOpExecutor;
 class nsHTMLCSSStyleSheet;
 class nsHTMLDocument;
@@ -114,17 +113,16 @@ class nsIStreamListener;
 class nsIStructuredCloneContainer;
 class nsIURI;
 class nsIVariant;
 class nsViewManager;
 class nsPresContext;
 class nsRange;
 class nsSimpleContentList;
 class nsTextNode;
-class nsUnblockOnloadEvent;
 class nsWindowSizes;
 class nsDOMCaretPosition;
 class nsViewportInfo;
 class nsIGlobalObject;
 class nsIXULWindow;
 namespace mozilla {
 class AbstractThread;
@@ -203,16 +201,19 @@ class TreeWalker;
 class XPathEvaluator;
 class XPathExpression;
 class XPathNSResolver;
 class XPathResult;
 class XULDocument;
 template <typename>
 class Sequence;
+class nsDocumentOnStack;
+class nsUnblockOnloadEvent;
 template <typename, typename>
 class CallbackObjectHolder;
 enum class CallerType : uint32_t;
 }  // namespace dom
 }  // namespace mozilla
@@ -442,17 +443,17 @@ class Document : public nsINode,
   explicit Document(const char* aContentType);
   virtual ~Document();
   Document(const Document&) = delete;
   Document& operator=(const Document&) = delete;
-  typedef ExternalResourceMap::ExternalResourceLoad ExternalResourceLoad;
+  typedef mozilla::dom::ExternalResourceMap::ExternalResourceLoad ExternalResourceLoad;
   typedef net::ReferrerPolicy ReferrerPolicyEnum;
@@ -2795,17 +2796,17 @@ class Document : public nsINode,
    * throttled. We throttle requestAnimationFrame for documents which aren't
    * visible (e.g. scrolled out of the viewport).
   bool ShouldThrottleFrameRequests();
   // This returns true when the document tree is being teared down.
   bool InUnlinkOrDeletion() { return mInUnlinkOrDeletion; }
-  ImageTracker* ImageTracker();
+  mozilla::dom::ImageTracker* ImageTracker();
   // AddPlugin adds a plugin-related element to mPlugins when the element is
   // added to the tree.
   void AddPlugin(nsIObjectLoadingContent* aPlugin) {
@@ -3087,17 +3088,17 @@ class Document : public nsINode,
                                                        JSObject* aObject);
   static bool AreWebAnimationsTimelinesEnabled(JSContext* aCx,
                                                JSObject* aObject);
   // Checks that the caller is either chrome or some addon.
   static bool IsCallerChromeOrAddon(JSContext* aCx, JSObject* aObject);
   bool Hidden() const { return mVisibilityState != VisibilityState::Visible; }
-  VisibilityState VisibilityState() const { return mVisibilityState; }
+  mozilla::dom::VisibilityState VisibilityState() const { return mVisibilityState; }
   void GetSelectedStyleSheetSet(nsAString& aSheetSet);
   void SetSelectedStyleSheetSet(const nsAString& aSheetSet);
   void GetLastStyleSheetSet(nsAString& aSheetSet) {
     aSheetSet = mLastStyleSheetSet;
   const nsString& GetCurrentStyleSheetSet() const {
     return mLastStyleSheetSet.IsEmpty() ? mPreferredStyleSheetSet