Removed the content-parent frame pointer. Now we just have the one geometric
parent git-svn-id: svn://10.0.0.236/trunk@17702 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -237,7 +237,7 @@ nsBlockBandData::GetFrameYMost(nsIFrame* aFrame)
|
||||
aFrame->GetRect(r);
|
||||
nscoord y = r.y;
|
||||
nsIFrame* parent;
|
||||
aFrame->GetGeometricParent(parent);
|
||||
aFrame->GetParent(parent);
|
||||
PRBool done = PR_FALSE;
|
||||
while (!done && (parent != spaceFrame)) {
|
||||
// If parent has a prev-in-flow, check there for equality first
|
||||
@@ -255,7 +255,7 @@ nsBlockBandData::GetFrameYMost(nsIFrame* aFrame)
|
||||
if (!done) {
|
||||
parent->GetOrigin(p);
|
||||
y += p.y;
|
||||
parent->GetGeometricParent(parent);
|
||||
parent->GetParent(parent);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user