mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
style: Avoid cloning all over the error reporter.
This commit is contained in:
parent
eaf27ccfa0
commit
b4de69e3eb
36 changed files with 186 additions and 154 deletions
|
@ -299,7 +299,7 @@ impl<'le> GeckoElement<'le> {
|
|||
pub fn parse_style_attribute(value: &str,
|
||||
base_url: &ServoUrl,
|
||||
extra_data: ParserContextExtraData) -> PropertyDeclarationBlock {
|
||||
parse_style_attribute(value, base_url, Box::new(StdoutErrorReporter), extra_data)
|
||||
parse_style_attribute(value, base_url, &StdoutErrorReporter, extra_data)
|
||||
}
|
||||
|
||||
fn flags(&self) -> u32 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue