diff --git a/mozilla/layout/base/nsCSSFrameConstructor.cpp b/mozilla/layout/base/nsCSSFrameConstructor.cpp index c2162e30d32..f3bb3a3c0a8 100644 --- a/mozilla/layout/base/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/base/nsCSSFrameConstructor.cpp @@ -4858,7 +4858,7 @@ nsCSSFrameConstructor::InitAndRestoreFrame(nsIPresContext* aPresContext aStyleContext, aPrevInFlow); if (aState.mFrameState && aState.mFrameManager) { - // aState.mFrameManager->RestoreFrameState(aPresContext, aNewFrame, aState.mFrameState); + aState.mFrameManager->RestoreFrameState(aPresContext, aNewFrame, aState.mFrameState); } return rv; @@ -8120,7 +8120,7 @@ nsCSSFrameConstructor::CaptureStateFor(nsIPresContext* aPresContext, nsCOMPtr frameManager; rv = presShell->GetFrameManager(getter_AddRefs(frameManager)); if (NS_SUCCEEDED(rv) && frameManager) { - // rv = frameManager->CaptureFrameState(aPresContext, aFrame, aHistoryState); + rv = frameManager->CaptureFrameState(aPresContext, aFrame, aHistoryState); } } } @@ -9281,7 +9281,6 @@ nsCSSFrameConstructor::CreateTreeWidgetContent(nsIPresContext* aPresContext, nsFrameItems frameItems; nsFrameConstructorState state(aPresContext, mFixedContainingBlock, GetAbsoluteContainingBlock(aPresContext, aParentFrame), - GetFloaterContainingBlock(aPresContext, aParentFrame), aFrameState); diff --git a/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp b/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp index c2162e30d32..f3bb3a3c0a8 100644 --- a/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp @@ -4858,7 +4858,7 @@ nsCSSFrameConstructor::InitAndRestoreFrame(nsIPresContext* aPresContext aStyleContext, aPrevInFlow); if (aState.mFrameState && aState.mFrameManager) { - // aState.mFrameManager->RestoreFrameState(aPresContext, aNewFrame, aState.mFrameState); + aState.mFrameManager->RestoreFrameState(aPresContext, aNewFrame, aState.mFrameState); } return rv; @@ -8120,7 +8120,7 @@ nsCSSFrameConstructor::CaptureStateFor(nsIPresContext* aPresContext, nsCOMPtr frameManager; rv = presShell->GetFrameManager(getter_AddRefs(frameManager)); if (NS_SUCCEEDED(rv) && frameManager) { - // rv = frameManager->CaptureFrameState(aPresContext, aFrame, aHistoryState); + rv = frameManager->CaptureFrameState(aPresContext, aFrame, aHistoryState); } } } @@ -9281,7 +9281,6 @@ nsCSSFrameConstructor::CreateTreeWidgetContent(nsIPresContext* aPresContext, nsFrameItems frameItems; nsFrameConstructorState state(aPresContext, mFixedContainingBlock, GetAbsoluteContainingBlock(aPresContext, aParentFrame), - GetFloaterContainingBlock(aPresContext, aParentFrame), aFrameState);