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:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user