diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2014-05-13 13:44:09 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2014-05-16 22:33:24 +0200 |
commit | 4310f2943187879b080e715c40b3775fa4e55771 (patch) | |
tree | 636b1e724d3a5e90d57efa45ce40a4ec4252e589 /src/components/main/layout/parallel.rs | |
parent | e5eac5b538e893b4f93a77ba75c054e92102ea41 (diff) | |
download | servo-4310f2943187879b080e715c40b3775fa4e55771.tar.gz servo-4310f2943187879b080e715c40b3775fa4e55771.zip |
Keep initial values in a lazy static instead of passing a parameter around.
Thanks to @Kimundi for https://gist.github.com/Kimundi/8782487
Diffstat (limited to 'src/components/main/layout/parallel.rs')
-rw-r--r-- | src/components/main/layout/parallel.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/components/main/layout/parallel.rs b/src/components/main/layout/parallel.rs index 57d6a32deca..0f35c50c119 100644 --- a/src/components/main/layout/parallel.rs +++ b/src/components/main/layout/parallel.rs @@ -274,7 +274,6 @@ fn recalc_style_for_node(unsafe_layout_node: UnsafeLayoutNode, // Perform the CSS cascade. node.cascade_node(parent_opt, - &*layout_context.initial_css_values, &applicable_declarations, layout_context.applicable_declarations_cache()); |