Bug 1352575 (part 16) - Remove PluginModuleChromeParent::mAsyncInitRv. r=jimm.

This commit is contained in:
Nicholas Nethercote
2017-04-18 16:56:45 +10:00
parent e8f1fe8889
commit 3896d24cf1
2 changed files with 1 additions and 3 deletions

View File

@@ -515,7 +515,7 @@ PluginModuleChromeParent::OnProcessLaunched(const bool aSucceeded)
}
// We may have already been initialized by another call that was waiting
// for process connect. If so, this function doesn't need to run.
if (mAsyncInitRv != NS_ERROR_NOT_INITIALIZED || mShutdown) {
if (mShutdown) {
return;
}
@@ -665,7 +665,6 @@ PluginModuleChromeParent::PluginModuleChromeParent(const char* aFilePath,
, mFlashProcess2(0)
, mFinishInitTask(nullptr)
#endif
, mAsyncInitRv(NS_ERROR_NOT_INITIALIZED)
{
NS_ASSERTION(mSubprocess, "Out of memory!");
mSandboxLevel = aSandboxLevel;