Bug 1579929 followup: change this bug's new logging to use new FLEX_LOG macro. (no review)
authorDaniel Holbert <dholbert@cs.stanford.edu>
Mon, 18 Nov 2019 07:07:03 +0000
changeset 502378 75035491e69f440e398617e2ccfd933eb63e8fc9
parent 502377 41919e4ed34d693e9bc16755957f27f95936c8a9
child 502379 0356b9960dfd5071aeb38ae52f53bf57eeeede6f
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1579929
milestone72.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 1579929 followup: change this bug's new logging to use new FLEX_LOG macro. (no review) Differential Revision: https://phabricator.services.mozilla.com/D53386
layout/generic/nsFlexContainerFrame.cpp
--- a/layout/generic/nsFlexContainerFrame.cpp
+++ b/layout/generic/nsFlexContainerFrame.cpp
@@ -1799,19 +1799,17 @@ nsFlexContainerFrame::MeasureAscentAndBS
     // Our measurements are from an earlier reflow which was interrupted.
     // (and the current reflow is not [yet] interrupted, so we have a chance
     // to maybe get a more accurate measurement now).
     // Purge our potentially-invalid item measurements.
     for (nsIFrame* frame : mFrames) {
       frame->DeleteProperty(CachedFlexMeasuringReflow());
     }
     RemoveStateBits(NS_STATE_FLEX_MEASUREMENTS_INTERRUPTED);
-    MOZ_LOG(gFlexContainerLog, LogLevel::Debug,
-            ("[perf] MeasureAscentAndBSizeForFlexItem purged all "
-             "cached values\n"));
+    FLEX_LOG("[perf] MeasureAscentAndBSizeForFlexItem purged cached values");
   } else if (const auto* cachedResult =
                  aItem.Frame()->GetProperty(CachedFlexMeasuringReflow())) {
     if (cachedResult->IsValidFor(aChildReflowInput)) {
       return *cachedResult;
     }
     FLEX_LOG("[perf] MeasureAscentAndBSizeForFlexItem rejected cached value");
   } else {
     FLEX_LOG(