Bug 1509196 - Remove #ifdef NOISY_FINDFRAME. r=mats
authorTing-Yu Lin <tlin@mozilla.com>
Thu, 22 Nov 2018 00:55:45 +0000
changeset 504094 7efb1e74bf4f2311a0dcdab7a648ab024a1584c1
parent 504093 c00a2da3c2af666bb5c49d16ee81c0b258ed30f9
child 504095 20d7a96fca5d797c8e9e108e26d569177c37d73d
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmats
bugs1509196
milestone65.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 1509196 - Remove #ifdef NOISY_FINDFRAME. r=mats The code using FFWC_* variables was removed in https://hg.mozilla.org/mozilla-central/rev/e4438ed238da Differential Revision: https://phabricator.services.mozilla.com/D12611
layout/base/nsCSSFrameConstructor.cpp
--- a/layout/base/nsCSSFrameConstructor.cpp
+++ b/layout/base/nsCSSFrameConstructor.cpp
@@ -317,24 +317,16 @@ NS_NewScrollbarButtonFrame (nsIPresShell
 
 nsIFrame*
 NS_NewImageFrameForContentProperty(nsIPresShell*, ComputedStyle*);
 
 nsIFrame*
 NS_NewImageFrameForGeneratedContentIndex(nsIPresShell*, ComputedStyle*);
 
 
-#ifdef NOISY_FINDFRAME
-static int32_t FFWC_totalCount=0;
-static int32_t FFWC_doLoop=0;
-static int32_t FFWC_doSibling=0;
-static int32_t FFWC_recursions=0;
-static int32_t FFWC_nextInFlows=0;
-#endif
-
 // Returns true if aFrame is an anonymous flex/grid item.
 static inline bool
 IsAnonymousFlexOrGridItem(const nsIFrame* aFrame)
 {
   const nsAtom* pseudoType = aFrame->Style()->GetPseudo();
   return pseudoType == nsCSSAnonBoxes::anonymousFlexItem() ||
          pseudoType == nsCSSAnonBoxes::anonymousGridItem();
 }