зеркало из https://github.com/mozilla/gecko-dev.git
Bug 897539 - uninline ProtocolErrorBreakpoint to avoid code and string bloat; r=bent
This commit is contained in:
Родитель
a48434433d
Коммит
dbc0a775d9
|
@ -124,5 +124,14 @@ UnpackChannelOpened(const PrivateIPDLInterface&,
|
|||
return ChannelOpened::Read(aMsg, aTransport, aOtherProcess, aProtocol);
|
||||
}
|
||||
|
||||
void
|
||||
ProtocolErrorBreakpoint(const char* aMsg)
|
||||
{
|
||||
// Bugs that generate these error messages can be tough to
|
||||
// reproduce. Log always in the hope that someone finds the error
|
||||
// message.
|
||||
printf_stderr("IPDL protocol error: %s\n", aMsg);
|
||||
}
|
||||
|
||||
} // namespace ipc
|
||||
} // namespace mozilla
|
||||
|
|
|
@ -112,14 +112,8 @@ LoggingEnabled()
|
|||
#endif
|
||||
}
|
||||
|
||||
inline void
|
||||
ProtocolErrorBreakpoint(const char* aMsg)
|
||||
{
|
||||
// Bugs that generate these error messages can be tough to
|
||||
// reproduce. Log always in the hope that someone finds the error
|
||||
// message.
|
||||
printf_stderr("IPDL protocol error: %s\n", aMsg);
|
||||
}
|
||||
void
|
||||
ProtocolErrorBreakpoint(const char* aMsg);
|
||||
|
||||
typedef IPCMessageStart ProtocolId;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче