Bug 1295544 - Typo fix of MOZ_CRASHREPORTER build config. r?krizsa draft
authorCervantes Yu <cyu@mozilla.com>
Tue, 16 Aug 2016 19:32:30 +0800
changeset 401139 84381e9d738c722cd2436c3935fe4a88825c4aee
parent 400825 054d4856cea6150a6638e5daf7913713281af97d
child 528405 eb819cda5e8a52dd9f92dad7996f1f3902d2bc1f
push id26371
push usercyu@mozilla.com
push dateTue, 16 Aug 2016 11:33:03 +0000
reviewerskrizsa
bugs1295544
milestone51.0a1
Bug 1295544 - Typo fix of MOZ_CRASHREPORTER build config. r?krizsa MozReview-Commit-ID: 73DSJTef14E
ipc/glue/ProtocolUtils.cpp
--- a/ipc/glue/ProtocolUtils.cpp
+++ b/ipc/glue/ProtocolUtils.cpp
@@ -313,17 +313,17 @@ bool DuplicateHandle(HANDLE aSourceHandl
   }
 #endif
 
   // Finally, see if we already have access to the process.
   ScopedProcessHandle targetProcess(OpenProcess(PROCESS_DUP_HANDLE,
                                                 FALSE,
                                                 aTargetProcessId));
   if (!targetProcess) {
-#ifdef MOZ_CRASH_REPORTER
+#ifdef MOZ_CRASHREPORTER
     CrashReporter::AnnotateCrashReport(
       NS_LITERAL_CSTRING("IPCTransportFailureReason"),
       NS_LITERAL_CSTRING("Failed to open target process."));
 #endif
     return false;
   }
 
   return !!::DuplicateHandle(::GetCurrentProcess(), aSourceHandle,