Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc.

This commit is contained in:
2007-03-30 14:11:41 -07:00
parent e4548593b0
commit e0f90db412
104 changed files with 539 additions and 539 deletions

View File

@@ -221,7 +221,7 @@ nsHTMLReflowState::SetComputedWidth(nscoord aComputedWidth)
mComputedWidth = aComputedWidth;
if (mComputedWidth != oldComputedWidth &&
frame->GetType() != nsGkAtoms::viewportFrame) { // Or check GetParent()?
InitResizeFlags(frame->GetPresContext());
InitResizeFlags(frame->PresContext());
}
}
@@ -1686,7 +1686,7 @@ nsCSSOffsetState::InitOffsets(nscoord aContainingBlockWidth,
const nsStyleDisplay *disp = frame->GetStyleDisplay();
PRBool isThemed = frame->IsThemed(disp);
nsPresContext *presContext = frame->GetPresContext();
nsPresContext *presContext = frame->PresContext();
if (isThemed &&
presContext->GetTheme()->GetWidgetPadding(presContext->DeviceContext(),