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