Bug 1442245 - remove some obviously dead code from nsFrame.cpp; r=dholbert
authorNathan Froyd <froydnj@mozilla.com>
Thu, 01 Mar 2018 12:03:01 -0500
changeset 461106 732b3ae14303b9bd57b4b3db565ecddbf424d72b
parent 461105 b05965477a5adc39e0d64f61d13c278e8cf9989a
child 461107 12797fd8b6d669407f85e23acc9100b367cc9e1b
push id1683
push usersfraser@mozilla.com
push dateThu, 26 Apr 2018 16:43:40 +0000
treeherdermozilla-release@5af6cb21869d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs1442245
milestone60.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 1442245 - remove some obviously dead code from nsFrame.cpp; r=dholbert This code has been there for over a decade, almost two. We have moved on.
layout/generic/nsFrame.cpp
--- a/layout/generic/nsFrame.cpp
+++ b/layout/generic/nsFrame.cpp
@@ -195,22 +195,16 @@ struct nsContentAndOffset
 static bool
 IsReversedDirectionFrame(nsIFrame* aFrame)
 {
   FrameBidiData bidiData = aFrame->GetBidiData();
   return !IS_SAME_DIRECTION(bidiData.embeddingLevel, bidiData.baseLevel);
 }
 
 #include "nsILineIterator.h"
-
-//non Hack prototypes
-#if 0
-static void RefreshContentFrames(nsPresContext* aPresContext, nsIContent * aStartContent, nsIContent * aEndContent);
-#endif
-
 #include "prenv.h"
 
 NS_DECLARE_FRAME_PROPERTY_DELETABLE(BoxMetricsProperty, nsBoxLayoutMetrics)
 
 static void
 InitBoxMetrics(nsIFrame* aFrame, bool aClear)
 {
   if (aClear) {