Bug 1053986 - Fix ordering of methods in nsIFrame.h r?dholbert
MozReview-Commit-ID: AbboPVCM4Gx
--- a/layout/generic/nsIFrame.h
+++ b/layout/generic/nsIFrame.h
@@ -2932,32 +2932,32 @@ public:
#ifdef DEBUG_LAYOUT
virtual nsresult SetXULDebug(nsBoxLayoutState& aState, bool aDebug)=0;
virtual nsresult GetXULDebug(bool& aDebug)=0;
virtual nsresult XULDumpBox(FILE* out)=0;
#endif
- /**
- * @return true if this text frame ends with a newline character. It
- * should return false if this is not a text frame.
- */
- virtual bool HasSignificantTerminalNewline() const;
-
static bool AddXULPrefSize(nsIFrame* aBox, nsSize& aSize, bool& aWidth, bool& aHeightSet);
static bool AddXULMinSize(nsBoxLayoutState& aState, nsIFrame* aBox,
nsSize& aSize, bool& aWidth, bool& aHeightSet);
static bool AddXULMaxSize(nsIFrame* aBox, nsSize& aSize, bool& aWidth, bool& aHeightSet);
static bool AddXULFlex(nsIFrame* aBox, nscoord& aFlex);
// END OF BOX LAYOUT METHODS
// The above methods have been migrated from nsIBox and are in the process of
// being refactored. DO NOT USE OUTSIDE OF XUL.
+ /**
+ * @return true if this text frame ends with a newline character. It
+ * should return false if this is not a text frame.
+ */
+ virtual bool HasSignificantTerminalNewline() const;
+
struct CaretPosition {
CaretPosition();
~CaretPosition();
nsCOMPtr<nsIContent> mResultContent;
int32_t mContentOffset;
};