mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
2f72b3499a
I think the intent of these calls is to not copy the information strings passed in, but to simply convert them to a friendlier nsString container for processing. In the TelephonyDialCallback case, we're copying the strings only to convert them to an array of JS::Value, which copies the data again. We might as well avoid one of the copies. In the TelephonyParent case, we're copying the strings only to send them over an IPC channel. Therefore, it's safe to not copy the strings initially, because the original strings will remain live long enough to send the IPC message. |
||
---|---|---|
.. | ||
gonk | ||
ipc | ||
test | ||
CallsList.cpp | ||
CallsList.h | ||
MMICall.cpp | ||
MMICall.h | ||
moz.build | ||
nsIGonkTelephonyService.idl | ||
nsITelephonyAudioService.idl | ||
nsITelephonyCallInfo.idl | ||
nsITelephonyMessenger.idl | ||
nsITelephonyService.idl | ||
Telephony.cpp | ||
Telephony.h | ||
TelephonyCall.cpp | ||
TelephonyCall.h | ||
TelephonyCallback.cpp | ||
TelephonyCallback.h | ||
TelephonyCallGroup.cpp | ||
TelephonyCallGroup.h | ||
TelephonyCallId.cpp | ||
TelephonyCallId.h | ||
TelephonyCallInfo.cpp | ||
TelephonyCallInfo.h | ||
TelephonyCommon.h | ||
TelephonyDialCallback.cpp | ||
TelephonyDialCallback.h | ||
USSDSession.cpp | ||
USSDSession.h |