Bug 1268342 part 1 - Remove useless constructor of PerFrameData. r=jfkthame
authorXidorn Quan <me@upsuper.org>
Mon, 30 May 2016 09:24:18 +1000
changeset 338463 d36ad40cf9910c695a20eff674aa18dc89d3b269
parent 338462 bc8ea177c0d8303861f04c6009582acf40c692bb
child 338464 77af17d7575646053e3ffad7c2f8c19e675e866e
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)
reviewersjfkthame
bugs1268342
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 1268342 part 1 - Remove useless constructor of PerFrameData. r=jfkthame MozReview-Commit-ID: IL3iq4FFEaY
layout/generic/nsLineLayout.h
--- a/layout/generic/nsLineLayout.h
+++ b/layout/generic/nsLineLayout.h
@@ -418,23 +418,16 @@ protected:
   // justification and relative positioning).
 
   struct PerSpanData;
   struct PerFrameData;
   friend struct PerSpanData;
   friend struct PerFrameData;
   struct PerFrameData
   {
-    explicit PerFrameData(mozilla::WritingMode aWritingMode)
-      : mBounds(aWritingMode)
-      , mMargin(aWritingMode)
-      , mBorderPadding(aWritingMode)
-      , mOffsets(aWritingMode)
-    {}
-
     // link to next/prev frame in same span
     PerFrameData* mNext;
     PerFrameData* mPrev;
 
     // Link to the frame of next ruby annotation.  It is a linked list
     // through this pointer from ruby base to all its annotations.  It
     // could be nullptr if there is no more annotation.
     // If PFD_ISLINKEDTOBASE is set, the current PFD is one of the ruby