Bug 1275831 - part5: fix NOISY_REFLOW_REASON block layout debug flag. r=dholbert
authorJeremy Chen <jeremychen@mozilla.com>
Fri, 27 May 2016 16:06:27 +0800
changeset 338282 69463fcae85a2522aefc99ed75fc47b504c32c53
parent 338281 45556622fe52c16de77f59975a6ae27cfe7aded3
child 338283 59ce575d21f13a723f0c7610b13fd597f36736d2
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs1275831
milestone49.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 1275831 - part5: fix NOISY_REFLOW_REASON block layout debug flag. r=dholbert Add back a helper function for listing framelist tags. This function has been called under other flags as well. MozReview-Commit-ID: 5smFQ70tVRO
layout/generic/nsIFrame.h
--- a/layout/generic/nsIFrame.h
+++ b/layout/generic/nsIFrame.h
@@ -3463,16 +3463,21 @@ public:
   void ListTag(FILE* out) const {
     ListTag(out, this);
   }
   static void ListTag(FILE* out, const nsIFrame* aFrame) {
     nsAutoCString t;
     ListTag(t, aFrame);
     fputs(t.get(), out);
   }
+  static void ListTag(FILE* out, const nsFrameList& aFrameList) {
+    for (nsIFrame* frame : aFrameList) {
+      ListTag(out, frame);
+    }
+  }
   void ListTag(nsACString& aTo) const;
   nsAutoCString ListTag() const {
     nsAutoCString tag;
     ListTag(tag);
     return tag;
   }
   static void ListTag(nsACString& aTo, const nsIFrame* aFrame);
   void ListGeneric(nsACString& aTo, const char* aPrefix = "", uint32_t aFlags = 0) const;