DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -136,8 +136,7 @@ NS_IMETHODIMP nsPageContentFrame::Reflow(nsIPresContext* aPresContext,
|
||||
nsRect r;
|
||||
frame->GetRect(r);
|
||||
printf("PCF: Area Frame %p Bounds: %5d,%5d,%5d,%5d\n", frame, r.x, r.y, r.width, r.height);
|
||||
nsIView* view;
|
||||
frame->GetView(aPresContext, &view);
|
||||
nsIView* view = frame->GetView(aPresContext);
|
||||
if (view) {
|
||||
view->GetBounds(r);
|
||||
printf("PCF: Area Frame View Bounds: %5d,%5d,%5d,%5d\n", r.x, r.y, r.width, r.height);
|
||||
|
||||
Reference in New Issue
Block a user