mirror of
https://github.com/servo/servo.git
synced 2025-10-18 09:19:16 +01:00
Don't use the Untraceable fields outside the module they're defined in.
This pattern will become illegal with the next Rust upgrade.
This commit is contained in:
parent
af616dba58
commit
a15cac53bc
8 changed files with 23 additions and 9 deletions
|
@ -241,7 +241,7 @@ impl Element {
|
|||
match local_name.as_slice() {
|
||||
"style" => {
|
||||
let doc = self.node.owner_doc();
|
||||
let base_url = doc.get().extra.url.clone();
|
||||
let base_url = doc.get().url().clone();
|
||||
self.style_attribute = Some(style::parse_style_attribute(value, &base_url))
|
||||
}
|
||||
"id" => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue