Bug 1434822 part 1: Disable COM ping functionality for our parent process instead of for external processes. r?aklotz
MozReview-Commit-ID: 2ayfzIxh8Lo
--- a/ipc/mscom/FastMarshaler.cpp
+++ b/ipc/mscom/FastMarshaler.cpp
@@ -98,17 +98,17 @@ FastMarshaler::InternalRelease()
DWORD
FastMarshaler::GetMarshalFlags(DWORD aDestContext, DWORD aMshlFlags)
{
// Only worry about local contexts.
if (aDestContext != MSHCTX_LOCAL) {
return aMshlFlags;
}
- if (!IsCallerExternalProcess()) {
+ if (IsCallerExternalProcess()) {
return aMshlFlags;
}
// The caller is our parent main thread. Disable ping functionality.
return aMshlFlags | MSHLFLAGS_NOPING;
}
HRESULT