diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2015-12-30 10:04:14 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2015-12-30 10:04:14 +0530 |
commit | 0f5c614609fd8867a9e7c27b8a398ea7d877c714 (patch) | |
tree | 88f342da2622ca3c8c0eb95540f7c2b691839f8f /components/script/layout_interface.rs | |
parent | 2bb6ea1321d5500ef5b6c9bbc943801acaf0e49a (diff) | |
parent | 47059d2d26f14f71e5b7212fa8bc01608eca11b5 (diff) | |
download | servo-0f5c614609fd8867a9e7c27b8a398ea7d877c714.tar.gz servo-0f5c614609fd8867a9e7c27b8a398ea7d877c714.zip |
Auto merge of #9051 - bholley:split_style_and_layout_wrappers, r=SimonSapin
Split layout wrappers into style+layout and layout-only functionality
This is a step towards removing the dependency of stylo on layout/.
This PR depends on #9004.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9051)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/layout_interface.rs')
-rw-r--r-- | components/script/layout_interface.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/layout_interface.rs b/components/script/layout_interface.rs index 4570192f6fb..81f43953d17 100644 --- a/components/script/layout_interface.rs +++ b/components/script/layout_interface.rs @@ -7,7 +7,7 @@ //! the DOM to be placed in a separate crate from layout. use app_units::Au; -use dom::node::LayoutData; +use dom::node::OpaqueStyleAndLayoutData; use euclid::point::Point2D; use euclid::rect::Rect; use gfx_traits::LayerId; @@ -59,7 +59,7 @@ pub enum Msg { /// Destroys layout data associated with a DOM node. /// /// TODO(pcwalton): Maybe think about batching to avoid message traffic. - ReapLayoutData(LayoutData), + ReapStyleAndLayoutData(OpaqueStyleAndLayoutData), /// Requests that the layout task measure its memory usage. The resulting reports are sent back /// via the supplied channel. |