added comment to remove. draft
authorBrad Werth <bwerth@mozilla.com>
Thu, 20 Apr 2017 15:48:48 -0700
changeset 566143 52fce16f71f2fd8131d89ef53ea3fd02f0c01ec6
parent 566142 3ed84e49f3c858c6752687710b6ff90a9ddb976c
child 625206 4e02e0f1be69da305ba1979503a33ed746b60710
push id55100
push userbwerth@mozilla.com
push dateThu, 20 Apr 2017 23:03:11 +0000
milestone55.0a1
added comment to remove. MozReview-Commit-ID: FXTki3M9xyY
layout/generic/nsBlockFrame.cpp
--- a/layout/generic/nsBlockFrame.cpp
+++ b/layout/generic/nsBlockFrame.cpp
@@ -1508,16 +1508,18 @@ nsBlockFrame::Reflow(nsPresContext*     
     char buf[400];
     SprintfLiteral(buf,
                    ": %" PRId64 " elapsed (%" PRId64 " per line) (%d lines; %d new lines)",
                    delta, perLineDelta, numLines, ectc - ctc);
     printf("%s\n", buf);
   }
 #endif
 
+  // Bug 1358299 START: Remove this code after the 56 merge date.
+
   // Bug 1351383: Collect data for the BOX_ALIGN_PROPS_IN_BLOCKS_FLAG probe.
   auto IsStyleNormal = [](uint16_t value)->bool {
     return (value == NS_STYLE_ALIGN_NORMAL);
   };
 
   // First check this frame for non-default values of the css-align properties
   // that apply to block containers.
   // Note: we check here for non-default "justify-items", though technically
@@ -1540,16 +1542,17 @@ nsBlockFrame::Reflow(nsPresContext*     
       if (line->IsBlock() &&
           !IsStyleNormal(line->mFirstChild->StylePosition()->mJustifySelf)) {
         Telemetry::Accumulate(
           Telemetry::BOX_ALIGN_PROPS_IN_BLOCKS_FLAG, true);
         break;
       }
     }
   }
+  // Bug 1358299 END
 
   NS_FRAME_SET_TRUNCATION(aStatus, (*reflowInput), aMetrics);
 }
 
 bool
 nsBlockFrame::CheckForCollapsedBEndMarginFromClearanceLine()
 {
   LineIterator begin = LinesBegin();