Don't crash when the user changes OS themes (bug 129314). This avoids reconstructing the rule tree, which is unnecessary and currently buggy. r=pinkerton, sr=hyatt, a=asa.

git-svn-id: svn://10.0.0.236/trunk@116111 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%netscape.com 2002-03-08 00:53:04 +00:00
parent 92f656d2d5
commit b59df2a97b
2 changed files with 2 additions and 2 deletions

View File

@ -1823,7 +1823,7 @@ nsPresContext::ThemeChanged()
if (!mShell)
return NS_OK;
return mShell->ReconstructStyleData(PR_TRUE);
return mShell->ReconstructStyleData(PR_FALSE);
}

View File

@ -1823,7 +1823,7 @@ nsPresContext::ThemeChanged()
if (!mShell)
return NS_OK;
return mShell->ReconstructStyleData(PR_TRUE);
return mShell->ReconstructStyleData(PR_FALSE);
}