Bug 1073081 - Fix -Wreorder warnings. r=ehsan

--HG--
extra : source : bb7467946fb9144514a5460a7103956449595d21
This commit is contained in:
Botond Ballo 2014-11-26 17:57:40 -05:00
parent 8296035077
commit 1394111644
3 changed files with 7 additions and 5 deletions

View File

@ -111,11 +111,13 @@ PreallocatedProcessManagerImpl::Singleton()
NS_IMPL_ISUPPORTS(PreallocatedProcessManagerImpl, nsIObserver)
PreallocatedProcessManagerImpl::PreallocatedProcessManagerImpl()
: mEnabled(false)
:
#ifdef MOZ_NUWA_PROCESS
, mPreallocateAppProcessTask(nullptr)
mPreallocateAppProcessTask(nullptr)
, mIsNuwaReady(false)
,
#endif
mEnabled(false)
, mShutdown(false)
{}

View File

@ -42,8 +42,8 @@ GonkAudioDecoderManager::GonkAudioDecoderManager(
: mAudioChannels(aConfig.channel_count)
, mAudioRate(aConfig.samples_per_second)
, mAudioProfile(aConfig.aac_profile)
, mAudioBuffer(nullptr)
, mUseAdts(true)
, mAudioBuffer(nullptr)
{
MOZ_COUNT_CTOR(GonkAudioDecoderManager);
MOZ_ASSERT(mAudioChannels);

View File

@ -250,9 +250,9 @@ private:
: OMXCodecWrapper(aCodecType)
, mResampler(nullptr)
, mChannels(0)
, mResamplingRatio(0)
, mTimestamp(0)
, mSampleDuration(0)
, mResamplingRatio(0) {}
, mSampleDuration(0) {}
// For creator function to access hidden constructor.
friend class OMXCodecWrapper;