зеркало из https://github.com/mozilla/gecko-dev.git
dd21530757
Due to Shmem implementing ParamTraits, it is possible for a Shmem argument to not be visible to the IPDL compiler as it is only serialized within an opaque type included with `using`. If that happens, it would cause the construction of the Shmem to fail on the other side, in a hard to diagnose manner. This changes the logic to always allow any actor to manage shmems, to make it more in line with the `AllocShmem` method being directly declared on IProtocol. This specifically caused issues after this patch stack with PContent, which no longer has any shmem arguments visible to IPDL after these changes, but still is used as a manager for Shmems included in some messages. Differential Revision: https://phabricator.services.mozilla.com/D151855 |
||
---|---|---|
.. | ||
app | ||
chromium | ||
contentproc | ||
docs | ||
glue | ||
gtest | ||
ipdl | ||
mscom | ||
testshell | ||
moz.build | ||
pull-chromium.py |