mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Convert StylePrefs to StaticPrefs.
This commit is contained in:
parent
a208d4246c
commit
8705fb3783
9 changed files with 46 additions and 46 deletions
|
@ -188,7 +188,7 @@ impl PerDocumentStyleDataImpl {
|
|||
|
||||
/// Returns whether visited links are enabled.
|
||||
fn visited_links_enabled(&self) -> bool {
|
||||
unsafe { structs::StylePrefs_sVisitedLinksEnabled }
|
||||
unsafe { structs::StaticPrefs_sVarCache_layout_css_visited_links_enabled }
|
||||
}
|
||||
|
||||
/// Returns whether visited styles are enabled.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue