Bug 1268342 part 1 - Remove useless constructor of PerFrameData. r?jfkthame draft
authorXidorn Quan <me@upsuper.org>
Thu, 26 May 2016 21:18:34 +1000
changeset 371875 225a54a0052eb6d86bfe03008aaa84859c677b8a
parent 371874 a008708a1379e3e6b57982457fa281a486da5a67
child 371876 2db7e39f8e00912d1a45e1f116c7fe8087b36f95
push id19375
push userxquan@mozilla.com
push dateFri, 27 May 2016 00:55:38 +0000
reviewersjfkthame
bugs1268342
milestone49.0a1
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