Bug 1073003 - Fix more -Wreorder warnings. r=ehsan
authorBotond Ballo <botond@mozilla.com>
Wed, 17 Dec 2014 16:46:51 -0500
changeset 235575 6fde8c97e7a82fc91d9950295f0da2a301b93350
parent 235574 689797cc26c4d6a947b3e5e6526a62734b5e9372
child 235576 5aefc41261b0fd4808f1d67eee51cec820f19a25
push id366
push usercmanchester@mozilla.com
push dateThu, 08 Jan 2015 16:40:24 +0000
reviewersehsan
bugs1073003
milestone37.0a1
Bug 1073003 - Fix more -Wreorder warnings. r=ehsan
media/webrtc/signaling/src/media-conduit/WebrtcOMXH264VideoCodec.cpp
--- a/media/webrtc/signaling/src/media-conduit/WebrtcOMXH264VideoCodec.cpp
+++ b/media/webrtc/signaling/src/media-conduit/WebrtcOMXH264VideoCodec.cpp
@@ -252,18 +252,18 @@ class WebrtcOMXDecoder MOZ_FINAL : publi
 {
   NS_INLINE_DECL_THREADSAFE_REFCOUNTING(WebrtcOMXDecoder)
 public:
   WebrtcOMXDecoder(const char* aMimeType,
                    webrtc::DecodedImageCallback* aCallback)
     : mWidth(0)
     , mHeight(0)
     , mStarted(false)
+    , mCallback(aCallback)
     , mDecodedFrameLock("WebRTC decoded frame lock")
-    , mCallback(aCallback)
     , mEnding(false)
   {
     // Create binder thread pool required by stagefright.
     android::ProcessState::self()->startThreadPool();
 
     mLooper = new ALooper;
     mLooper->start();
     CODEC_LOGD("WebrtcOMXH264VideoDecoder:%p creating decoder", this);