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:
parent
92f656d2d5
commit
b59df2a97b
@ -1823,7 +1823,7 @@ nsPresContext::ThemeChanged()
|
||||
if (!mShell)
|
||||
return NS_OK;
|
||||
|
||||
return mShell->ReconstructStyleData(PR_TRUE);
|
||||
return mShell->ReconstructStyleData(PR_FALSE);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1823,7 +1823,7 @@ nsPresContext::ThemeChanged()
|
||||
if (!mShell)
|
||||
return NS_OK;
|
||||
|
||||
return mShell->ReconstructStyleData(PR_TRUE);
|
||||
return mShell->ReconstructStyleData(PR_FALSE);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user