Bug 1222109 - Initialize mHasGamepadListener in InitializeMembers(); r=cleu

This commit is contained in:
Kyle Machulis 2016-01-25 11:03:12 -08:00
parent 1c8b62dd82
commit 100dc5470f

View File

@ -2383,6 +2383,7 @@ ContentParent::InitializeMembers()
mShutdownPending = false;
mIPCOpen = true;
mHangMonitorActor = nullptr;
mHasGamepadListener = false;
}
bool
@ -2426,7 +2427,6 @@ ContentParent::ContentParent(mozIApplication* aApp,
, mOpener(aOpener)
, mIsForBrowser(aIsForBrowser)
, mIsNuwaProcess(aIsNuwaProcess)
, mHasGamepadListener(false)
{
InitializeMembers(); // Perform common initialization.