Bug 1535453 - BrowsingContext does not need to inherit from LinkedListElement. r=nika
authorAndrew McCreight <continuation@gmail.com>
Tue, 19 Mar 2019 21:33:40 +0000
changeset 465125 5e2b6b60b5a2af562a2b5e061ea8336348fb3c9c
parent 465124 7d00a37ebd613f6231d36edcbf78cf69f87c5910
child 465126 fbdd97d8e41dd07bdcef93eae73a9c7e5fd72713
push id35732
push useropoprus@mozilla.com
push dateWed, 20 Mar 2019 10:52:37 +0000
treeherdermozilla-central@708979f9c3f3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnika
bugs1535453
milestone68.0a1
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 1535453 - BrowsingContext does not need to inherit from LinkedListElement. r=nika Differential Revision: https://phabricator.services.mozilla.com/D23586
docshell/base/BrowsingContext.h
--- a/docshell/base/BrowsingContext.h
+++ b/docshell/base/BrowsingContext.h
@@ -84,17 +84,16 @@ class BrowsingContextBase {
 // BrowsingContext tree for a tab, in both the parent and the child
 // process.
 //
 // Trees of BrowsingContexts should only ever contain nodes of the
 // same BrowsingContext::Type. This is enforced by asserts in the
 // BrowsingContext::Create* methods.
 class BrowsingContext : public nsWrapperCache,
                         public SupportsWeakPtr<BrowsingContext>,
-                        public LinkedListElement<RefPtr<BrowsingContext>>,
                         public BrowsingContextBase {
  public:
   enum class Type { Chrome, Content };
 
   static void Init();
   static LogModule* GetLog();
   static void CleanupContexts(uint64_t aProcessId);