gecko-dev/dom/telephony/ipc
Nathan Froyd eba0daa4d6 Bug 1225923 - part 3 - fix AppendElement(nsDependentString(...)) calls in dom/telephony/; r=btseng
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.
2015-11-18 10:53:05 -05:00
..
PTelephony.ipdl Bug 1155072 - Part 1: Deprecate nsITelephonyListener.conferenceCallStateChanged (Telephony). r=btseng 2015-10-12 01:47:00 +02:00
PTelephonyRequest.ipdl Bug 1115603 - Part 5: Add serializer for nsITelephonyCallInfo (ipc). r=khuey 2015-01-08 16:33:51 +08:00
TelephonyChild.cpp Bug 1155072 - Part 1: Deprecate nsITelephonyListener.conferenceCallStateChanged (Telephony). r=btseng 2015-10-12 01:47:00 +02:00
TelephonyChild.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
TelephonyIPCSerializer.h Bug 1147736 - Part 1: Extend TelephonyCallInfo. r=aknow 2015-05-18 01:03:00 -04:00
TelephonyIPCService.cpp Bug 1155072 - Part 1: Deprecate nsITelephonyListener.conferenceCallStateChanged (Telephony). r=btseng 2015-10-12 01:47:00 +02:00
TelephonyIPCService.h Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
TelephonyParent.cpp Bug 1225923 - part 3 - fix AppendElement(nsDependentString(...)) calls in dom/telephony/; r=btseng 2015-11-18 10:53:05 -05:00
TelephonyParent.h Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat 2015-10-18 01:24:48 -04:00
TelephonyTypes.ipdlh Bug 1115603 - Part 5: Add serializer for nsITelephonyCallInfo (ipc). r=khuey 2015-01-08 16:33:51 +08:00