Renamed FindFrameWithContent() to GetPrimaryFrameFor()
git-svn-id: svn://10.0.0.236/trunk@16927 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user