Bug 1320094 - Add missing mLoading assignments in {nsHTMLFramesetFrame,nsHTMLFramesetBorderFrame}::GetCursor. r=dbaron.
authorJulian Seward <jseward@acm.org>
Mon, 28 Nov 2016 12:59:02 +0100
changeset 324439 2fbf43c56b4ca7349651fd51cdf9845cece01db9
parent 324438 f24049bdb0478ab51140e2718406cb02cd7bb33e
child 324440 d06dd4867d6012fd192fddeca4770c8ea9f207ab
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewersdbaron
bugs1320094
milestone53.0a1
Bug 1320094 - Add missing mLoading assignments in {nsHTMLFramesetFrame,nsHTMLFramesetBorderFrame}::GetCursor. r=dbaron.
layout/generic/nsFrameSetFrame.cpp
--- a/layout/generic/nsFrameSetFrame.cpp
+++ b/layout/generic/nsFrameSetFrame.cpp
@@ -659,16 +659,17 @@ nsresult nsHTMLFramesetFrame::HandleEven
   }
   return NS_OK;
 }
 
 nsresult
 nsHTMLFramesetFrame::GetCursor(const nsPoint&    aPoint,
                                nsIFrame::Cursor& aCursor)
 {
+  aCursor.mLoading = false;
   if (mDragger) {
     aCursor.mCursor = (mDragger->mVertical) ? NS_STYLE_CURSOR_EW_RESIZE : NS_STYLE_CURSOR_NS_RESIZE;
   } else {
     aCursor.mCursor = NS_STYLE_CURSOR_DEFAULT;
   }
   return NS_OK;
 }
 
@@ -1548,16 +1549,17 @@ nsHTMLFramesetBorderFrame::HandleEvent(n
   }
   return NS_OK;
 }
 
 nsresult
 nsHTMLFramesetBorderFrame::GetCursor(const nsPoint&    aPoint,
                                      nsIFrame::Cursor& aCursor)
 {
+  aCursor.mLoading = false;
   if (!mCanResize) {
     aCursor.mCursor = NS_STYLE_CURSOR_DEFAULT;
   } else {
     aCursor.mCursor = (mVertical) ? NS_STYLE_CURSOR_EW_RESIZE : NS_STYLE_CURSOR_NS_RESIZE;
   }
   return NS_OK;
 }