Convert StylePrefs to StaticPrefs.

This commit is contained in:
Nicholas Nethercote 2018-04-03 11:41:03 +10:00
parent a208d4246c
commit 8705fb3783
9 changed files with 46 additions and 46 deletions

View file

@ -220,11 +220,11 @@ impl DocumentCondition {
return true;
}
if unsafe { structs::StylePrefs_sMozDocumentEnabledInContent } {
if unsafe { structs::StaticPrefs_sVarCache_layout_css_moz_document_content_enabled } {
return true;
}
if !unsafe { structs::StylePrefs_sMozDocumentURLPrefixHackEnabled } {
if !unsafe { structs::StaticPrefs_sVarCache_layout_css_moz_document_url_prefix_hack_enabled } {
return false;
}