Renamed FindFrameWithContent() to GetPrimaryFrameFor()

git-svn-id: svn://10.0.0.236/trunk@16927 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
1998-12-29 04:45:18 +00:00
parent 6a46e826d5
commit 43b0f05bb3
24 changed files with 162 additions and 79 deletions

View File

@@ -144,7 +144,9 @@ NS_IMETHODIMP nsHTMLReflowCommand::Dispatch(nsIPresContext& aPresContext,
#ifdef NS_DEBUG
nsIPresShell* shell = aPresContext.GetShell();
if (nsnull != shell) {
NS_ASSERTION(shell->GetRootFrame() == root, "bad root frame");
nsIFrame* rootFrame;
shell->GetRootFrame(rootFrame);
NS_ASSERTION(rootFrame == root, "bad root frame");
NS_RELEASE(shell);
}
#endif