зеркало из https://github.com/mozilla/gecko-dev.git
Backout 852f51cb251e (bug 1117864) for various plugin test failures on a CLOSED TREE
This commit is contained in:
Родитель
3a3d9ab7f7
Коммит
5da1bc45f4
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче