зеркало из https://github.com/mozilla/gecko-dev.git
Bug 697230: Part 0 - Make table frame classes call into their superclass in DidSetStyleContext. r=bz
This commit is contained in:
Родитель
f9dc19e0af
Коммит
0a624c1ae1
|
@ -213,6 +213,8 @@ nsTableCellFrame::AttributeChanged(PRInt32 aNameSpaceID,
|
|||
/* virtual */ void
|
||||
nsTableCellFrame::DidSetStyleContext(nsStyleContext* aOldStyleContext)
|
||||
{
|
||||
nsContainerFrame::DidSetStyleContext(aOldStyleContext);
|
||||
|
||||
if (!aOldStyleContext) //avoid this on init
|
||||
return;
|
||||
|
||||
|
|
|
@ -54,6 +54,8 @@ nsTableColFrame::SetColType(nsTableColType aType)
|
|||
/* virtual */ void
|
||||
nsTableColFrame::DidSetStyleContext(nsStyleContext* aOldStyleContext)
|
||||
{
|
||||
nsSplittableFrame::DidSetStyleContext(aOldStyleContext);
|
||||
|
||||
if (!aOldStyleContext) //avoid this on init
|
||||
return;
|
||||
|
||||
|
|
|
@ -155,6 +155,8 @@ nsTableColGroupFrame::SetInitialChildList(ChildListID aListID,
|
|||
/* virtual */ void
|
||||
nsTableColGroupFrame::DidSetStyleContext(nsStyleContext* aOldStyleContext)
|
||||
{
|
||||
nsContainerFrame::DidSetStyleContext(aOldStyleContext);
|
||||
|
||||
if (!aOldStyleContext) //avoid this on init
|
||||
return;
|
||||
|
||||
|
|
|
@ -2023,6 +2023,8 @@ nsTableFrame::GetCollapsedWidth(nsMargin aBorderPadding)
|
|||
/* virtual */ void
|
||||
nsTableFrame::DidSetStyleContext(nsStyleContext* aOldStyleContext)
|
||||
{
|
||||
nsContainerFrame::DidSetStyleContext(aOldStyleContext);
|
||||
|
||||
if (!aOldStyleContext) //avoid this on init
|
||||
return;
|
||||
|
||||
|
|
|
@ -158,6 +158,8 @@ nsTableRowFrame::Init(nsIContent* aContent,
|
|||
/* virtual */ void
|
||||
nsTableRowFrame::DidSetStyleContext(nsStyleContext* aOldStyleContext)
|
||||
{
|
||||
nsContainerFrame::DidSetStyleContext(aOldStyleContext);
|
||||
|
||||
if (!aOldStyleContext) //avoid this on init
|
||||
return;
|
||||
|
||||
|
|
|
@ -1337,6 +1337,8 @@ nsTableRowGroupFrame::Reflow(nsPresContext* aPresContext,
|
|||
/* virtual */ void
|
||||
nsTableRowGroupFrame::DidSetStyleContext(nsStyleContext* aOldStyleContext)
|
||||
{
|
||||
nsContainerFrame::DidSetStyleContext(aOldStyleContext);
|
||||
|
||||
if (!aOldStyleContext) //avoid this on init
|
||||
return;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче