Silence a compiler warning about initialization order of RasterImage members, no bug
authorEhsan Akhgari <ehsan@mozilla.com>
Sat, 13 Oct 2012 17:28:39 -0400
changeset 110327 313526b27c227e2133bd261d0f0163bfcddecb42
parent 110326 97e4d66bc5fca0ec908d0158ea11110a4cfb5411
child 110328 3874d326bc540ec6e2b5456749d40bbe31082d11
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
milestone19.0a1
Silence a compiler warning about initialization order of RasterImage members, no bug
image/src/RasterImage.cpp
--- a/image/src/RasterImage.cpp
+++ b/image/src/RasterImage.cpp
@@ -230,18 +230,18 @@ RasterImage::RasterImage(imgStatusTracke
   mMultipart(false),
   mDiscardable(false),
   mHasSourceData(false),
   mDecoded(false),
   mHasBeenDecoded(false),
   mInDecoder(false),
   mAnimationFinished(false),
   mFinishing(false),
-  mScaleRequest(this),
-  mInUpdateImageContainer(false)
+  mInUpdateImageContainer(false),
+  mScaleRequest(this)
 {
   // Set up the discard tracker node.
   mDiscardTrackerNode.img = this;
   Telemetry::GetHistogramById(Telemetry::IMAGE_DECODE_COUNT)->Add(0);
 
   // Statistics
   num_containers++;