Bug 1019287 - Use accessor instead of private variable in ifdef'ed logging code. r=dholbert
authorSusanna Bowen <sgbowen8@gmail.com>
Mon, 02 Jun 2014 16:26:00 -0400
changeset 206758 3ad3d4ab088e58f806e025e3cb0f85f29ca21544
parent 206757 68d62b6a0b0b6598bfc05e3392ca2d9cd084ea77
child 206759 d63d139cec02fc5c2f921b5c6b587a35baf24172
push id494
push userraliiev@mozilla.com
push dateMon, 25 Aug 2014 18:42:16 +0000
treeherdermozilla-release@a3cc3e46b571 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs1019287
milestone32.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1019287 - Use accessor instead of private variable in ifdef'ed logging code. r=dholbert
layout/generic/nsLineLayout.cpp
--- a/layout/generic/nsLineLayout.cpp
+++ b/layout/generic/nsLineLayout.cpp
@@ -1471,18 +1471,18 @@ nsLineLayout::BlockDirAlignLine()
                       psd->mICoord - psd->mIStart, lineBSize,
                       mContainerWidth);
 
   mFinalLineBSize = lineBSize;
   mLineBox->SetAscent(baselineBCoord - mBStartEdge);
 #ifdef NOISY_BLOCKDIR_ALIGN
   printf(
     "  [line]==> bounds{x,y,w,h}={%d,%d,%d,%d} lh=%d a=%d\n",
-    mLineBox->mBounds.IStart(lineWM), mLineBox->mBounds.BStart(lineWM),
-    mLineBox->mBounds.ISize(lineWM), mLineBox->mBounds.BSize(lineWM),
+    mLineBox->GetBounds().IStart(lineWM), mLineBox->GetBounds().BStart(lineWM),
+    mLineBox->GetBounds().ISize(lineWM), mLineBox->GetBounds().BSize(lineWM),
     mFinalLineBSize, mLineBox->GetAscent());
 #endif
 
   // Undo root-span mFrame pointer to prevent brane damage later on...
   mRootSpan->mFrame = nullptr;
 }
 
 void