mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
285012cef5
- WakeLock is never registered as an observer, so remove its nsIObserver interface to eliminate a use of mContentParentID. - mContentParentID is always CONTENT_PROCESS_ID_UNKNOWN, so propagate that through to hal::ModifyWakeLock(). - Compute the child ID on the receiver side of the ModifyWakeLock message, instead of passing it in the message. We always use the child ID of the ContentChild. - Rename the old ModifyWakeLock into ModifyWakeLockWithChildID. Rename aProcessID to aChildID, because it is not a PID. - Add a new hal::ModifyWakeLock for the parent process that uses CONTENT_PROCESS_ID_MAIN as the child id. This method is not actually called right now. Differential Revision: https://phabricator.services.mozilla.com/D193577 |
||
---|---|---|
.. | ||
PHal.ipdl | ||
SandboxHal.cpp | ||
SandboxHal.h |