mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
9fcc9f3096
It turns out the useAllocator argument is only used for the dipper types (nsXPTType::{T_ASTRING, T_DOMSTRING, T_UTF8STRING, T_CSTRING}), while we only pass true in cases where we don't have a dipper type: * XPCConvert::JSArray2Native errors on those types; * GetNamedPropertyAsVariantRaw() passes an interface type; * nsXPCWrappedJSClass::CallMethod passes !param.IsDipper() for the first calls and only reaches the last call for dependent types, which do not include any of the dipper types; * CallMethodHelper::ConvertIndependentParam handles dipper types earlier * and CallMethodHelper::ConvertDependentParam handles dependent types. |
||
---|---|---|
.. | ||
ductwork/debugger | ||
examples | ||
ipc | ||
public | ||
src | ||
xpconnect |