Bug 1541755 - Remove NSMODULE_DEFN in TestPACMan.cpp. r=mayhemer
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 05 Apr 2019 11:29:05 +0000
changeset 468256 90bec8daf359fd8039fdf2980e642be29f7d21b1
parent 468255 2756d57cc947d5428773c015fe71f801a9c0b203
child 468257 bed1eb89f5039367761452ceaaa6300a7e48cb8f
push id35824
push userapavel@mozilla.com
push dateSat, 06 Apr 2019 10:57:50 +0000
treeherdermozilla-central@a765634b9ec2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmayhemer
bugs1541755
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 1541755 - Remove NSMODULE_DEFN in TestPACMan.cpp. r=mayhemer The module is manually registered through the component manager in the gtest setup anyways. Differential Revision: https://phabricator.services.mozilla.com/D26063
netwerk/test/gtest/TestPACMan.cpp
--- a/netwerk/test/gtest/TestPACMan.cpp
+++ b/netwerk/test/gtest/TestPACMan.cpp
@@ -73,18 +73,16 @@ static const mozilla::Module::CIDEntry k
     {nullptr}};
 
 static const mozilla::Module::ContractIDEntry kSysDHCPClientContracts[] = {
     {NS_DHCPCLIENT_CONTRACTID, &kNS_TESTDHCPCLIENTSERVICE_CID}, {nullptr}};
 
 static const mozilla::Module kSysDHCPClientModule = {
     mozilla::Module::kVersion, kSysDHCPClientCIDs, kSysDHCPClientContracts};
 
-NSMODULE_DEFN(nsDHCPClientModule) = &kSysDHCPClientModule;
-
 void SetOptionResult(const char* result) { WPADOptionResult.Assign(result); }
 
 class ProcessPendingEventsAction final : public Runnable {
  public:
   ProcessPendingEventsAction() : Runnable("net::ProcessPendingEventsAction") {}
 
   NS_IMETHOD
   Run() override {