Backout 852f51cb251e (bug 1117864) for various plugin test failures on a CLOSED TREE

This commit is contained in:
Wes Kocher 2015-01-07 18:35:40 -08:00
Родитель 3a3d9ab7f7
Коммит 5da1bc45f4
1 изменённых файлов: 3 добавлений и 5 удалений

Просмотреть файл

@ -368,12 +368,10 @@ PluginModuleChromeParent::LoadModule(const char* aFilePath, uint32_t aPluginId,
PLUGIN_LOG_DEBUG_FUNCTION;
nsAutoPtr<PluginModuleChromeParent> parent(new PluginModuleChromeParent(aFilePath, aPluginId));
UniquePtr<LaunchCompleteTask> launchRunnable;
if (parent->mIsStartingAsync) {
launchRunnable.reset(new LaunchedTask(parent));
}
UniquePtr<LaunchCompleteTask> onLaunchedRunnable(new LaunchedTask(parent));
parent->mSubprocess->SetCallRunnableImmediately(!parent->mIsStartingAsync);
TimeStamp launchStart = TimeStamp::Now();
bool launched = parent->mSubprocess->Launch(Move(launchRunnable));
bool launched = parent->mSubprocess->Launch(Move(onLaunchedRunnable));
if (!launched) {
// We never reached open
parent->mShutdown = true;