Bug 474049: followup bustage fix for Solaris -- use .get() to explicitly return a normal pointer from nsGenericElement::GetSMILOverrideStyleRule. r=dbaron

This commit is contained in:
Daniel Holbert
2009-09-24 10:58:04 -07:00
parent d5f8ba0444
commit 09ac8cce98

View File

@@ -2976,7 +2976,7 @@ nsICSSStyleRule*
nsGenericElement::GetSMILOverrideStyleRule()
{
nsGenericElement::nsDOMSlots *slots = GetExistingDOMSlots();
return slots ? slots->mSMILOverrideStyleRule : nsnull;
return slots ? slots->mSMILOverrideStyleRule.get() : nsnull;
}
nsresult