Bug 1145218 followup - Properly parenthesize macro argument. No review.
authorL. David Baron <dbaron@dbaron.org>
Mon, 14 Mar 2016 10:27:05 -0700
changeset 288607 404a3f74b2793339294cbdfd522df47d612192a3
parent 288606 29a9317a44c2c18325ad4e823fe87779eb0f85c2
child 288608 718aa12e555b11e5980ea59929bf37c7416fd1db
push id18174
push usercbook@mozilla.com
push dateTue, 15 Mar 2016 09:44:58 +0000
treeherderfx-team@dd0baa33759d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1145218
milestone48.0a1
Bug 1145218 followup - Properly parenthesize macro argument. No review. MozReview-Commit-ID: EZ5zX4L6z6W
layout/generic/nsFloatManager.cpp
--- a/layout/generic/nsFloatManager.cpp
+++ b/layout/generic/nsFloatManager.cpp
@@ -110,17 +110,17 @@ void nsFloatManager::Shutdown()
       free(floatManager);
   }
 
   // Disable further caching.
   sCachedFloatManagerCount = -1;
 }
 
 #define CHECK_BLOCK_DIR(aWM) \
-  NS_ASSERTION(aWM.GetBlockDir() == mWritingMode.GetBlockDir(), \
+  NS_ASSERTION((aWM).GetBlockDir() == mWritingMode.GetBlockDir(), \
   "incompatible writing modes")
 
 nsFlowAreaRect
 nsFloatManager::GetFlowArea(WritingMode aWM, nscoord aBOffset,
                             BandInfoType aInfoType, nscoord aBSize,
                             LogicalRect aContentArea, SavedState* aState,
                             const nsSize& aContainerSize) const
 {