diff --git a/mozilla/content/base/src/nsStyleSet.cpp b/mozilla/content/base/src/nsStyleSet.cpp index 48eb0f78e3d..31c92428adc 100644 --- a/mozilla/content/base/src/nsStyleSet.cpp +++ b/mozilla/content/base/src/nsStyleSet.cpp @@ -113,6 +113,8 @@ public: NS_IMETHOD ContentChanged(nsIPresContext* aPresContext, nsIContent* aContent, nsISupports* aSubContent); + NS_IMETHOD ContentStateChanged(nsIPresContext* aPresContext, + nsIContent* aContent); NS_IMETHOD AttributeChanged(nsIPresContext* aPresContext, nsIContent* aChild, nsIAtom* aAttribute, @@ -780,6 +782,14 @@ StyleSetImpl::ContentChanged(nsIPresContext* aPresContext, aContent, aSubContent); } +NS_IMETHODIMP +StyleSetImpl::ContentStateChanged(nsIPresContext* aPresContext, + nsIContent* aContent) +{ + return mFrameConstructor->ContentStateChanged(aPresContext, aContent); +} + + NS_IMETHODIMP StyleSetImpl::AttributeChanged(nsIPresContext* aPresContext, nsIContent* aContent, @@ -848,9 +858,9 @@ void StyleSetImpl::List(FILE* out, PRInt32 aIndent, nsISupportsArray* aSheets) void StyleSetImpl::List(FILE* out, PRInt32 aIndent) { - List(out, aIndent, mOverrideSheets); +// List(out, aIndent, mOverrideSheets); List(out, aIndent, mDocSheets); - List(out, aIndent, mBackstopSheets); +// List(out, aIndent, mBackstopSheets); } void StyleSetImpl::ListContexts(nsIStyleContext* aRootContext, FILE* out, PRInt32 aIndent) diff --git a/mozilla/layout/base/src/nsStyleSet.cpp b/mozilla/layout/base/src/nsStyleSet.cpp index 48eb0f78e3d..31c92428adc 100644 --- a/mozilla/layout/base/src/nsStyleSet.cpp +++ b/mozilla/layout/base/src/nsStyleSet.cpp @@ -113,6 +113,8 @@ public: NS_IMETHOD ContentChanged(nsIPresContext* aPresContext, nsIContent* aContent, nsISupports* aSubContent); + NS_IMETHOD ContentStateChanged(nsIPresContext* aPresContext, + nsIContent* aContent); NS_IMETHOD AttributeChanged(nsIPresContext* aPresContext, nsIContent* aChild, nsIAtom* aAttribute, @@ -780,6 +782,14 @@ StyleSetImpl::ContentChanged(nsIPresContext* aPresContext, aContent, aSubContent); } +NS_IMETHODIMP +StyleSetImpl::ContentStateChanged(nsIPresContext* aPresContext, + nsIContent* aContent) +{ + return mFrameConstructor->ContentStateChanged(aPresContext, aContent); +} + + NS_IMETHODIMP StyleSetImpl::AttributeChanged(nsIPresContext* aPresContext, nsIContent* aContent, @@ -848,9 +858,9 @@ void StyleSetImpl::List(FILE* out, PRInt32 aIndent, nsISupportsArray* aSheets) void StyleSetImpl::List(FILE* out, PRInt32 aIndent) { - List(out, aIndent, mOverrideSheets); +// List(out, aIndent, mOverrideSheets); List(out, aIndent, mDocSheets); - List(out, aIndent, mBackstopSheets); +// List(out, aIndent, mBackstopSheets); } void StyleSetImpl::ListContexts(nsIStyleContext* aRootContext, FILE* out, PRInt32 aIndent) diff --git a/mozilla/layout/style/nsStyleSet.cpp b/mozilla/layout/style/nsStyleSet.cpp index 48eb0f78e3d..31c92428adc 100644 --- a/mozilla/layout/style/nsStyleSet.cpp +++ b/mozilla/layout/style/nsStyleSet.cpp @@ -113,6 +113,8 @@ public: NS_IMETHOD ContentChanged(nsIPresContext* aPresContext, nsIContent* aContent, nsISupports* aSubContent); + NS_IMETHOD ContentStateChanged(nsIPresContext* aPresContext, + nsIContent* aContent); NS_IMETHOD AttributeChanged(nsIPresContext* aPresContext, nsIContent* aChild, nsIAtom* aAttribute, @@ -780,6 +782,14 @@ StyleSetImpl::ContentChanged(nsIPresContext* aPresContext, aContent, aSubContent); } +NS_IMETHODIMP +StyleSetImpl::ContentStateChanged(nsIPresContext* aPresContext, + nsIContent* aContent) +{ + return mFrameConstructor->ContentStateChanged(aPresContext, aContent); +} + + NS_IMETHODIMP StyleSetImpl::AttributeChanged(nsIPresContext* aPresContext, nsIContent* aContent, @@ -848,9 +858,9 @@ void StyleSetImpl::List(FILE* out, PRInt32 aIndent, nsISupportsArray* aSheets) void StyleSetImpl::List(FILE* out, PRInt32 aIndent) { - List(out, aIndent, mOverrideSheets); +// List(out, aIndent, mOverrideSheets); List(out, aIndent, mDocSheets); - List(out, aIndent, mBackstopSheets); +// List(out, aIndent, mBackstopSheets); } void StyleSetImpl::ListContexts(nsIStyleContext* aRootContext, FILE* out, PRInt32 aIndent)