diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-11-27 15:32:34 +0100 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-11-27 15:35:16 +0100 |
commit | 7a5a35f5e05f201c2d66dc7d24af7413581cf07d (patch) | |
tree | e2f0afb356c375c21adc9f9e6f2fa6f44f13c160 /components/style/parser.rs | |
parent | 92e9f12bd0e8e1773d7b1a0742bb1c0568c94df4 (diff) | |
download | servo-7a5a35f5e05f201c2d66dc7d24af7413581cf07d.tar.gz servo-7a5a35f5e05f201c2d66dc7d24af7413581cf07d.zip |
style: Fix indentation of multiple CssParserContext construction.
Diffstat (limited to 'components/style/parser.rs')
-rw-r--r-- | components/style/parser.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/style/parser.rs b/components/style/parser.rs index eb0d8a4eb96..1b1d4151600 100644 --- a/components/style/parser.rs +++ b/components/style/parser.rs @@ -61,6 +61,7 @@ pub struct ParserContext<'a> { impl<'a> ParserContext<'a> { /// Create a parser context. + #[inline] pub fn new( stylesheet_origin: Origin, url_data: &'a UrlExtraData, @@ -79,6 +80,7 @@ impl<'a> ParserContext<'a> { } /// Create a parser context for on-the-fly parsing in CSSOM + #[inline] pub fn new_for_cssom( url_data: &'a UrlExtraData, rule_type: Option<CssRuleType>, @@ -95,6 +97,7 @@ impl<'a> ParserContext<'a> { } /// Create a parser context based on a previous context, but with a modified rule type. + #[inline] pub fn new_with_rule_type( context: &'a ParserContext, rule_type: CssRuleType, |