Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
This commit is contained in:
@@ -59,11 +59,11 @@
|
||||
#include "nsIDOMEvent.h"
|
||||
#include "nsIScrollableView.h"
|
||||
#include "nsWidgetsCID.h"
|
||||
#include "nsIStyleSet.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsIDeviceContext.h"
|
||||
#include "nsIFontMetrics.h"
|
||||
#include "nsReflowPath.h"
|
||||
#include "nsIStyleFrameConstruction.h"
|
||||
|
||||
static NS_DEFINE_CID(kCChildCID, NS_CHILD_CID);
|
||||
|
||||
@@ -321,7 +321,7 @@ nsHTMLContainerFrame::CreateNextInFlow(nsIPresContext* aPresContext,
|
||||
// into our lines child list.
|
||||
nsIFrame* nextFrame = aFrame->GetNextSibling();
|
||||
|
||||
aPresContext->PresShell()->GetStyleSet()->
|
||||
aPresContext->PresShell()->FrameConstructor()->
|
||||
CreateContinuingFrame(aPresContext, aFrame, aOuterFrame, &nextInFlow);
|
||||
|
||||
if (nsnull == nextInFlow) {
|
||||
|
||||
Reference in New Issue
Block a user