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

@@ -1941,7 +1941,8 @@ HTMLContentSink::ScrollToRef()
for (i = 0; i < ns; i++) {
nsIPresShell* shell = mDocument->GetShellAt(i);
if (nsnull != shell) {
nsIFrame* frame = shell->FindFrameWithContent(mRefContent);
nsIFrame* frame;
shell->GetPrimaryFrameFor(mRefContent, frame);
if (nsnull != frame) {
nsIViewManager* vm = shell->GetViewManager();
if (nsnull != vm) {