diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-03-25 03:27:33 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-03-25 03:27:33 +0530 |
commit | 605842f193aedc1151ab38a99c49f693c76e5cf3 (patch) | |
tree | 1390698f84106f785cd82ecbbfda0bb53e725a77 /components/layout/display_list_builder.rs | |
parent | 7f944afee88bb2ab13de4f37118af14d40328f7f (diff) | |
parent | e82aa66245935f0aaac61e667a38dce9b5662f42 (diff) | |
download | servo-605842f193aedc1151ab38a99c49f693c76e5cf3.tar.gz servo-605842f193aedc1151ab38a99c49f693c76e5cf3.zip |
Auto merge of #10155 - bholley:generalize_style_structs, r=SimonSapin
Generalize the style structs
This allows geckolib to pass gecko style structs and have the style system write to them directly, provided we implement all the traits.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10155)
<!-- Reviewable:end -->
Diffstat (limited to 'components/layout/display_list_builder.rs')
-rw-r--r-- | components/layout/display_list_builder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/display_list_builder.rs b/components/layout/display_list_builder.rs index 4d62d221a5e..d20186cf0f9 100644 --- a/components/layout/display_list_builder.rs +++ b/components/layout/display_list_builder.rs @@ -51,7 +51,7 @@ use style::computed_values::{border_style, image_rendering, overflow_x, position use style::computed_values::{transform, transform_style, visibility}; use style::logical_geometry::{LogicalPoint, LogicalRect, LogicalSize, WritingMode}; use style::properties::style_structs::Border; -use style::properties::{self, ComputedValues}; +use style::properties::{self, ComputedValues, TComputedValues}; use style::values::RGBA; use style::values::computed; use style::values::computed::{LengthOrNone, LengthOrPercentage, LengthOrPercentageOrAuto, LinearGradient}; |