Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -108,7 +108,7 @@ public:
|
||||
// Woohoo, concrete class with an IID!
|
||||
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFRAMESETFRAME_IID)
|
||||
|
||||
nsHTMLFramesetFrame();
|
||||
nsHTMLFramesetFrame(nsStyleContext* aContext);
|
||||
|
||||
virtual ~nsHTMLFramesetFrame();
|
||||
|
||||
@@ -116,7 +116,6 @@ public:
|
||||
|
||||
NS_IMETHOD Init(nsIContent* aContent,
|
||||
nsIFrame* aParent,
|
||||
nsStyleContext* aContext,
|
||||
nsIFrame* aPrevInFlow);
|
||||
|
||||
static PRBool gDragInProgress;
|
||||
|
||||
Reference in New Issue
Block a user