Bug 1516554 - Part 6: Remove BackgroundHangMonitor in VRProcessChild because we will init it by XPCOM. r=kip
authorDaosheng Mu <daoshengmu@gmail.com>
Fri, 11 Jan 2019 22:50:33 +0000
changeset 510943 ffe71a987b8245db2873918f0aa00b6c8cb5c311
parent 510942 518dbd08c0d75abd6ab5e194c719bcf3179d487b
child 510944 829462dca3525998f3d038c935e6c3f8483cf12d
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)
reviewerskip
bugs1516554
milestone66.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 1516554 - Part 6: Remove BackgroundHangMonitor in VRProcessChild because we will init it by XPCOM. r=kip Differential Revision: https://phabricator.services.mozilla.com/D16260
gfx/vr/ipc/VRProcessChild.cpp
--- a/gfx/vr/ipc/VRProcessChild.cpp
+++ b/gfx/vr/ipc/VRProcessChild.cpp
@@ -21,18 +21,16 @@ VRProcessChild::VRProcessChild(ProcessId
 VRProcessChild::~VRProcessChild() { sVRParent = nullptr; }
 
 /*static*/ VRParent* VRProcessChild::GetVRParent() {
   MOZ_ASSERT(sVRParent);
   return sVRParent;
 }
 
 bool VRProcessChild::Init(int aArgc, char* aArgv[]) {
-  BackgroundHangMonitor::Startup();
-
   char* parentBuildID = nullptr;
   for (int i = 1; i < aArgc; i++) {
     if (!aArgv[i]) {
       continue;
     }
     if (strcmp(aArgv[i], "-parentBuildID") == 0) {
       parentBuildID = aArgv[i + 1];
     }