зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1755376: Rename receiving NotifyImpendingShutdown to distinguish send and receive case. r=ipc-reviewers,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D139257
This commit is contained in:
Родитель
83c4461b1b
Коммит
5d4e23141d
|
@ -895,7 +895,7 @@ bool MessageChannel::MaybeInterceptSpecialIOMessage(const Message& aMsg) {
|
|||
return true;
|
||||
} else if (IMPENDING_SHUTDOWN_MESSAGE_TYPE == aMsg.type()) {
|
||||
IPC_LOG("Impending Shutdown received");
|
||||
ProcessChild::NotifyImpendingShutdown();
|
||||
ProcessChild::NotifiedImpendingShutdown();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -70,7 +70,7 @@ bool ProcessChild::InitPrefs(int aArgc, char* aArgv[]) {
|
|||
ProcessChild::~ProcessChild() { gProcessChild = nullptr; }
|
||||
|
||||
/* static */
|
||||
void ProcessChild::NotifyImpendingShutdown() {
|
||||
void ProcessChild::NotifiedImpendingShutdown() {
|
||||
sExpectingShutdown = true;
|
||||
CrashReporter::AnnotateCrashReport(
|
||||
CrashReporter::Annotation::IPCShutdownState,
|
||||
|
|
|
@ -39,7 +39,7 @@ class ProcessChild : public ChildProcess {
|
|||
|
||||
static MessageLoop* message_loop() { return gProcessChild->mUILoop; }
|
||||
|
||||
static void NotifyImpendingShutdown();
|
||||
static void NotifiedImpendingShutdown();
|
||||
|
||||
static bool ExpectingShutdown();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче