Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
Taras Glek <tglek@mozilla.com>, rs=roc. git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -125,7 +125,7 @@ GetWidthInfo(nsIRenderingContext *aRenderingContext,
|
||||
// width which is bigger than the intrinsic minimum width uses
|
||||
// that coord value as the minimum width.
|
||||
if (aCellFrame && w > minCoord &&
|
||||
aCellFrame->GetPresContext()->CompatibilityMode() ==
|
||||
aCellFrame->PresContext()->CompatibilityMode() ==
|
||||
eCompatibility_NavQuirks &&
|
||||
aCellFrame->GetContent()->HasAttr(kNameSpaceID_None,
|
||||
nsGkAtoms::nowrap)) {
|
||||
@@ -224,7 +224,7 @@ BasicTableLayoutStrategy::ComputeColumnIntrinsicWidths(nsIRenderingContext* aRen
|
||||
nsTableCellMap *cellMap = tableFrame->GetCellMap();
|
||||
|
||||
nscoord spacing = tableFrame->GetCellSpacingX();
|
||||
SpanningCellSorter spanningCells(tableFrame->GetPresContext()->PresShell());
|
||||
SpanningCellSorter spanningCells(tableFrame->PresContext()->PresShell());
|
||||
|
||||
// Loop over the columns to consider the columns and cells *without*
|
||||
// a colspan.
|
||||
|
||||
Reference in New Issue
Block a user