aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/traversal.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-07-05 18:55:36 -0700
committerGitHub <noreply@github.com>2016-07-05 18:55:36 -0700
commitabdf2f28a0bd25a76a31b4fd2410c7a87448ed54 (patch)
tree762287ff3121993d51e3741e84a2a99ac93435ce /components/layout/traversal.rs
parent3d557b6f25eb9dbd084cb53bbc9a9cf93bad825b (diff)
parent187a47d89d2a4187abca85690429f85293e618cd (diff)
downloadservo-abdf2f28a0bd25a76a31b4fd2410c7a87448ed54.tar.gz
servo-abdf2f28a0bd25a76a31b4fd2410c7a87448ed54.zip
Auto merge of #11886 - bholley:attr_refactor, r=SimonSapin
Refactor attribute handling to avoid marshalling attributes from Gecko into Servo This marshaling is slow, because Gecko stores attributes as UTF-16 and does not atomize them in all cases, and it turns out that the need for them in Servo is pretty minimal. With some refactoring across servo and rust-selectors we can fix this. <!-- 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/11886) <!-- Reviewable:end -->
Diffstat (limited to 'components/layout/traversal.rs')
-rw-r--r--components/layout/traversal.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/traversal.rs b/components/layout/traversal.rs
index 5db766f68b5..581fee5e03d 100644
--- a/components/layout/traversal.rs
+++ b/components/layout/traversal.rs
@@ -28,7 +28,7 @@ pub struct RecalcStyleAndConstructFlows<'lc> {
impl<'lc, N> DomTraversalContext<N> for RecalcStyleAndConstructFlows<'lc>
where N: LayoutNode + TNode<ConcreteComputedValues=ServoComputedValues>,
- N::ConcreteElement: ::selectors::Element<Impl=ServoSelectorImpl>
+ N::ConcreteElement: ::selectors::Element<Impl=ServoSelectorImpl, AttrString=String>
{
type SharedContext = SharedLayoutContext;