Bug 1105065: Remove an #ifdef, to fix a -Wunused-private-field build warning in GMPLoader.cpp for builds with --disable-sandbox. r=cpearce

This commit is contained in:
Daniel Holbert 2014-12-19 10:12:23 -08:00
parent ecb73205b2
commit 0b6715b2ce

View File

@ -163,14 +163,12 @@ GMPLoaderImpl::Load(const char* aLibPath,
nodeId = std::string(aOriginSalt, aOriginSalt + aOriginSaltLen);
}
#if defined(MOZ_GMP_SANDBOX)
// Start the sandbox now that we've generated the device bound node id.
// This must happen after the node id is bound to the device id, as
// generating the device id requires privileges.
if (mSandboxStarter) {
mSandboxStarter->Start(aLibPath);
}
#endif
// Load the GMP.
PRLibSpec libSpec;