Bug 1331756 part 3: Remove extra space character between return value & function name, in some nsFrame.h method declarations. (whitespace-only, no review)
authorDaniel Holbert <dholbert@cs.stanford.edu>
Tue, 17 Jan 2017 16:27:03 -0800
changeset 374743 dbeeb7728cde4a022994dd84c1e4c98019588c13
parent 374742 8f0a8b51869b44dbb0984a76a996e07092252f5a
child 374744 84b2961081b54fe08375a5102af5ce4b45f7ff11
push id6996
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 20:48:21 +0000
treeherdermozilla-beta@d89512dab048 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1331756
milestone53.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 1331756 part 3: Remove extra space character between return value & function name, in some nsFrame.h method declarations. (whitespace-only, no review) MozReview-Commit-ID: ANyG6tB2NJP
layout/generic/nsFrame.h
--- a/layout/generic/nsFrame.h
+++ b/layout/generic/nsFrame.h
@@ -154,58 +154,58 @@ public:
   void DestroyFrom(nsIFrame* aDestructRoot) override;
   nsStyleContext* GetAdditionalStyleContext(int32_t aIndex) const override;
   void SetAdditionalStyleContext(int32_t aIndex,
                                          nsStyleContext* aStyleContext) override;
   nscoord GetLogicalBaseline(mozilla::WritingMode aWritingMode) const override;
   const nsFrameList& GetChildList(ChildListID aListID) const override;
   void GetChildLists(nsTArray<ChildList>* aLists) const override;
 
-  nsresult  HandleEvent(nsPresContext* aPresContext, 
+  nsresult HandleEvent(nsPresContext* aPresContext, 
                                 mozilla::WidgetGUIEvent* aEvent,
                                 nsEventStatus* aEventStatus) override;
-  nsresult  GetContentForEvent(mozilla::WidgetEvent* aEvent,
+  nsresult GetContentForEvent(mozilla::WidgetEvent* aEvent,
                                        nsIContent** aContent) override;
-  nsresult  GetCursor(const nsPoint&    aPoint,
+  nsresult GetCursor(const nsPoint&    aPoint,
                               nsIFrame::Cursor& aCursor) override;
 
-  nsresult  GetPointFromOffset(int32_t  inOffset,
+  nsresult GetPointFromOffset(int32_t  inOffset,
                                        nsPoint* outPoint) override;
-  nsresult  GetCharacterRectsInRange(int32_t aInOffset,
+  nsresult GetCharacterRectsInRange(int32_t aInOffset,
                                              int32_t aLength,
                                              nsTArray<nsRect>& aOutRect) override;
 
-  nsresult  GetChildFrameContainingOffset(int32_t    inContentOffset,
+  nsresult GetChildFrameContainingOffset(int32_t    inContentOffset,
                                                   bool       inHint,
                                                   int32_t*   outFrameContentOffset,
                                                   nsIFrame** outChildFrame) override;
 
-  static nsresult  GetNextPrevLineFromeBlockFrame(nsPresContext* aPresContext,
+  static nsresult GetNextPrevLineFromeBlockFrame(nsPresContext* aPresContext,
                                         nsPeekOffsetStruct *aPos, 
                                         nsIFrame *aBlockFrame, 
                                         int32_t aLineStart, 
                                         int8_t aOutSideLimit
                                         );
 
-  nsresult  CharacterDataChanged(CharacterDataChangeInfo* aInfo) override;
-  nsresult  AttributeChanged(int32_t         aNameSpaceID,
+  nsresult CharacterDataChanged(CharacterDataChangeInfo* aInfo) override;
+  nsresult AttributeChanged(int32_t         aNameSpaceID,
                                      nsIAtom*        aAttribute,
                                      int32_t         aModType) override;
   nsSplittableType GetSplittableType() const override;
   nsIFrame* GetPrevContinuation() const override;
   void SetPrevContinuation(nsIFrame*) override;
   nsIFrame* GetNextContinuation() const override;
   void SetNextContinuation(nsIFrame*) override;
   nsIFrame* GetPrevInFlowVirtual() const override;
   void SetPrevInFlow(nsIFrame*) override;
   nsIFrame* GetNextInFlowVirtual() const override;
   void SetNextInFlow(nsIFrame*) override;
   nsIAtom* GetType() const override;
 
-  nsresult  GetSelectionController(nsPresContext *aPresContext, nsISelectionController **aSelCon) override;
+  nsresult GetSelectionController(nsPresContext *aPresContext, nsISelectionController **aSelCon) override;
 
   FrameSearchResult PeekOffsetNoAmount(bool aForward, int32_t* aOffset) override;
   FrameSearchResult PeekOffsetCharacter(bool aForward, int32_t* aOffset,
                                      bool aRespectClusters = true) override;
   FrameSearchResult PeekOffsetWord(bool aForward, bool aWordSelectEatSpace, bool aIsKeyboardSelect,
                                 int32_t* aOffset, PeekWordState *aState) override;
   /**
    * Check whether we should break at a boundary between punctuation and
@@ -215,19 +215,19 @@ public:
    * @param aPunctAfter true if the next character is punctuation
    * @param aWhitespaceAfter true if the next character is whitespace
    */
   bool BreakWordBetweenPunctuation(const PeekWordState* aState,
                                      bool aForward,
                                      bool aPunctAfter, bool aWhitespaceAfter,
                                      bool aIsKeyboardSelect);
 
-  nsresult  CheckVisibility(nsPresContext* aContext, int32_t aStartIndex, int32_t aEndIndex, bool aRecurse, bool *aFinished, bool *_retval) override;
+  nsresult CheckVisibility(nsPresContext* aContext, int32_t aStartIndex, int32_t aEndIndex, bool aRecurse, bool *aFinished, bool *_retval) override;
 
-  nsresult  GetOffsets(int32_t &aStart, int32_t &aEnd) const override;
+  nsresult GetOffsets(int32_t &aStart, int32_t &aEnd) const override;
   void ChildIsDirty(nsIFrame* aChild) override;
 
 #ifdef ACCESSIBILITY
   mozilla::a11y::AccType AccessibleType() override;
 #endif
 
   nsStyleContext* GetParentStyleContext(nsIFrame** aProviderFrame) const override {
     return DoGetParentStyleContext(aProviderFrame);
@@ -496,28 +496,28 @@ public:
   static void* DisplayReflowEnter(nsPresContext*          aPresContext,
                                   nsIFrame*                aFrame,
                                   const ReflowInput& aReflowInput);
   static void* DisplayLayoutEnter(nsIFrame* aFrame);
   static void* DisplayIntrinsicISizeEnter(nsIFrame* aFrame,
                                           const char* aType);
   static void* DisplayIntrinsicSizeEnter(nsIFrame* aFrame,
                                          const char* aType);
-  static void  DisplayReflowExit(nsPresContext*      aPresContext,
+  static void DisplayReflowExit(nsPresContext*      aPresContext,
                                  nsIFrame*            aFrame,
                                  ReflowOutput& aMetrics,
                                  uint32_t             aStatus,
                                  void*                aFrameTreeNode);
-  static void  DisplayLayoutExit(nsIFrame* aFrame,
+  static void DisplayLayoutExit(nsIFrame* aFrame,
                                  void* aFrameTreeNode);
-  static void  DisplayIntrinsicISizeExit(nsIFrame* aFrame,
+  static void DisplayIntrinsicISizeExit(nsIFrame* aFrame,
                                          const char* aType,
                                          nscoord aResult,
                                          void* aFrameTreeNode);
-  static void  DisplayIntrinsicSizeExit(nsIFrame* aFrame,
+  static void DisplayIntrinsicSizeExit(nsIFrame* aFrame,
                                         const char* aType,
                                         nsSize aResult,
                                         void* aFrameTreeNode);
 
   static void DisplayReflowStartup();
   static void DisplayReflowShutdown();
 #endif
 
@@ -702,39 +702,39 @@ private:
   bool HasCSSTransitions();
 
 #ifdef DEBUG_FRAME_DUMP
 public:
   /**
    * Get a printable from of the name of the frame type.
    * XXX This should be eliminated and we use GetType() instead...
    */
-  nsresult  GetFrameName(nsAString& aResult) const override;
+  nsresult GetFrameName(nsAString& aResult) const override;
   nsresult MakeFrameName(const nsAString& aKind, nsAString& aResult) const;
   // Helper function to return the index in parent of the frame's content
   // object. Returns -1 on error or if the frame doesn't have a content object
   static int32_t ContentIndexInContainer(const nsIFrame* aFrame);
 #endif
 
 #ifdef DEBUG
 public:
   /**
    * Return the state bits that are relevant to regression tests (that
    * is, those bits which indicate a real difference when they differ
    */
-  nsFrameState  GetDebugStateBits() const override;
+  nsFrameState GetDebugStateBits() const override;
   /**
    * Called to dump out regression data that describes the layout
    * of the frame and its children, and so on. The format of the
    * data is dictated to be XML (using a specific DTD); the
    * specific kind of data dumped is up to the frame itself, with
    * the caveat that some base types are defined.
    * For more information, see XXX.
    */
-  nsresult  DumpRegressionData(nsPresContext* aPresContext,
+  nsresult DumpRegressionData(nsPresContext* aPresContext,
                                        FILE* out, int32_t aIndent) override;
 
   /**
    * See if style tree verification is enabled. To enable style tree
    * verification add "styleverifytree:1" to your MOZ_LOG
    * environment variable (any non-zero debug level will work). Or,
    * call SetVerifyStyleTreeEnable with true.
    */