diff options
author | Tom Tromey <tom@tromey.com> | 2017-08-11 14:40:20 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-08-17 06:51:30 -0600 |
commit | 7224a5617f4ce1a5ff49be10781c40319c08c898 (patch) | |
tree | a08f8188fae32760a92ce4a3cd42a3c8ca4b2e71 /components/script/stylesheet_loader.rs | |
parent | fbabcaf614662a52eace21a64f27802c7eff4304 (diff) | |
download | servo-7224a5617f4ce1a5ff49be10781c40319c08c898.tar.gz servo-7224a5617f4ce1a5ff49be10781c40319c08c898.zip |
Expose the source map URL on a style sheet
This changes Servo to track the source map URL of a style sheet. This
parallels a change going in to Gecko:
https://bugzilla.mozilla.org/show_bug.cgi?id=1388855
Diffstat (limited to 'components/script/stylesheet_loader.rs')
-rw-r--r-- | components/script/stylesheet_loader.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/stylesheet_loader.rs b/components/script/stylesheet_loader.rs index 888cec43650..2271a8bba0a 100644 --- a/components/script/stylesheet_loader.rs +++ b/components/script/stylesheet_loader.rs @@ -292,6 +292,7 @@ impl<'a> StyleStylesheetLoader for StylesheetLoader<'a> { dirty_on_viewport_size_change: AtomicBool::new(false), quirks_mode: context.quirks_mode, namespaces: RwLock::new(Namespaces::default()), + source_map_url: RwLock::new(None), }, media: media, shared_lock: lock.clone(), |