aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/gecko/data.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2018-04-03 11:41:03 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2018-04-03 11:41:03 +1000
commit8705fb37838aa6cd65bebe78cdb5bc2c4ccbd976 (patch)
treee97792b912010b93199487ce7977a88fe4ae08e2 /components/style/gecko/data.rs
parenta208d4246cf0e02a1a22196f26692bd29fb35011 (diff)
downloadservo-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.rs2
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.