gecko-dev/ipc/mscom
James Teh c697d1edde Bug 1633650: mscom::Interceptor: Don't call HandlerProvider::GetPayloadSize for external process callers. r=aklotz
When an Interceptor is marshaled for an external (non-chrome) process caller, we do not provide a handler and thus don't call HandlerProvider::WriteHandlerPayload.
However, GetMarshalSizeMax previously called HandlerProvider::GetPayloadSize even for external process callers.
For a11y's handlerProvider, we must build the payload to get the size.
This is wasteful in this case, since we're just going to throw it away.

Differential Revision: https://phabricator.services.mozilla.com/D72796
2020-04-28 16:21:58 +00:00
..
mozglue Bug 1542830: Part 4 - Modify mozglue to use new untrusted modules interfaces; r=mhowell 2019-09-23 20:18:41 +00:00
oop Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
ActivationContext.cpp
ActivationContext.h Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
Aggregation.h
AgileReference.cpp Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
AgileReference.h
ApartmentRegion.h
AsyncInvoker.h Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
COMPtrHolder.h Bug 1629315 - Replace MOZ_MUST_USE with [[nodiscard]] in ipc. r=jld 2020-04-16 22:14:21 +00:00
DispatchForwarder.cpp Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
DispatchForwarder.h
EnsureMTA.cpp Bug 1620594 - Part 2: Use SchedulerGroup::Dispatch instead of SystemGroup::Dispatch. r=nika 2020-04-07 15:16:33 +00:00
EnsureMTA.h
FastMarshaler.cpp
FastMarshaler.h
IHandlerProvider.h Bug 1626802 part 1: mscom: Provide a way for Interceptors to avoid unnecessary cross-thread QueryInterface calls. r=aklotz 2020-04-01 23:30:21 +00:00
Interceptor.cpp Bug 1633650: mscom::Interceptor: Don't call HandlerProvider::GetPayloadSize for external process callers. r=aklotz 2020-04-28 16:21:58 +00:00
Interceptor.h Bug 1627084 part 2: mscom: Provide access to the HandlerProvider from the Interceptor. r=aklotz 2020-04-24 20:25:21 +00:00
InterceptorLog.cpp Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
InterceptorLog.h
MainThreadHandoff.cpp Bug 1627084 part 2: mscom: Provide access to the HandlerProvider from the Interceptor. r=aklotz 2020-04-24 20:25:21 +00:00
MainThreadHandoff.h Bug 1627084 part 2: mscom: Provide access to the HandlerProvider from the Interceptor. r=aklotz 2020-04-24 20:25:21 +00:00
MainThreadInvoker.cpp Bug 1620594 - Part 2: Use SchedulerGroup::Dispatch instead of SystemGroup::Dispatch. r=nika 2020-04-07 15:16:33 +00:00
MainThreadInvoker.h Bug 1609996 - Reorder some includes affected by the previous patches. r=froydnj 2020-01-20 16:19:48 +00:00
Objref.cpp Bug 1581441: mscom::GetObjRefSize: Correctly handle proxies marshaled by the aggregated standard marshaler. r=aklotz 2019-10-31 21:45:17 +00:00
Objref.h
PassthruProxy.cpp
PassthruProxy.h
ProcessRuntime.cpp
ProcessRuntime.h
ProxyStream.cpp Bug 1609996 - Remove mozilla/Move.h. r=froydnj 2020-01-20 16:18:20 +00:00
ProxyStream.h
Ptr.h Bug 1620594 - Part 2: Use SchedulerGroup::Dispatch instead of SystemGroup::Dispatch. r=nika 2020-04-07 15:16:33 +00:00
Registration.cpp Bug 1143478 - Rename mozilla::Pair to CompactPair. r=froydnj 2020-03-17 12:42:12 +00:00
Registration.h
RegistrationAnnotator.cpp
RegistrationAnnotator.h
SpinEvent.cpp
SpinEvent.h
StructStream.cpp
StructStream.h
Utils.cpp Bug 1621030: Make string comparisons in IsClassThreadAwareInprocServer case-insensitive; r=Jamie 2020-03-09 21:46:19 +00:00
Utils.h
VTableBuilder.c
VTableBuilder.h
WeakRef.cpp Bug 1620594 - Part 1: Rework NS_ReleaseOnMainThreadSystemGroup. r=nika 2020-04-07 15:16:23 +00:00
WeakRef.h
moz.build Bug 1627084 part 1: Don't compile ipc/mscom/MainThreadHandoff.cpp in unified mode. r=aklotz 2020-04-24 20:22:06 +00:00