Backing out the fix for bug 52334 approved by sheriff (karnaze) and cathleen git-svn-id: svn://10.0.0.236/trunk@118211 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2657,7 +2657,7 @@ CSSStyleSheetImpl::SetDisabled(PRBool aDisabled)
|
||||
PRBool oldState = mDisabled;
|
||||
mDisabled = aDisabled;
|
||||
|
||||
if (mDocument && (mDisabled != oldState)) {
|
||||
if ((nsnull != mDocument) && (mDisabled != oldState)) {
|
||||
mDocument->SetStyleSheetDisabledState(this, mDisabled);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user