Bug 1346926 - Make PVRManager::SetHaveEventListener async r=kanru
authorKearwood Gilbert <kgilbert@mozilla.com>
Tue, 21 Mar 2017 13:21:17 -0700
changeset 399187 4ddb3af7cdf809ba0d7d27b62805096d9e870007
parent 399129 45468c0cbf032453c1fe65a16b9f18e14cf011a7
child 399188 85561efb5a00464fd5c7c7b708323005fc86461a
push id1490
push usermtabara@mozilla.com
push dateMon, 31 Jul 2017 14:08:16 +0000
treeherdermozilla-release@70e32e6bf15e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskanru
bugs1346926
milestone55.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 1346926 - Make PVRManager::SetHaveEventListener async r=kanru - There appears to be no issues with simply changing SetHaveEventListener from sync to async. MozReview-Commit-ID: 3LKgDx9AZnm
gfx/vr/ipc/PVRManager.ipdl
ipc/ipdl/sync-messages.ini
--- a/gfx/vr/ipc/PVRManager.ipdl
+++ b/gfx/vr/ipc/PVRManager.ipdl
@@ -45,17 +45,17 @@ parent:
   // asynchronously to children via UpdateDisplayInfo.
   async RefreshDisplays();
 
   // Reset the sensor of the display identified by aDisplayID so that the current
   // sensor state is the "Zero" position.
   async ResetSensor(uint32_t aDisplayID);
 
   sync GetSensorState(uint32_t aDisplayID) returns(VRHMDSensorState aState);
-  sync SetHaveEventListener(bool aHaveEventListener);
+  async SetHaveEventListener(bool aHaveEventListener);
 
   async ControllerListenerAdded();
   async ControllerListenerRemoved();
   async CreateVRTestSystem();
   async CreateVRServiceTestDisplay(nsCString aID, uint32_t aPromiseID);
   async CreateVRServiceTestController(nsCString aID, uint32_t aPromiseID);
   async SetDisplayInfoToMockDisplay(uint32_t aDeviceID, VRDisplayInfo aDisplayInfo);
   async SetSensorStateToMockDisplay(uint32_t aDeviceID, VRHMDSensorState aSensorState);
--- a/ipc/ipdl/sync-messages.ini
+++ b/ipc/ipdl/sync-messages.ini
@@ -946,18 +946,16 @@ description =
 [PWebRenderBridge::DeleteImage]
 description =
 [PWebRenderBridge::DPSyncEnd]
 description =
 [PWebRenderBridge::DPGetSnapshot]
 description =
 [PVRManager::GetSensorState]
 description =
-[PVRManager::SetHaveEventListener]
-description =
 [PHal::GetCurrentBatteryInformation]
 description =
 [PHal::GetCurrentNetworkInformation]
 description =
 [PHal::GetScreenEnabled]
 description =
 [PHal::GetKeyLightEnabled]
 description =