diff options
author | Nicholas Nethercote <nnethercote@mozilla.com> | 2018-04-03 11:41:03 +1000 |
---|---|---|
committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2018-04-03 11:41:03 +1000 |
commit | 8705fb37838aa6cd65bebe78cdb5bc2c4ccbd976 (patch) | |
tree | e97792b912010b93199487ce7977a88fe4ae08e2 /components/style/gecko/data.rs | |
parent | a208d4246cf0e02a1a22196f26692bd29fb35011 (diff) | |
download | servo-8705fb37838aa6cd65bebe78cdb5bc2c4ccbd976.tar.gz servo-8705fb37838aa6cd65bebe78cdb5bc2c4ccbd976.zip |
Convert StylePrefs to StaticPrefs.
Diffstat (limited to 'components/style/gecko/data.rs')
-rw-r--r-- | components/style/gecko/data.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/gecko/data.rs b/components/style/gecko/data.rs index 4107fb5c9b8..52812d66844 100644 --- a/components/style/gecko/data.rs +++ b/components/style/gecko/data.rs @@ -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. |