diff --git a/mozilla/content/html/content/src/nsGenericHTMLElement.cpp b/mozilla/content/html/content/src/nsGenericHTMLElement.cpp
index 9626226510b..9d8c4134c14 100644
--- a/mozilla/content/html/content/src/nsGenericHTMLElement.cpp
+++ b/mozilla/content/html/content/src/nsGenericHTMLElement.cpp
@@ -1917,7 +1917,7 @@ static PRBool AttributeChangeRequiresReframe(const nsIAtom* aAttribute)
}
PRBool
-nsGenericHTMLElement::SetStyleHintForCommonAttributes(const nsIContent* aNode,
+nsGenericHTMLElement::GetStyleHintForCommonAttributes(const nsIContent* aNode,
const nsIAtom* aAttribute,
PRInt32* aHint)
{
diff --git a/mozilla/content/html/content/src/nsGenericHTMLElement.h b/mozilla/content/html/content/src/nsGenericHTMLElement.h
index f24c1199fc2..30c855170a1 100644
--- a/mozilla/content/html/content/src/nsGenericHTMLElement.h
+++ b/mozilla/content/html/content/src/nsGenericHTMLElement.h
@@ -234,7 +234,7 @@ public:
const nsHTMLValue& aValue,
nsString& aResult);
- static PRBool SetStyleHintForCommonAttributes(const nsIContent* aNode,
+ static PRBool GetStyleHintForCommonAttributes(const nsIContent* aNode,
const nsIAtom* aAttribute,
PRInt32* aHint);
diff --git a/mozilla/content/html/content/src/nsHTMLAnchorElement.cpp b/mozilla/content/html/content/src/nsHTMLAnchorElement.cpp
index 0b434ec20bb..eeb3e4d3ce2 100644
--- a/mozilla/content/html/content/src/nsHTMLAnchorElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLAnchorElement.cpp
@@ -329,6 +329,6 @@ nsHTMLAnchorElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLAppletElement.cpp b/mozilla/content/html/content/src/nsHTMLAppletElement.cpp
index 5e7207f47d6..b034b6607b3 100644
--- a/mozilla/content/html/content/src/nsHTMLAppletElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLAppletElement.cpp
@@ -225,6 +225,6 @@ nsHTMLAppletElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLAreaElement.cpp b/mozilla/content/html/content/src/nsHTMLAreaElement.cpp
index 5c0077d4d94..f346124d9d7 100644
--- a/mozilla/content/html/content/src/nsHTMLAreaElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLAreaElement.cpp
@@ -193,6 +193,6 @@ nsHTMLAreaElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLBRElement.cpp b/mozilla/content/html/content/src/nsHTMLBRElement.cpp
index 2744686a729..f4e287ac96c 100644
--- a/mozilla/content/html/content/src/nsHTMLBRElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLBRElement.cpp
@@ -201,6 +201,6 @@ nsHTMLBRElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLBaseElement.cpp b/mozilla/content/html/content/src/nsHTMLBaseElement.cpp
index f62d4fc3b28..1d91e1fdff4 100644
--- a/mozilla/content/html/content/src/nsHTMLBaseElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLBaseElement.cpp
@@ -175,6 +175,6 @@ nsHTMLBaseElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLBaseFontElement.cpp b/mozilla/content/html/content/src/nsHTMLBaseFontElement.cpp
index 3426bab18ab..dc0c2c99fdd 100644
--- a/mozilla/content/html/content/src/nsHTMLBaseFontElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLBaseFontElement.cpp
@@ -182,6 +182,6 @@ nsHTMLBaseFontElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLBodyElement.cpp b/mozilla/content/html/content/src/nsHTMLBodyElement.cpp
index 8699139d98f..101fc5da3b2 100644
--- a/mozilla/content/html/content/src/nsHTMLBodyElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLBodyElement.cpp
@@ -829,7 +829,7 @@ nsHTMLBodyElement::GetStyleHintForAttributeChange(
*aHint = NS_STYLE_HINT_VISUAL;
}
else {
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
}
return NS_OK;
diff --git a/mozilla/content/html/content/src/nsHTMLButtonElement.cpp b/mozilla/content/html/content/src/nsHTMLButtonElement.cpp
index cc32d01e58d..f0c3505e7d0 100644
--- a/mozilla/content/html/content/src/nsHTMLButtonElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLButtonElement.cpp
@@ -453,6 +453,6 @@ nsHTMLButtonElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLDListElement.cpp b/mozilla/content/html/content/src/nsHTMLDListElement.cpp
index e9a5f0c0224..852c2be593c 100644
--- a/mozilla/content/html/content/src/nsHTMLDListElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLDListElement.cpp
@@ -185,6 +185,6 @@ nsHTMLDListElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLDelElement.cpp b/mozilla/content/html/content/src/nsHTMLDelElement.cpp
index cb106db2d6c..d747d22e06b 100644
--- a/mozilla/content/html/content/src/nsHTMLDelElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLDelElement.cpp
@@ -178,6 +178,6 @@ nsHTMLDelElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLDirectoryElement.cpp b/mozilla/content/html/content/src/nsHTMLDirectoryElement.cpp
index 9018bc732f4..a8fc4dc9668 100644
--- a/mozilla/content/html/content/src/nsHTMLDirectoryElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLDirectoryElement.cpp
@@ -214,6 +214,6 @@ nsHTMLDirectoryElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLDivElement.cpp b/mozilla/content/html/content/src/nsHTMLDivElement.cpp
index 549be1e0493..b658d6cb1bf 100644
--- a/mozilla/content/html/content/src/nsHTMLDivElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLDivElement.cpp
@@ -208,6 +208,6 @@ nsHTMLDivElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLEmbedElement.cpp b/mozilla/content/html/content/src/nsHTMLEmbedElement.cpp
index 556358a9258..1ab107e0b0e 100644
--- a/mozilla/content/html/content/src/nsHTMLEmbedElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLEmbedElement.cpp
@@ -194,6 +194,6 @@ nsHTMLEmbedElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLFieldSetElement.cpp b/mozilla/content/html/content/src/nsHTMLFieldSetElement.cpp
index c340e6bf04c..ce7de5daa2d 100644
--- a/mozilla/content/html/content/src/nsHTMLFieldSetElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLFieldSetElement.cpp
@@ -272,6 +272,6 @@ nsHTMLFieldSetElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLFontElement.cpp b/mozilla/content/html/content/src/nsHTMLFontElement.cpp
index 8cbea837c54..c8ecf60f628 100644
--- a/mozilla/content/html/content/src/nsHTMLFontElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLFontElement.cpp
@@ -341,6 +341,6 @@ nsHTMLFontElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLFormElement.cpp b/mozilla/content/html/content/src/nsHTMLFormElement.cpp
index 1766b2d131d..3ef153028bc 100644
--- a/mozilla/content/html/content/src/nsHTMLFormElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLFormElement.cpp
@@ -602,6 +602,6 @@ nsHTMLFormElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLFrameElement.cpp b/mozilla/content/html/content/src/nsHTMLFrameElement.cpp
index 89e35bca6df..2dcbbd0f684 100644
--- a/mozilla/content/html/content/src/nsHTMLFrameElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLFrameElement.cpp
@@ -227,6 +227,6 @@ nsHTMLFrameElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLFrameSetElement.cpp b/mozilla/content/html/content/src/nsHTMLFrameSetElement.cpp
index ffcdb7cb617..aa35471e7a2 100644
--- a/mozilla/content/html/content/src/nsHTMLFrameSetElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLFrameSetElement.cpp
@@ -192,6 +192,6 @@ nsHTMLFrameSetElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLHRElement.cpp b/mozilla/content/html/content/src/nsHTMLHRElement.cpp
index 4a4479718b9..4125b08a827 100644
--- a/mozilla/content/html/content/src/nsHTMLHRElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLHRElement.cpp
@@ -262,6 +262,11 @@ nsHTMLHRElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ if (nsHTMLAtoms::noshade == aAttribute) {
+ *aHint = NS_STYLE_HINT_VISUAL;
+ }
+ else {
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ }
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLHeadElement.cpp b/mozilla/content/html/content/src/nsHTMLHeadElement.cpp
index 73db137197e..6e30e2c383c 100644
--- a/mozilla/content/html/content/src/nsHTMLHeadElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLHeadElement.cpp
@@ -172,6 +172,6 @@ nsHTMLHeadElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLHeadingElement.cpp b/mozilla/content/html/content/src/nsHTMLHeadingElement.cpp
index 0985ad1ff19..5c203455601 100644
--- a/mozilla/content/html/content/src/nsHTMLHeadingElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLHeadingElement.cpp
@@ -193,6 +193,6 @@ nsHTMLHeadingElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLHtmlElement.cpp b/mozilla/content/html/content/src/nsHTMLHtmlElement.cpp
index bc3ab803da2..7fabb8a3373 100644
--- a/mozilla/content/html/content/src/nsHTMLHtmlElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLHtmlElement.cpp
@@ -181,6 +181,6 @@ nsHTMLHtmlElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLIFrameElement.cpp b/mozilla/content/html/content/src/nsHTMLIFrameElement.cpp
index 38d4f433f1b..8fc6f81f7d3 100644
--- a/mozilla/content/html/content/src/nsHTMLIFrameElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLIFrameElement.cpp
@@ -284,6 +284,6 @@ nsHTMLIFrameElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLImageElement.cpp b/mozilla/content/html/content/src/nsHTMLImageElement.cpp
index 1e3bcc338b5..6433abcbc3e 100644
--- a/mozilla/content/html/content/src/nsHTMLImageElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLImageElement.cpp
@@ -357,6 +357,6 @@ nsHTMLImageElement::GetStyleHintForAttributeChange(
if (aAttribute == nsHTMLAtoms::src)
*aHint = NS_STYLE_HINT_CONTENT;
else
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLInsElement.cpp b/mozilla/content/html/content/src/nsHTMLInsElement.cpp
index 0188771e1d3..dcca1aa6e6a 100644
--- a/mozilla/content/html/content/src/nsHTMLInsElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLInsElement.cpp
@@ -178,6 +178,6 @@ nsHTMLInsElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLIsIndexElement.cpp b/mozilla/content/html/content/src/nsHTMLIsIndexElement.cpp
index 2d6e8aa9f11..909c1e1f02c 100644
--- a/mozilla/content/html/content/src/nsHTMLIsIndexElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLIsIndexElement.cpp
@@ -184,6 +184,6 @@ nsHTMLIsIndexElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLLIElement.cpp b/mozilla/content/html/content/src/nsHTMLLIElement.cpp
index 4287e6a7961..f50b075be2a 100644
--- a/mozilla/content/html/content/src/nsHTMLLIElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLLIElement.cpp
@@ -212,6 +212,6 @@ nsHTMLLIElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLLabelElement.cpp b/mozilla/content/html/content/src/nsHTMLLabelElement.cpp
index f42061062cf..f3df2074067 100644
--- a/mozilla/content/html/content/src/nsHTMLLabelElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLLabelElement.cpp
@@ -275,6 +275,6 @@ nsHTMLLabelElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLLegendElement.cpp b/mozilla/content/html/content/src/nsHTMLLegendElement.cpp
index 37c46209032..aee04afeec5 100644
--- a/mozilla/content/html/content/src/nsHTMLLegendElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLLegendElement.cpp
@@ -220,6 +220,6 @@ nsHTMLLegendElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLLinkElement.cpp b/mozilla/content/html/content/src/nsHTMLLinkElement.cpp
index 0748294b6ab..33b37de218e 100644
--- a/mozilla/content/html/content/src/nsHTMLLinkElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLLinkElement.cpp
@@ -196,6 +196,6 @@ nsHTMLLinkElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLMapElement.cpp b/mozilla/content/html/content/src/nsHTMLMapElement.cpp
index 84666f0c679..7caa33439be 100644
--- a/mozilla/content/html/content/src/nsHTMLMapElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLMapElement.cpp
@@ -201,6 +201,6 @@ nsHTMLMapElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLMenuElement.cpp b/mozilla/content/html/content/src/nsHTMLMenuElement.cpp
index bb1d4984b48..539f2592a83 100644
--- a/mozilla/content/html/content/src/nsHTMLMenuElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLMenuElement.cpp
@@ -213,6 +213,6 @@ nsHTMLMenuElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLMetaElement.cpp b/mozilla/content/html/content/src/nsHTMLMetaElement.cpp
index 004b28cb6dc..02f8ef2ba6e 100644
--- a/mozilla/content/html/content/src/nsHTMLMetaElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLMetaElement.cpp
@@ -181,6 +181,6 @@ nsHTMLMetaElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLModElement.cpp b/mozilla/content/html/content/src/nsHTMLModElement.cpp
index 7cb0b617ca1..5ef2ccf8df7 100644
--- a/mozilla/content/html/content/src/nsHTMLModElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLModElement.cpp
@@ -178,6 +178,6 @@ nsHTMLModElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLOListElement.cpp b/mozilla/content/html/content/src/nsHTMLOListElement.cpp
index ba144671e52..234b8b60f8d 100644
--- a/mozilla/content/html/content/src/nsHTMLOListElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLOListElement.cpp
@@ -240,6 +240,6 @@ nsHTMLOListElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLObjectElement.cpp b/mozilla/content/html/content/src/nsHTMLObjectElement.cpp
index 615c2f02cb7..c84a4280277 100644
--- a/mozilla/content/html/content/src/nsHTMLObjectElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLObjectElement.cpp
@@ -250,6 +250,6 @@ nsHTMLObjectElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLOptGroupElement.cpp b/mozilla/content/html/content/src/nsHTMLOptGroupElement.cpp
index 1dbf3221590..34f52c44072 100644
--- a/mozilla/content/html/content/src/nsHTMLOptGroupElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLOptGroupElement.cpp
@@ -178,6 +178,6 @@ nsHTMLOptGroupElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLOptionElement.cpp b/mozilla/content/html/content/src/nsHTMLOptionElement.cpp
index c863513b70b..858355bfb3d 100644
--- a/mozilla/content/html/content/src/nsHTMLOptionElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLOptionElement.cpp
@@ -314,7 +314,7 @@ nsHTMLOptionElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLParagraphElement.cpp b/mozilla/content/html/content/src/nsHTMLParagraphElement.cpp
index 0b05a7c8098..e1bb451d06b 100644
--- a/mozilla/content/html/content/src/nsHTMLParagraphElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLParagraphElement.cpp
@@ -201,6 +201,6 @@ nsHTMLParagraphElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLParamElement.cpp b/mozilla/content/html/content/src/nsHTMLParamElement.cpp
index 706e184aeba..42738210bc1 100644
--- a/mozilla/content/html/content/src/nsHTMLParamElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLParamElement.cpp
@@ -184,6 +184,6 @@ nsHTMLParamElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLPreElement.cpp b/mozilla/content/html/content/src/nsHTMLPreElement.cpp
index 40f52092bac..b95411b0722 100644
--- a/mozilla/content/html/content/src/nsHTMLPreElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLPreElement.cpp
@@ -229,6 +229,6 @@ nsHTMLPreElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLQuoteElement.cpp b/mozilla/content/html/content/src/nsHTMLQuoteElement.cpp
index bf6fc082e3e..bb77fb6f7c2 100644
--- a/mozilla/content/html/content/src/nsHTMLQuoteElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLQuoteElement.cpp
@@ -175,6 +175,6 @@ nsHTMLQuoteElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLScriptElement.cpp b/mozilla/content/html/content/src/nsHTMLScriptElement.cpp
index 7afd97f66d6..dba36bb1dcd 100644
--- a/mozilla/content/html/content/src/nsHTMLScriptElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLScriptElement.cpp
@@ -236,6 +236,6 @@ nsHTMLScriptElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLSelectElement.cpp b/mozilla/content/html/content/src/nsHTMLSelectElement.cpp
index 2d1bd67c47e..309cbac779a 100644
--- a/mozilla/content/html/content/src/nsHTMLSelectElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLSelectElement.cpp
@@ -700,7 +700,7 @@ nsHTMLSelectElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLSharedObjectElement.cpp b/mozilla/content/html/content/src/nsHTMLSharedObjectElement.cpp
index 615c2f02cb7..c84a4280277 100644
--- a/mozilla/content/html/content/src/nsHTMLSharedObjectElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLSharedObjectElement.cpp
@@ -250,6 +250,6 @@ nsHTMLObjectElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLSpacerElement.cpp b/mozilla/content/html/content/src/nsHTMLSpacerElement.cpp
index 56440209cb2..79583bca2cc 100644
--- a/mozilla/content/html/content/src/nsHTMLSpacerElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLSpacerElement.cpp
@@ -224,6 +224,6 @@ nsHTMLSpacerElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLSpanElement.cpp b/mozilla/content/html/content/src/nsHTMLSpanElement.cpp
index 37d50d58ff4..07dcea1e553 100644
--- a/mozilla/content/html/content/src/nsHTMLSpanElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLSpanElement.cpp
@@ -161,6 +161,6 @@ nsHTMLSpanElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLStyleElement.cpp b/mozilla/content/html/content/src/nsHTMLStyleElement.cpp
index 38cf2169c91..0abc58952ef 100644
--- a/mozilla/content/html/content/src/nsHTMLStyleElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLStyleElement.cpp
@@ -180,6 +180,6 @@ nsHTMLStyleElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLTableCaptionElement.cpp b/mozilla/content/html/content/src/nsHTMLTableCaptionElement.cpp
index 2174f2482d8..d060fe2891a 100644
--- a/mozilla/content/html/content/src/nsHTMLTableCaptionElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLTableCaptionElement.cpp
@@ -218,6 +218,6 @@ nsHTMLTableCaptionElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLTableCellElement.cpp b/mozilla/content/html/content/src/nsHTMLTableCellElement.cpp
index 99ae3ae0f5d..e33fa2169d2 100644
--- a/mozilla/content/html/content/src/nsHTMLTableCellElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLTableCellElement.cpp
@@ -488,7 +488,7 @@ nsHTMLTableCellElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- if (PR_TRUE == nsGenericHTMLElement::SetStyleHintForCommonAttributes(this,
+ if (PR_TRUE == nsGenericHTMLElement::GetStyleHintForCommonAttributes(this,
aAttribute, aHint)) {
// Do nothing
}
diff --git a/mozilla/content/html/content/src/nsHTMLTableColElement.cpp b/mozilla/content/html/content/src/nsHTMLTableColElement.cpp
index d13c1227d11..90128c703e1 100644
--- a/mozilla/content/html/content/src/nsHTMLTableColElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLTableColElement.cpp
@@ -322,7 +322,7 @@ nsHTMLTableColElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- if (PR_TRUE == nsGenericHTMLElement::SetStyleHintForCommonAttributes(this,
+ if (PR_TRUE == nsGenericHTMLElement::GetStyleHintForCommonAttributes(this,
aAttribute, aHint)) {
// Do nothing
}
diff --git a/mozilla/content/html/content/src/nsHTMLTableColGroupElement.cpp b/mozilla/content/html/content/src/nsHTMLTableColGroupElement.cpp
index 4b638ded064..eb53155e480 100644
--- a/mozilla/content/html/content/src/nsHTMLTableColGroupElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLTableColGroupElement.cpp
@@ -298,7 +298,7 @@ nsHTMLTableColGroupElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- if (PR_TRUE == nsGenericHTMLElement::SetStyleHintForCommonAttributes(this,
+ if (PR_TRUE == nsGenericHTMLElement::GetStyleHintForCommonAttributes(this,
aAttribute, aHint)) {
// Do nothing
}
diff --git a/mozilla/content/html/content/src/nsHTMLTableElement.cpp b/mozilla/content/html/content/src/nsHTMLTableElement.cpp
index 7cb066a7e42..f1445c3be67 100644
--- a/mozilla/content/html/content/src/nsHTMLTableElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLTableElement.cpp
@@ -1240,7 +1240,7 @@ nsHTMLTableElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- if (PR_TRUE == nsGenericHTMLElement::SetStyleHintForCommonAttributes(this,
+ if (PR_TRUE == nsGenericHTMLElement::GetStyleHintForCommonAttributes(this,
aAttribute, aHint)) {
// Do nothing
}
diff --git a/mozilla/content/html/content/src/nsHTMLTableRowElement.cpp b/mozilla/content/html/content/src/nsHTMLTableRowElement.cpp
index 098ae1d5cb4..7606776b057 100644
--- a/mozilla/content/html/content/src/nsHTMLTableRowElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLTableRowElement.cpp
@@ -631,7 +631,7 @@ nsHTMLTableRowElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- if (PR_TRUE == nsGenericHTMLElement::SetStyleHintForCommonAttributes(this,
+ if (PR_TRUE == nsGenericHTMLElement::GetStyleHintForCommonAttributes(this,
aAttribute, aHint)) {
// Do nothing
}
diff --git a/mozilla/content/html/content/src/nsHTMLTableSectionElement.cpp b/mozilla/content/html/content/src/nsHTMLTableSectionElement.cpp
index cde3e9e0528..f1ffe43ac0c 100644
--- a/mozilla/content/html/content/src/nsHTMLTableSectionElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLTableSectionElement.cpp
@@ -355,7 +355,7 @@ nsHTMLTableSectionElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- if (PR_TRUE == nsGenericHTMLElement::SetStyleHintForCommonAttributes(this,
+ if (PR_TRUE == nsGenericHTMLElement::GetStyleHintForCommonAttributes(this,
aAttribute, aHint)) {
// Do nothing
}
diff --git a/mozilla/content/html/content/src/nsHTMLTextAreaElement.cpp b/mozilla/content/html/content/src/nsHTMLTextAreaElement.cpp
index 281174ec9bb..9cabe049902 100644
--- a/mozilla/content/html/content/src/nsHTMLTextAreaElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLTextAreaElement.cpp
@@ -442,6 +442,6 @@ nsHTMLTextAreaElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLTitleElement.cpp b/mozilla/content/html/content/src/nsHTMLTitleElement.cpp
index efe93a7d4e7..21620d03f57 100644
--- a/mozilla/content/html/content/src/nsHTMLTitleElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLTitleElement.cpp
@@ -174,6 +174,6 @@ nsHTMLTitleElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLUListElement.cpp b/mozilla/content/html/content/src/nsHTMLUListElement.cpp
index f4c0654b674..e4aae0d6b87 100644
--- a/mozilla/content/html/content/src/nsHTMLUListElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLUListElement.cpp
@@ -218,6 +218,6 @@ nsHTMLUListElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/content/html/content/src/nsHTMLWBRElement.cpp b/mozilla/content/html/content/src/nsHTMLWBRElement.cpp
index e81b2363d36..c1556c0d385 100644
--- a/mozilla/content/html/content/src/nsHTMLWBRElement.cpp
+++ b/mozilla/content/html/content/src/nsHTMLWBRElement.cpp
@@ -171,6 +171,6 @@ nsHTMLWBRElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsGenericHTMLElement.cpp b/mozilla/layout/html/content/src/nsGenericHTMLElement.cpp
index 9626226510b..9d8c4134c14 100644
--- a/mozilla/layout/html/content/src/nsGenericHTMLElement.cpp
+++ b/mozilla/layout/html/content/src/nsGenericHTMLElement.cpp
@@ -1917,7 +1917,7 @@ static PRBool AttributeChangeRequiresReframe(const nsIAtom* aAttribute)
}
PRBool
-nsGenericHTMLElement::SetStyleHintForCommonAttributes(const nsIContent* aNode,
+nsGenericHTMLElement::GetStyleHintForCommonAttributes(const nsIContent* aNode,
const nsIAtom* aAttribute,
PRInt32* aHint)
{
diff --git a/mozilla/layout/html/content/src/nsGenericHTMLElement.h b/mozilla/layout/html/content/src/nsGenericHTMLElement.h
index f24c1199fc2..30c855170a1 100644
--- a/mozilla/layout/html/content/src/nsGenericHTMLElement.h
+++ b/mozilla/layout/html/content/src/nsGenericHTMLElement.h
@@ -234,7 +234,7 @@ public:
const nsHTMLValue& aValue,
nsString& aResult);
- static PRBool SetStyleHintForCommonAttributes(const nsIContent* aNode,
+ static PRBool GetStyleHintForCommonAttributes(const nsIContent* aNode,
const nsIAtom* aAttribute,
PRInt32* aHint);
diff --git a/mozilla/layout/html/content/src/nsHTMLAnchorElement.cpp b/mozilla/layout/html/content/src/nsHTMLAnchorElement.cpp
index 0b434ec20bb..eeb3e4d3ce2 100644
--- a/mozilla/layout/html/content/src/nsHTMLAnchorElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLAnchorElement.cpp
@@ -329,6 +329,6 @@ nsHTMLAnchorElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLAppletElement.cpp b/mozilla/layout/html/content/src/nsHTMLAppletElement.cpp
index 5e7207f47d6..b034b6607b3 100644
--- a/mozilla/layout/html/content/src/nsHTMLAppletElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLAppletElement.cpp
@@ -225,6 +225,6 @@ nsHTMLAppletElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLAreaElement.cpp b/mozilla/layout/html/content/src/nsHTMLAreaElement.cpp
index 5c0077d4d94..f346124d9d7 100644
--- a/mozilla/layout/html/content/src/nsHTMLAreaElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLAreaElement.cpp
@@ -193,6 +193,6 @@ nsHTMLAreaElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLBRElement.cpp b/mozilla/layout/html/content/src/nsHTMLBRElement.cpp
index 2744686a729..f4e287ac96c 100644
--- a/mozilla/layout/html/content/src/nsHTMLBRElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLBRElement.cpp
@@ -201,6 +201,6 @@ nsHTMLBRElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLBaseElement.cpp b/mozilla/layout/html/content/src/nsHTMLBaseElement.cpp
index f62d4fc3b28..1d91e1fdff4 100644
--- a/mozilla/layout/html/content/src/nsHTMLBaseElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLBaseElement.cpp
@@ -175,6 +175,6 @@ nsHTMLBaseElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLBaseFontElement.cpp b/mozilla/layout/html/content/src/nsHTMLBaseFontElement.cpp
index 3426bab18ab..dc0c2c99fdd 100644
--- a/mozilla/layout/html/content/src/nsHTMLBaseFontElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLBaseFontElement.cpp
@@ -182,6 +182,6 @@ nsHTMLBaseFontElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLBodyElement.cpp b/mozilla/layout/html/content/src/nsHTMLBodyElement.cpp
index 8699139d98f..101fc5da3b2 100644
--- a/mozilla/layout/html/content/src/nsHTMLBodyElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLBodyElement.cpp
@@ -829,7 +829,7 @@ nsHTMLBodyElement::GetStyleHintForAttributeChange(
*aHint = NS_STYLE_HINT_VISUAL;
}
else {
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
}
return NS_OK;
diff --git a/mozilla/layout/html/content/src/nsHTMLButtonElement.cpp b/mozilla/layout/html/content/src/nsHTMLButtonElement.cpp
index cc32d01e58d..f0c3505e7d0 100644
--- a/mozilla/layout/html/content/src/nsHTMLButtonElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLButtonElement.cpp
@@ -453,6 +453,6 @@ nsHTMLButtonElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLDListElement.cpp b/mozilla/layout/html/content/src/nsHTMLDListElement.cpp
index e9a5f0c0224..852c2be593c 100644
--- a/mozilla/layout/html/content/src/nsHTMLDListElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLDListElement.cpp
@@ -185,6 +185,6 @@ nsHTMLDListElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLDelElement.cpp b/mozilla/layout/html/content/src/nsHTMLDelElement.cpp
index cb106db2d6c..d747d22e06b 100644
--- a/mozilla/layout/html/content/src/nsHTMLDelElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLDelElement.cpp
@@ -178,6 +178,6 @@ nsHTMLDelElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLDirectoryElement.cpp b/mozilla/layout/html/content/src/nsHTMLDirectoryElement.cpp
index 9018bc732f4..a8fc4dc9668 100644
--- a/mozilla/layout/html/content/src/nsHTMLDirectoryElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLDirectoryElement.cpp
@@ -214,6 +214,6 @@ nsHTMLDirectoryElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLDivElement.cpp b/mozilla/layout/html/content/src/nsHTMLDivElement.cpp
index 549be1e0493..b658d6cb1bf 100644
--- a/mozilla/layout/html/content/src/nsHTMLDivElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLDivElement.cpp
@@ -208,6 +208,6 @@ nsHTMLDivElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLEmbedElement.cpp b/mozilla/layout/html/content/src/nsHTMLEmbedElement.cpp
index 556358a9258..1ab107e0b0e 100644
--- a/mozilla/layout/html/content/src/nsHTMLEmbedElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLEmbedElement.cpp
@@ -194,6 +194,6 @@ nsHTMLEmbedElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLFieldSetElement.cpp b/mozilla/layout/html/content/src/nsHTMLFieldSetElement.cpp
index c340e6bf04c..ce7de5daa2d 100644
--- a/mozilla/layout/html/content/src/nsHTMLFieldSetElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLFieldSetElement.cpp
@@ -272,6 +272,6 @@ nsHTMLFieldSetElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLFontElement.cpp b/mozilla/layout/html/content/src/nsHTMLFontElement.cpp
index 8cbea837c54..c8ecf60f628 100644
--- a/mozilla/layout/html/content/src/nsHTMLFontElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLFontElement.cpp
@@ -341,6 +341,6 @@ nsHTMLFontElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLFormElement.cpp b/mozilla/layout/html/content/src/nsHTMLFormElement.cpp
index 1766b2d131d..3ef153028bc 100644
--- a/mozilla/layout/html/content/src/nsHTMLFormElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLFormElement.cpp
@@ -602,6 +602,6 @@ nsHTMLFormElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLFrameElement.cpp b/mozilla/layout/html/content/src/nsHTMLFrameElement.cpp
index 89e35bca6df..2dcbbd0f684 100644
--- a/mozilla/layout/html/content/src/nsHTMLFrameElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLFrameElement.cpp
@@ -227,6 +227,6 @@ nsHTMLFrameElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLFrameSetElement.cpp b/mozilla/layout/html/content/src/nsHTMLFrameSetElement.cpp
index ffcdb7cb617..aa35471e7a2 100644
--- a/mozilla/layout/html/content/src/nsHTMLFrameSetElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLFrameSetElement.cpp
@@ -192,6 +192,6 @@ nsHTMLFrameSetElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLHRElement.cpp b/mozilla/layout/html/content/src/nsHTMLHRElement.cpp
index 4a4479718b9..4125b08a827 100644
--- a/mozilla/layout/html/content/src/nsHTMLHRElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLHRElement.cpp
@@ -262,6 +262,11 @@ nsHTMLHRElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ if (nsHTMLAtoms::noshade == aAttribute) {
+ *aHint = NS_STYLE_HINT_VISUAL;
+ }
+ else {
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ }
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLHeadElement.cpp b/mozilla/layout/html/content/src/nsHTMLHeadElement.cpp
index 73db137197e..6e30e2c383c 100644
--- a/mozilla/layout/html/content/src/nsHTMLHeadElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLHeadElement.cpp
@@ -172,6 +172,6 @@ nsHTMLHeadElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLHeadingElement.cpp b/mozilla/layout/html/content/src/nsHTMLHeadingElement.cpp
index 0985ad1ff19..5c203455601 100644
--- a/mozilla/layout/html/content/src/nsHTMLHeadingElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLHeadingElement.cpp
@@ -193,6 +193,6 @@ nsHTMLHeadingElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLHtmlElement.cpp b/mozilla/layout/html/content/src/nsHTMLHtmlElement.cpp
index bc3ab803da2..7fabb8a3373 100644
--- a/mozilla/layout/html/content/src/nsHTMLHtmlElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLHtmlElement.cpp
@@ -181,6 +181,6 @@ nsHTMLHtmlElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLIFrameElement.cpp b/mozilla/layout/html/content/src/nsHTMLIFrameElement.cpp
index 38d4f433f1b..8fc6f81f7d3 100644
--- a/mozilla/layout/html/content/src/nsHTMLIFrameElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLIFrameElement.cpp
@@ -284,6 +284,6 @@ nsHTMLIFrameElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLImageElement.cpp b/mozilla/layout/html/content/src/nsHTMLImageElement.cpp
index 1e3bcc338b5..6433abcbc3e 100644
--- a/mozilla/layout/html/content/src/nsHTMLImageElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLImageElement.cpp
@@ -357,6 +357,6 @@ nsHTMLImageElement::GetStyleHintForAttributeChange(
if (aAttribute == nsHTMLAtoms::src)
*aHint = NS_STYLE_HINT_CONTENT;
else
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLInsElement.cpp b/mozilla/layout/html/content/src/nsHTMLInsElement.cpp
index 0188771e1d3..dcca1aa6e6a 100644
--- a/mozilla/layout/html/content/src/nsHTMLInsElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLInsElement.cpp
@@ -178,6 +178,6 @@ nsHTMLInsElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLIsIndexElement.cpp b/mozilla/layout/html/content/src/nsHTMLIsIndexElement.cpp
index 2d6e8aa9f11..909c1e1f02c 100644
--- a/mozilla/layout/html/content/src/nsHTMLIsIndexElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLIsIndexElement.cpp
@@ -184,6 +184,6 @@ nsHTMLIsIndexElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLLIElement.cpp b/mozilla/layout/html/content/src/nsHTMLLIElement.cpp
index 4287e6a7961..f50b075be2a 100644
--- a/mozilla/layout/html/content/src/nsHTMLLIElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLLIElement.cpp
@@ -212,6 +212,6 @@ nsHTMLLIElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLLabelElement.cpp b/mozilla/layout/html/content/src/nsHTMLLabelElement.cpp
index f42061062cf..f3df2074067 100644
--- a/mozilla/layout/html/content/src/nsHTMLLabelElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLLabelElement.cpp
@@ -275,6 +275,6 @@ nsHTMLLabelElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLLayerElement.cpp b/mozilla/layout/html/content/src/nsHTMLLayerElement.cpp
index fd265106fc1..870387b5ca3 100644
--- a/mozilla/layout/html/content/src/nsHTMLLayerElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLLayerElement.cpp
@@ -291,6 +291,6 @@ nsHTMLLayerElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLLegendElement.cpp b/mozilla/layout/html/content/src/nsHTMLLegendElement.cpp
index 37c46209032..aee04afeec5 100644
--- a/mozilla/layout/html/content/src/nsHTMLLegendElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLLegendElement.cpp
@@ -220,6 +220,6 @@ nsHTMLLegendElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLLinkElement.cpp b/mozilla/layout/html/content/src/nsHTMLLinkElement.cpp
index 0748294b6ab..33b37de218e 100644
--- a/mozilla/layout/html/content/src/nsHTMLLinkElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLLinkElement.cpp
@@ -196,6 +196,6 @@ nsHTMLLinkElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLMapElement.cpp b/mozilla/layout/html/content/src/nsHTMLMapElement.cpp
index 84666f0c679..7caa33439be 100644
--- a/mozilla/layout/html/content/src/nsHTMLMapElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLMapElement.cpp
@@ -201,6 +201,6 @@ nsHTMLMapElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLMenuElement.cpp b/mozilla/layout/html/content/src/nsHTMLMenuElement.cpp
index bb1d4984b48..539f2592a83 100644
--- a/mozilla/layout/html/content/src/nsHTMLMenuElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLMenuElement.cpp
@@ -213,6 +213,6 @@ nsHTMLMenuElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLMetaElement.cpp b/mozilla/layout/html/content/src/nsHTMLMetaElement.cpp
index 004b28cb6dc..02f8ef2ba6e 100644
--- a/mozilla/layout/html/content/src/nsHTMLMetaElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLMetaElement.cpp
@@ -181,6 +181,6 @@ nsHTMLMetaElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLModElement.cpp b/mozilla/layout/html/content/src/nsHTMLModElement.cpp
index 7cb0b617ca1..5ef2ccf8df7 100644
--- a/mozilla/layout/html/content/src/nsHTMLModElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLModElement.cpp
@@ -178,6 +178,6 @@ nsHTMLModElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLOListElement.cpp b/mozilla/layout/html/content/src/nsHTMLOListElement.cpp
index ba144671e52..234b8b60f8d 100644
--- a/mozilla/layout/html/content/src/nsHTMLOListElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLOListElement.cpp
@@ -240,6 +240,6 @@ nsHTMLOListElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLObjectElement.cpp b/mozilla/layout/html/content/src/nsHTMLObjectElement.cpp
index 615c2f02cb7..c84a4280277 100644
--- a/mozilla/layout/html/content/src/nsHTMLObjectElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLObjectElement.cpp
@@ -250,6 +250,6 @@ nsHTMLObjectElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLOptGroupElement.cpp b/mozilla/layout/html/content/src/nsHTMLOptGroupElement.cpp
index 1dbf3221590..34f52c44072 100644
--- a/mozilla/layout/html/content/src/nsHTMLOptGroupElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLOptGroupElement.cpp
@@ -178,6 +178,6 @@ nsHTMLOptGroupElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLOptionElement.cpp b/mozilla/layout/html/content/src/nsHTMLOptionElement.cpp
index c863513b70b..858355bfb3d 100644
--- a/mozilla/layout/html/content/src/nsHTMLOptionElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLOptionElement.cpp
@@ -314,7 +314,7 @@ nsHTMLOptionElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLParagraphElement.cpp b/mozilla/layout/html/content/src/nsHTMLParagraphElement.cpp
index 0b05a7c8098..e1bb451d06b 100644
--- a/mozilla/layout/html/content/src/nsHTMLParagraphElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLParagraphElement.cpp
@@ -201,6 +201,6 @@ nsHTMLParagraphElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLParamElement.cpp b/mozilla/layout/html/content/src/nsHTMLParamElement.cpp
index 706e184aeba..42738210bc1 100644
--- a/mozilla/layout/html/content/src/nsHTMLParamElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLParamElement.cpp
@@ -184,6 +184,6 @@ nsHTMLParamElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLPreElement.cpp b/mozilla/layout/html/content/src/nsHTMLPreElement.cpp
index 40f52092bac..b95411b0722 100644
--- a/mozilla/layout/html/content/src/nsHTMLPreElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLPreElement.cpp
@@ -229,6 +229,6 @@ nsHTMLPreElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLQuoteElement.cpp b/mozilla/layout/html/content/src/nsHTMLQuoteElement.cpp
index bf6fc082e3e..bb77fb6f7c2 100644
--- a/mozilla/layout/html/content/src/nsHTMLQuoteElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLQuoteElement.cpp
@@ -175,6 +175,6 @@ nsHTMLQuoteElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLScriptElement.cpp b/mozilla/layout/html/content/src/nsHTMLScriptElement.cpp
index 7afd97f66d6..dba36bb1dcd 100644
--- a/mozilla/layout/html/content/src/nsHTMLScriptElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLScriptElement.cpp
@@ -236,6 +236,6 @@ nsHTMLScriptElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLSelectElement.cpp b/mozilla/layout/html/content/src/nsHTMLSelectElement.cpp
index 2d1bd67c47e..309cbac779a 100644
--- a/mozilla/layout/html/content/src/nsHTMLSelectElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLSelectElement.cpp
@@ -700,7 +700,7 @@ nsHTMLSelectElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLSpacerElement.cpp b/mozilla/layout/html/content/src/nsHTMLSpacerElement.cpp
index 56440209cb2..79583bca2cc 100644
--- a/mozilla/layout/html/content/src/nsHTMLSpacerElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLSpacerElement.cpp
@@ -224,6 +224,6 @@ nsHTMLSpacerElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLSpanElement.cpp b/mozilla/layout/html/content/src/nsHTMLSpanElement.cpp
index 37d50d58ff4..07dcea1e553 100644
--- a/mozilla/layout/html/content/src/nsHTMLSpanElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLSpanElement.cpp
@@ -161,6 +161,6 @@ nsHTMLSpanElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLStyleElement.cpp b/mozilla/layout/html/content/src/nsHTMLStyleElement.cpp
index 38cf2169c91..0abc58952ef 100644
--- a/mozilla/layout/html/content/src/nsHTMLStyleElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLStyleElement.cpp
@@ -180,6 +180,6 @@ nsHTMLStyleElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLTableCaptionElement.cpp b/mozilla/layout/html/content/src/nsHTMLTableCaptionElement.cpp
index 2174f2482d8..d060fe2891a 100644
--- a/mozilla/layout/html/content/src/nsHTMLTableCaptionElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLTableCaptionElement.cpp
@@ -218,6 +218,6 @@ nsHTMLTableCaptionElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLTableCellElement.cpp b/mozilla/layout/html/content/src/nsHTMLTableCellElement.cpp
index 99ae3ae0f5d..e33fa2169d2 100644
--- a/mozilla/layout/html/content/src/nsHTMLTableCellElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLTableCellElement.cpp
@@ -488,7 +488,7 @@ nsHTMLTableCellElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- if (PR_TRUE == nsGenericHTMLElement::SetStyleHintForCommonAttributes(this,
+ if (PR_TRUE == nsGenericHTMLElement::GetStyleHintForCommonAttributes(this,
aAttribute, aHint)) {
// Do nothing
}
diff --git a/mozilla/layout/html/content/src/nsHTMLTableColElement.cpp b/mozilla/layout/html/content/src/nsHTMLTableColElement.cpp
index d13c1227d11..90128c703e1 100644
--- a/mozilla/layout/html/content/src/nsHTMLTableColElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLTableColElement.cpp
@@ -322,7 +322,7 @@ nsHTMLTableColElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- if (PR_TRUE == nsGenericHTMLElement::SetStyleHintForCommonAttributes(this,
+ if (PR_TRUE == nsGenericHTMLElement::GetStyleHintForCommonAttributes(this,
aAttribute, aHint)) {
// Do nothing
}
diff --git a/mozilla/layout/html/content/src/nsHTMLTableColGroupElement.cpp b/mozilla/layout/html/content/src/nsHTMLTableColGroupElement.cpp
index 4b638ded064..eb53155e480 100644
--- a/mozilla/layout/html/content/src/nsHTMLTableColGroupElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLTableColGroupElement.cpp
@@ -298,7 +298,7 @@ nsHTMLTableColGroupElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- if (PR_TRUE == nsGenericHTMLElement::SetStyleHintForCommonAttributes(this,
+ if (PR_TRUE == nsGenericHTMLElement::GetStyleHintForCommonAttributes(this,
aAttribute, aHint)) {
// Do nothing
}
diff --git a/mozilla/layout/html/content/src/nsHTMLTableElement.cpp b/mozilla/layout/html/content/src/nsHTMLTableElement.cpp
index 7cb066a7e42..f1445c3be67 100644
--- a/mozilla/layout/html/content/src/nsHTMLTableElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLTableElement.cpp
@@ -1240,7 +1240,7 @@ nsHTMLTableElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- if (PR_TRUE == nsGenericHTMLElement::SetStyleHintForCommonAttributes(this,
+ if (PR_TRUE == nsGenericHTMLElement::GetStyleHintForCommonAttributes(this,
aAttribute, aHint)) {
// Do nothing
}
diff --git a/mozilla/layout/html/content/src/nsHTMLTableRowElement.cpp b/mozilla/layout/html/content/src/nsHTMLTableRowElement.cpp
index 098ae1d5cb4..7606776b057 100644
--- a/mozilla/layout/html/content/src/nsHTMLTableRowElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLTableRowElement.cpp
@@ -631,7 +631,7 @@ nsHTMLTableRowElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- if (PR_TRUE == nsGenericHTMLElement::SetStyleHintForCommonAttributes(this,
+ if (PR_TRUE == nsGenericHTMLElement::GetStyleHintForCommonAttributes(this,
aAttribute, aHint)) {
// Do nothing
}
diff --git a/mozilla/layout/html/content/src/nsHTMLTableSectionElement.cpp b/mozilla/layout/html/content/src/nsHTMLTableSectionElement.cpp
index cde3e9e0528..f1ffe43ac0c 100644
--- a/mozilla/layout/html/content/src/nsHTMLTableSectionElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLTableSectionElement.cpp
@@ -355,7 +355,7 @@ nsHTMLTableSectionElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- if (PR_TRUE == nsGenericHTMLElement::SetStyleHintForCommonAttributes(this,
+ if (PR_TRUE == nsGenericHTMLElement::GetStyleHintForCommonAttributes(this,
aAttribute, aHint)) {
// Do nothing
}
diff --git a/mozilla/layout/html/content/src/nsHTMLTextAreaElement.cpp b/mozilla/layout/html/content/src/nsHTMLTextAreaElement.cpp
index 281174ec9bb..9cabe049902 100644
--- a/mozilla/layout/html/content/src/nsHTMLTextAreaElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLTextAreaElement.cpp
@@ -442,6 +442,6 @@ nsHTMLTextAreaElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLTitleElement.cpp b/mozilla/layout/html/content/src/nsHTMLTitleElement.cpp
index efe93a7d4e7..21620d03f57 100644
--- a/mozilla/layout/html/content/src/nsHTMLTitleElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLTitleElement.cpp
@@ -174,6 +174,6 @@ nsHTMLTitleElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLUListElement.cpp b/mozilla/layout/html/content/src/nsHTMLUListElement.cpp
index f4c0654b674..e4aae0d6b87 100644
--- a/mozilla/layout/html/content/src/nsHTMLUListElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLUListElement.cpp
@@ -218,6 +218,6 @@ nsHTMLUListElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}
diff --git a/mozilla/layout/html/content/src/nsHTMLWBRElement.cpp b/mozilla/layout/html/content/src/nsHTMLWBRElement.cpp
index e81b2363d36..c1556c0d385 100644
--- a/mozilla/layout/html/content/src/nsHTMLWBRElement.cpp
+++ b/mozilla/layout/html/content/src/nsHTMLWBRElement.cpp
@@ -171,6 +171,6 @@ nsHTMLWBRElement::GetStyleHintForAttributeChange(
const nsIAtom* aAttribute,
PRInt32 *aHint) const
{
- nsGenericHTMLElement::SetStyleHintForCommonAttributes(this, aAttribute, aHint);
+ nsGenericHTMLElement::GetStyleHintForCommonAttributes(this, aAttribute, aHint);
return NS_OK;
}