diff options
author | Emilio Cobos Álvarez <me@emiliocobos.me> | 2016-04-24 18:34:36 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <me@emiliocobos.me> | 2016-04-29 22:54:48 +0200 |
commit | 2a499d5a0bd51dded25a2705f8922841718d3f48 (patch) | |
tree | 1329a8ec3d35dcbc6153dae2b410d7a0d90f9134 /components/style/selector_impl.rs | |
parent | 979c3a54b9469049d12ad1d391a8b21a42e6fa13 (diff) | |
download | servo-2a499d5a0bd51dded25a2705f8922841718d3f48.tar.gz servo-2a499d5a0bd51dded25a2705f8922841718d3f48.zip |
layout: Stop storing PrecomputedStyleData in LayoutNode
Use the SharedStyleContext instead.
Diffstat (limited to 'components/style/selector_impl.rs')
-rw-r--r-- | components/style/selector_impl.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/selector_impl.rs b/components/style/selector_impl.rs index 7c9f7d3be89..842f08ae33d 100644 --- a/components/style/selector_impl.rs +++ b/components/style/selector_impl.rs @@ -2,11 +2,11 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use element_state::ElementState; +use properties::{self, ServoComputedValues}; use selector_matching::{USER_OR_USER_AGENT_STYLESHEETS, QUIRKS_MODE_STYLESHEET}; use selectors::Element; use selectors::parser::{ParserContext, SelectorImpl}; use stylesheets::Stylesheet; -use properties::{self, ServoComputedValues}; pub trait ElementExt: Element { fn is_link(&self) -> bool; |