Bug 1415494 - Uninitialised value use in mozilla::layers::CompositorManagerChild::IsInitialized. r=aosmond.

--HG--
extra : rebase_source : 5879cf17e81c25a5fe343c834e5c1eeb6693a0cf
This commit is contained in:
Julian Seward 2017-11-16 11:31:51 +01:00
parent 853c90510c
commit 5c81253f01
2 changed files with 2 additions and 1 deletions

View File

@ -91,6 +91,7 @@ GPUProcessManager::GPUProcessManager()
mNumProcessAttempts(0),
mDeviceResetCount(0),
mProcess(nullptr),
mProcessToken(0),
mGPUChild(nullptr)
{
MOZ_COUNT_CTOR(GPUProcessManager);

View File

@ -281,7 +281,7 @@ private:
// Fields that are associated with the current GPU process.
GPUProcessHost* mProcess;
MOZ_INIT_OUTSIDE_CTOR uint64_t mProcessToken;
uint64_t mProcessToken;
GPUChild* mGPUChild;
RefPtr<VsyncBridgeChild> mVsyncBridge;
};