mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Convert StylePrefs to StaticPrefs.
This commit is contained in:
parent
a208d4246c
commit
8705fb3783
9 changed files with 46 additions and 46 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue