зеркало из https://github.com/mozilla/gecko-dev.git
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 |
||
---|---|---|
.. | ||
android | ||
cocoa | ||
fallback | ||
linux | ||
sandbox | ||
windows | ||
Hal.cpp | ||
Hal.h | ||
HalBatteryInformation.h | ||
HalIPCUtils.h | ||
HalImpl.h | ||
HalInternal.h | ||
HalLog.h | ||
HalNetworkInformation.h | ||
HalSandbox.h | ||
HalScreenConfiguration.h | ||
HalSensor.h | ||
HalTypes.h | ||
HalWakeLock.cpp | ||
HalWakeLock.h | ||
HalWakeLockInformation.h | ||
HalWakeLockInternal.h | ||
WindowIdentifier.cpp | ||
WindowIdentifier.h | ||
moz.build |