mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1670778 - Enable all CSS properties unconditionally in fuzzing builds. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D93259
This commit is contained in:
parent
1a7a9739e4
commit
65147da6a4
@ -72,7 +72,11 @@ void nsCSSProps::RecomputeEnabledState(const char* aPref, void*) {
|
||||
pref->mPropID != eCSSProperty_UNKNOWN; pref++) {
|
||||
if (!aPref || !strcmp(aPref, pref->mPref)) {
|
||||
foundPref = true;
|
||||
#ifdef FUZZING
|
||||
gPropertyEnabled[pref->mPropID] = true;
|
||||
#else
|
||||
gPropertyEnabled[pref->mPropID] = Preferences::GetBool(pref->mPref);
|
||||
#endif
|
||||
if (pref->mPropID == eCSSProperty_backdrop_filter) {
|
||||
gPropertyEnabled[pref->mPropID] &=
|
||||
gfx::gfxVars::GetUseWebRenderOrDefault();
|
||||
@ -120,8 +124,6 @@ void nsCSSProps::AddRefTable(void) {
|
||||
}
|
||||
}
|
||||
|
||||
#undef DEBUG_SHORTHANDS_CONTAINING
|
||||
|
||||
void nsCSSProps::ReleaseTable(void) {
|
||||
if (0 == --gPropertyTableRefCount) {
|
||||
delete gFontDescTable;
|
||||
|
Loading…
Reference in New Issue
Block a user