mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-02 03:49:37 +00:00
Call FindCanvasBackground after it has been defined since it is an inline funciton.
Fixing Solaris Forte tinderbox bustage.
This commit is contained in:
parent
9fd943dd88
commit
c3a82c9159
@ -358,16 +358,6 @@ nsContextMenuInfo::GetBackgroundImageRequest(nsIDOMNode * aDOMNode, imgIRequest
|
||||
// Perhaps there is a better, pubically supported way to get the same thing done?
|
||||
////////
|
||||
|
||||
PRBool
|
||||
nsContextMenuInfo::FindBackground(nsIPresContext* aPresContext,
|
||||
nsIFrame* aForFrame,
|
||||
const nsStyleBackground** aBackground,
|
||||
PRBool* aIsCanvas)
|
||||
{
|
||||
*aIsCanvas = PR_TRUE;
|
||||
return FindCanvasBackground(aPresContext, aForFrame, aBackground);
|
||||
}
|
||||
|
||||
// nethod GetFrameForBackgroundUpdate
|
||||
//
|
||||
// If the frame (aFrame) is the HTML or BODY frame then find the canvas frame and set the
|
||||
@ -561,3 +551,14 @@ nsContextMenuInfo::IsCanvasFrame(nsIFrame *aFrame)
|
||||
frameType == mTag_rootFrame ||
|
||||
frameType == mTag_pageFrame);
|
||||
}
|
||||
|
||||
PRBool
|
||||
nsContextMenuInfo::FindBackground(nsIPresContext* aPresContext,
|
||||
nsIFrame* aForFrame,
|
||||
const nsStyleBackground** aBackground,
|
||||
PRBool* aIsCanvas)
|
||||
{
|
||||
*aIsCanvas = PR_TRUE;
|
||||
return FindCanvasBackground(aPresContext, aForFrame, aBackground);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user