aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/multicol.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-05-02 20:01:10 -0500
committerGitHub <noreply@github.com>2017-05-02 20:01:10 -0500
commit7b1006936a27232fb77fef5893cc141e66bb12b7 (patch)
tree750a15b93482d99f1aadd7afe507dd910516a6d1 /components/layout/multicol.rs
parent536d63c67028c7368dff780945626283d2c48f1c (diff)
parentfd1c814e7812e68e1207165c9387ddcfd8a6379b (diff)
downloadservo-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/multicol.rs')
-rw-r--r--components/layout/multicol.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/layout/multicol.rs b/components/layout/multicol.rs
index 18cfe6409cb..b43a6eb17ff 100644
--- a/components/layout/multicol.rs
+++ b/components/layout/multicol.rs
@@ -6,6 +6,7 @@
#![deny(unsafe_code)]
+use StyleArc;
use app_units::Au;
use block::BlockFlow;
use context::LayoutContext;
@@ -193,7 +194,7 @@ impl Flow for MulticolFlow {
self.block_flow.collect_stacking_contexts(state);
}
- fn repair_style(&mut self, new_style: &Arc<ServoComputedValues>) {
+ fn repair_style(&mut self, new_style: &StyleArc<ServoComputedValues>) {
self.block_flow.repair_style(new_style)
}
@@ -275,7 +276,7 @@ impl Flow for MulticolColumnFlow {
self.block_flow.collect_stacking_contexts(state);
}
- fn repair_style(&mut self, new_style: &Arc<ServoComputedValues>) {
+ fn repair_style(&mut self, new_style: &StyleArc<ServoComputedValues>) {
self.block_flow.repair_style(new_style)
}