зеркало из https://github.com/mozilla/gecko-dev.git
removed a spurious GetContent that was the cause of a memory leak
This commit is contained in:
Родитель
a32d5eca14
Коммит
888de27782
|
@ -65,9 +65,6 @@ nsTableColGroupFrame::InitNewFrames(nsIPresContext& aPresContext, nsIFrame* aChi
|
|||
// Process the newly added column frames
|
||||
for (nsIFrame* kidFrame = aChildList; nsnull != kidFrame; kidFrame->GetNextSibling(kidFrame)) {
|
||||
// Set the preliminary values for the column frame
|
||||
nsIContent* kid;
|
||||
kidFrame->GetContent(kid);
|
||||
|
||||
PRInt32 colIndex = mStartColIndex + mColCount;
|
||||
((nsTableColFrame *)(kidFrame))->InitColFrame (colIndex);
|
||||
PRInt32 repeat = ((nsTableColFrame *)(kidFrame))->GetSpan();
|
||||
|
|
|
@ -65,9 +65,6 @@ nsTableColGroupFrame::InitNewFrames(nsIPresContext& aPresContext, nsIFrame* aChi
|
|||
// Process the newly added column frames
|
||||
for (nsIFrame* kidFrame = aChildList; nsnull != kidFrame; kidFrame->GetNextSibling(kidFrame)) {
|
||||
// Set the preliminary values for the column frame
|
||||
nsIContent* kid;
|
||||
kidFrame->GetContent(kid);
|
||||
|
||||
PRInt32 colIndex = mStartColIndex + mColCount;
|
||||
((nsTableColFrame *)(kidFrame))->InitColFrame (colIndex);
|
||||
PRInt32 repeat = ((nsTableColFrame *)(kidFrame))->GetSpan();
|
||||
|
|
Загрузка…
Ссылка в новой задаче