diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-05-02 20:01:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-02 20:01:10 -0500 |
commit | 7b1006936a27232fb77fef5893cc141e66bb12b7 (patch) | |
tree | 750a15b93482d99f1aadd7afe507dd910516a6d1 /components/layout/generated_content.rs | |
parent | 536d63c67028c7368dff780945626283d2c48f1c (diff) | |
parent | fd1c814e7812e68e1207165c9387ddcfd8a6379b (diff) | |
download | servo-7b1006936a27232fb77fef5893cc141e66bb12b7.tar.gz servo-7b1006936a27232fb77fef5893cc141e66bb12b7.zip |
Auto merge of #16702 - bholley:custom_arc, r=emilio
Use a custom arc in the style system
See https://bugzilla.mozilla.org/show_bug.cgi?id=1360889
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16702)
<!-- Reviewable:end -->
Diffstat (limited to 'components/layout/generated_content.rs')
-rw-r--r-- | components/layout/generated_content.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/components/layout/generated_content.rs b/components/layout/generated_content.rs index a23fd165ecf..5f6f9b1e706 100644 --- a/components/layout/generated_content.rs +++ b/components/layout/generated_content.rs @@ -16,7 +16,6 @@ use gfx::display_list::OpaqueNode; use script_layout_interface::wrapper_traits::PseudoElementType; use smallvec::SmallVec; use std::collections::{HashMap, LinkedList}; -use std::sync::Arc; use style::computed_values::{display, list_style_type}; use style::computed_values::content::ContentItem; use style::properties::ServoComputedValues; @@ -369,7 +368,7 @@ impl Counter { layout_context: &LayoutContext, node: OpaqueNode, pseudo: PseudoElementType<()>, - style: Arc<ServoComputedValues>, + style: ::StyleArc<ServoComputedValues>, list_style_type: list_style_type::T, mode: RenderingMode) -> Option<SpecificFragmentInfo> { @@ -432,7 +431,7 @@ struct CounterValue { fn render_text(layout_context: &LayoutContext, node: OpaqueNode, pseudo: PseudoElementType<()>, - style: Arc<ServoComputedValues>, + style: ::StyleArc<ServoComputedValues>, string: String) -> Option<SpecificFragmentInfo> { let mut fragments = LinkedList::new(); |