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:
bryner@brianryner.com
2004-01-07 22:30:53 +00:00
parent 01ca50a3fb
commit a90ec6ff21
128 changed files with 2387 additions and 4776 deletions

View File

@@ -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) {