Bug 91419 patch 7: Rename everything with SpecialPrevSibling to IBSplitPrevSibling. r=mats

This commit is contained in:
L. David Baron
2014-02-06 17:45:31 -08:00
parent c7542495f9
commit 932afa9af4

View File

@@ -427,7 +427,7 @@ static nsIFrame* GetIBSplitSibling(nsIFrame* aFrame)
Properties().Get(nsIFrame::IBSplitSibling()));
}
static nsIFrame* GetSpecialPrevSibling(nsIFrame* aFrame)
static nsIFrame* GetIBSplitPrevSibling(nsIFrame* aFrame)
{
NS_PRECONDITION(IsFramePartOfIBSplit(aFrame), "Shouldn't call this");
@@ -5853,7 +5853,7 @@ nsCSSFrameConstructor::AppendFramesToParent(nsFrameConstructorState& aStat
NS_ASSERTION(blockKids.NotEmpty(), "No blocks?");
nsIFrame* prevBlock =
GetSpecialPrevSibling(firstContinuation)->LastContinuation();
GetIBSplitPrevSibling(firstContinuation)->LastContinuation();
NS_ASSERTION(prevBlock, "Should have previous block here");
MoveChildrenTo(aState.mPresContext, aParentFrame, prevBlock, blockKids);
@@ -8582,7 +8582,7 @@ nsCSSFrameConstructor::MaybeRecreateContainerForFrameRemoval(nsIFrame* aFrame,
// Get the first continuation up front so we don't have to do it twice.
nsIFrame* parentFirstContinuation = parent->FirstContinuation();
if (!GetIBSplitSibling(parentFirstContinuation) ||
!GetSpecialPrevSibling(parentFirstContinuation)) {
!GetIBSplitPrevSibling(parentFirstContinuation)) {
return false;
}