Use new cssLayout api

git-svn-id: svn://10.0.0.236/trunk@2753 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp 1998-05-30 21:18:32 +00:00
parent 6afff43de1
commit be4ed98aae
6 changed files with 12 additions and 6 deletions

View File

@ -1111,7 +1111,8 @@ nsBlockFrame::InitializeState(nsIPresContext* aPresContext,
// Get and apply the stylistic size. Note: do not limit the
// height until we are done reflowing.
PRIntn ss = aState.mStyleSizeFlags =
nsCSSLayout::GetStyleSize(aPresContext, this, aState.mStyleSize);
nsCSSLayout::GetStyleSize(aPresContext, aReflowState,
aState.mStyleSize);
if (0 != (ss & NS_SIZE_HAS_WIDTH)) {
aState.mAvailSize.width = aState.mStyleSize.width + lr;
}

View File

@ -1111,7 +1111,8 @@ nsBlockFrame::InitializeState(nsIPresContext* aPresContext,
// Get and apply the stylistic size. Note: do not limit the
// height until we are done reflowing.
PRIntn ss = aState.mStyleSizeFlags =
nsCSSLayout::GetStyleSize(aPresContext, this, aState.mStyleSize);
nsCSSLayout::GetStyleSize(aPresContext, aReflowState,
aState.mStyleSize);
if (0 != (ss & NS_SIZE_HAS_WIDTH)) {
aState.mAvailSize.width = aState.mStyleSize.width + lr;
}

View File

@ -1111,7 +1111,8 @@ nsBlockFrame::InitializeState(nsIPresContext* aPresContext,
// Get and apply the stylistic size. Note: do not limit the
// height until we are done reflowing.
PRIntn ss = aState.mStyleSizeFlags =
nsCSSLayout::GetStyleSize(aPresContext, this, aState.mStyleSize);
nsCSSLayout::GetStyleSize(aPresContext, aReflowState,
aState.mStyleSize);
if (0 != (ss & NS_SIZE_HAS_WIDTH)) {
aState.mAvailSize.width = aState.mStyleSize.width + lr;
}

View File

@ -1111,7 +1111,8 @@ nsBlockFrame::InitializeState(nsIPresContext* aPresContext,
// Get and apply the stylistic size. Note: do not limit the
// height until we are done reflowing.
PRIntn ss = aState.mStyleSizeFlags =
nsCSSLayout::GetStyleSize(aPresContext, this, aState.mStyleSize);
nsCSSLayout::GetStyleSize(aPresContext, aReflowState,
aState.mStyleSize);
if (0 != (ss & NS_SIZE_HAS_WIDTH)) {
aState.mAvailSize.width = aState.mStyleSize.width + lr;
}

View File

@ -1111,7 +1111,8 @@ nsBlockFrame::InitializeState(nsIPresContext* aPresContext,
// Get and apply the stylistic size. Note: do not limit the
// height until we are done reflowing.
PRIntn ss = aState.mStyleSizeFlags =
nsCSSLayout::GetStyleSize(aPresContext, this, aState.mStyleSize);
nsCSSLayout::GetStyleSize(aPresContext, aReflowState,
aState.mStyleSize);
if (0 != (ss & NS_SIZE_HAS_WIDTH)) {
aState.mAvailSize.width = aState.mStyleSize.width + lr;
}

View File

@ -1111,7 +1111,8 @@ nsBlockFrame::InitializeState(nsIPresContext* aPresContext,
// Get and apply the stylistic size. Note: do not limit the
// height until we are done reflowing.
PRIntn ss = aState.mStyleSizeFlags =
nsCSSLayout::GetStyleSize(aPresContext, this, aState.mStyleSize);
nsCSSLayout::GetStyleSize(aPresContext, aReflowState,
aState.mStyleSize);
if (0 != (ss & NS_SIZE_HAS_WIDTH)) {
aState.mAvailSize.width = aState.mStyleSize.width + lr;
}