Bug 1352575 (part 23) - Remove PluginProcessParent::mRunCompleteTaskImmediately. r=jimm.

Because it never gets set true any more.

The patch also removes PluginModuleChromeParent::WaitForIPCConnection().
This commit is contained in:
Nicholas Nethercote
2017-04-18 16:56:45 +10:00
parent f7aeac13e2
commit e358cc86df
4 changed files with 1 additions and 36 deletions

View File

@@ -481,7 +481,6 @@ PluginModuleChromeParent::LoadModule(const char* aFilePath, uint32_t aPluginId,
new PluginModuleChromeParent(aFilePath, aPluginId,
aPluginTag->mSandboxLevel));
UniquePtr<LaunchCompleteTask> onLaunchedRunnable(new LaunchedTask(parent));
parent->mSubprocess->SetCallRunnableImmediately();
TimeStamp launchStart = TimeStamp::Now();
bool launched = parent->mSubprocess->Launch(Move(onLaunchedRunnable),
aPluginTag->mSandboxLevel);
@@ -561,18 +560,6 @@ PluginModuleChromeParent::OnProcessLaunched(const bool aSucceeded)
#endif
}
bool
PluginModuleChromeParent::WaitForIPCConnection()
{
PluginProcessParent* process = Process();
MOZ_ASSERT(process);
process->SetCallRunnableImmediately();
if (!process->WaitUntilConnected()) {
return false;
}
return true;
}
bool
PluginModuleChromeParent::InitCrashReporter()
{