Bug 1177927 followup: use . instead of -> to call method on nsFrameList, to fix compile error.
authorDaniel Holbert <dholbert@cs.stanford.edu>
Sat, 27 Jun 2015 03:30:36 -0700
changeset 250501 30e8c73f674ef5c6567b580b2f0e8caa627d1117
parent 250500 052df7a415f12f11d4faf35a45462f60f338ed2d
child 250502 8fe7179bfc6c991acf287d061d0cbf70323714ed
push id28956
push usercbook@mozilla.com
push dateMon, 29 Jun 2015 12:17:35 +0000
treeherdermozilla-central@e137fc38c431 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1177927
milestone41.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 1177927 followup: use . instead of -> to call method on nsFrameList, to fix compile error.
layout/printing/nsPrintEngine.cpp
--- a/layout/printing/nsPrintEngine.cpp
+++ b/layout/printing/nsPrintEngine.cpp
@@ -356,17 +356,17 @@ nsPrintEngine::GetSeqFrameAndCountPagesI
   // Finds the SimplePageSequencer frame
   nsIPageSequenceFrame* seqFrame = aPO->mPresShell->GetPageSequenceFrame();
   aSeqFrame = do_QueryFrame(seqFrame);
   if (!aSeqFrame) {
     return NS_ERROR_FAILURE;
   }
 
   // count the total number of pages
-  aCount = aSeqFrame->PrincipalChildList()->GetLength();
+  aCount = aSeqFrame->PrincipalChildList().GetLength();
 
   return NS_OK;
 }
 
 //-----------------------------------------------------------------
 nsresult nsPrintEngine::GetSeqFrameAndCountPages(nsIFrame*& aSeqFrame, int32_t& aCount)
 {
   NS_ASSERTION(mPrtPreview, "mPrtPreview can't be null!");