Commit f76b52aa authored by Kyle Machulis's avatar Kyle Machulis
Browse files

Bug 455595 - Finish deCOMtaminating nsNameSpaceManager r=baku

Most of the deCOM work was handled in bug 458300, so we just need to
use the inline refcounting macro to remove nsISupports.

MozReview-Commit-ID: 7npo7RF68Vo

Differential Revision: https://phabricator.services.mozilla.com/D2309

--HG--
extra : moz-landing-system : lando
parent 5c12d925
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -274,9 +274,6 @@ nsNameSpaceManager::AddDisabledNameSpace(already_AddRefed<nsAtom> aURI,
  return NS_OK;
}

// nsISupports
NS_IMPL_ISUPPORTS0(nsNameSpaceManager)

void
nsNameSpaceManager::PrefChanged(const char* aPref)
{
+3 −2
Original line number Diff line number Diff line
@@ -30,10 +30,11 @@
 *
 */

class nsNameSpaceManager final : public nsISupports
class nsNameSpaceManager final
{
public:
  NS_DECL_ISUPPORTS
  NS_INLINE_DECL_REFCOUNTING(nsNameSpaceManager)

  virtual nsresult RegisterNameSpace(const nsAString& aURI,
                                     int32_t& aNameSpaceID);
  nsresult RegisterNameSpace(already_AddRefed<nsAtom> aURI,