deCOMify nsIPresShell::GetRootFrame. Change callers inside of gklayout to use FrameManager()->GetRootFrame() instead so that the call can be inlined. Bug 253889, r+sr=roc.

git-svn-id: svn://10.0.0.236/trunk@161637 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%brianryner.com
2004-09-02 03:08:51 +00:00
parent 16f0a79561
commit ae9e02402a
23 changed files with 71 additions and 94 deletions

View File

@@ -43,6 +43,7 @@
#include "nsRect.h"
#include "nsIViewManager.h"
#include "nsIPresShell.h"
#include "nsFrameManager.h"
#include "nsStyleContext.h"
#include "nsIScrollableView.h"
#include "nsLayoutAtoms.h"
@@ -2978,8 +2979,8 @@ nsCSSRendering::PaintBackgroundWithSC(nsPresContext* aPresContext,
nsIView* viewportView = nsnull;
nsRect viewportArea;
nsIFrame* rootFrame;
aPresContext->PresShell()->GetRootFrame(&rootFrame);
nsIFrame* rootFrame =
aPresContext->PresShell()->FrameManager()->GetRootFrame();
NS_ASSERTION(rootFrame, "no root frame");
if (aPresContext->IsPaginated()) {