Bug 697230: Part 0 - Make table frame classes call into their superclass in DidSetStyleContext. r=bz

This commit is contained in:
Kyle Huey
2012-08-13 14:13:34 -07:00
parent 8b806e91c6
commit 7c39300413
6 changed files with 12 additions and 0 deletions

View File

@@ -213,6 +213,8 @@ nsTableCellFrame::AttributeChanged(PRInt32 aNameSpaceID,
/* virtual */ void
nsTableCellFrame::DidSetStyleContext(nsStyleContext* aOldStyleContext)
{
nsContainerFrame::DidSetStyleContext(aOldStyleContext);
if (!aOldStyleContext) //avoid this on init
return;