gecko-dev/ipc/mscom
Tom Ritter 7860d5ee3e Bug 1380092 Return 0 instead of nullptr r=jld
nullptr is explicitly not allowed to be cast to an int.
But uintptr_t is an unsigned int that happens to be large
enough to hold a pointer.

Return 0, which is an int.

MozReview-Commit-ID: 2SE76JuJLCo

--HG--
extra : rebase_source : b5e34b608af806fb05e9eaa4550b171e6db0eb8d
2017-07-11 15:13:38 -05:00
..
oop Bug 1368571: Modify handler and interceptor marshaling code so that it strips out any handlers from proxies that are destined for non-Gecko processes; r=jimm 2017-06-06 17:35:51 -06:00
ActivationContext.cpp Bug 1354077: Refactor mscom::ActivationContext to separate context from activation; r=jimm 2017-06-13 14:50:05 -06:00
ActivationContext.h Bug 1354077: Refactor mscom::ActivationContext to separate context from activation; r=jimm 2017-06-13 14:50:05 -06:00
Aggregation.h Bug 1303060: ipc/mscom changes for handler and payload support; r=jimm 2017-02-17 17:30:03 -07:00
AgileReference.cpp Bug 1338596: Add support for agile references to mscom; r=jimm 2017-02-10 11:18:26 -07:00
AgileReference.h Bug 1338596: Add support for agile references to mscom; r=jimm 2017-02-10 11:18:26 -07:00
AsyncInvoker.h Bug 1322532: Platform a11y changes to enable handler-based live regions; r=tbsaunde 2017-04-13 20:35:32 -06:00
COMApartmentRegion.h Bug 1277075: Add MainThreadRuntime class to mscom glue, enabling safe initialization of COM security and exception handlers; r=jimm 2016-07-20 11:10:46 -06:00
COMPtrHolder.h Bug 1354077: Fix missing interface registration annotations for CoGetInterfaceAndReleaseStream failures; r=jimm 2017-05-19 13:59:49 -06:00
DispatchForwarder.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
DispatchForwarder.h Bug 1298462 - tidy ipc/mscom/ files to avoid warnings from clang-cl; r=aklotz 2016-08-26 14:26:29 -04:00
DynamicallyLinkedFunctionPtr.h Bug 1338596: Add support for agile references to mscom; r=jimm 2017-02-10 11:18:26 -07:00
EnsureMTA.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
EnsureMTA.h Bug 1374792: Remove static keyword from declaration of event in mscom::EnsureMTA::EnsureMTA to prevent reuse when thread reenters; r=handymand 2017-07-06 16:44:21 -06:00
IHandlerProvider.h Bug 1303060: Changes to a11y to enable the serving of a COM handler; r=tbsaunde 2017-04-04 15:23:55 -06:00
Interceptor.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
Interceptor.h Bug 1371345: Fix deadlock caused by holding mscom Interceptor live set lock while posting work to the main thread; r=jimm 2017-06-08 11:52:53 -06:00
InterceptorLog.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
InterceptorLog.h Bug 1287875: Adds a logging facility for intercepted COM traffic; r=jimm 2016-07-14 17:11:33 -06:00
InterfaceRegistrationAnnotator.cpp Bug 1354077: Fix some problems with RegGetValue call failing due to failed type checking; r=jimm 2017-05-25 14:08:55 -06:00
InterfaceRegistrationAnnotator.h Bug 1354077: Annotate crash reports with COM interface configuration information when marshaling fails; r=jimm 2017-05-04 15:41:35 -06:00
MainThreadClientInfo.cpp Bug 1323069: mscom changes to facilitate resolution of remote client thread ID; r=jimm 2017-06-19 16:43:24 -06:00
MainThreadClientInfo.h Bug 1323069: mscom changes to facilitate resolution of remote client thread ID; r=jimm 2017-06-19 16:43:24 -06:00
MainThreadHandoff.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
MainThreadHandoff.h Bug 1303060: Changes to a11y to enable the serving of a COM handler; r=tbsaunde 2017-04-04 15:23:55 -06:00
MainThreadInvoker.cpp Bug 1370329 (part 1) - Clean up the profiler's RAII classes. r=mstange. 2017-06-07 12:33:19 +10:00
MainThreadInvoker.h Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
MainThreadRuntime.cpp Bug 1378141: Make 32-bit a11y builds make more thorough checks to determine which manifest to load; r=eeejay 2017-07-04 16:04:35 -07:00
MainThreadRuntime.h Bug 1354077: Push a11y activation context during mscom::MainThreadRuntime initialization; r=jimm 2017-06-27 11:28:41 -07:00
Objref.cpp Bug 1368571: Modify handler and interceptor marshaling code so that it strips out any handlers from proxies that are destined for non-Gecko processes; r=jimm 2017-06-06 17:35:51 -06:00
Objref.h Bug 1368571: Modify handler and interceptor marshaling code so that it strips out any handlers from proxies that are destined for non-Gecko processes; r=jimm 2017-06-06 17:35:51 -06:00
ProxyStream.cpp Bug 1354077: Fix missing interface registration annotations for CoGetInterfaceAndReleaseStream failures; r=jimm 2017-05-19 13:59:49 -06:00
ProxyStream.h Bug 1354077: Fix missing interface registration annotations for CoGetInterfaceAndReleaseStream failures; r=jimm 2017-05-19 13:59:49 -06:00
Ptr.h Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
Registration.cpp Bug 1354077: Refactor mscom::ActivationContext to separate context from activation; r=jimm 2017-06-13 14:50:05 -06:00
Registration.h Bug 1303060: ipc/mscom changes for handler and payload support; r=jimm 2017-02-17 17:30:03 -07:00
SpinEvent.cpp Bug 1350688 - Use a thread safe way to get the CPU count in the SpinEvent ctor. r=aklotz 2017-03-26 06:56:01 -07:00
SpinEvent.h Bug 1339945: Refactor mscom::MainThreadInvoker's wait mechanism into a separate class; r=handyman 2017-02-10 11:27:01 -07:00
StructStream.cpp Bug 1338609: Add the ability to serialize and deserialize structs using Microsoft RPC to mscom; r=jimm 2017-02-17 14:26:56 -07:00
StructStream.h Bug 1338609: Add the ability to serialize and deserialize structs using Microsoft RPC to mscom; r=jimm 2017-02-17 14:26:56 -07:00
Utils.cpp Bug 1380092 Return 0 instead of nullptr r=jld 2017-07-11 15:13:38 -05:00
Utils.h Bug 1354077: Refactor mscom::ActivationContext to separate context from activation; r=jimm 2017-06-13 14:50:05 -06:00
WeakRef.cpp Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm 2017-06-14 09:27:17 +08:00
WeakRef.h Bug 1371345: Fix deadlock caused by holding mscom Interceptor live set lock while posting work to the main thread; r=jimm 2017-06-08 11:52:53 -06:00
moz.build Bug 1323069: mscom changes to facilitate resolution of remote client thread ID; r=jimm 2017-06-19 16:43:24 -06:00