aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/gecko_selector_impl.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2016-07-19 20:29:22 +0200
committerSimon Sapin <simon.sapin@exyr.org>2016-07-20 08:42:40 +0200
commit789807b7b09e0742a197c98efd2f81b85b751a57 (patch)
treee093027760cf23719d9f6b3e279eab46e9b3168f /components/style/gecko_selector_impl.rs
parentb2a7e4437391abd92486d5bef879fadadabab162 (diff)
downloadservo-789807b7b09e0742a197c98efd2f81b85b751a57.tar.gz
servo-789807b7b09e0742a197c98efd2f81b85b751a57.zip
Remove the ComputedValue traits and style_struct_traits
Diffstat (limited to 'components/style/gecko_selector_impl.rs')
-rw-r--r--components/style/gecko_selector_impl.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/components/style/gecko_selector_impl.rs b/components/style/gecko_selector_impl.rs
index 966d455e3ec..8a6418fe767 100644
--- a/components/style/gecko_selector_impl.rs
+++ b/components/style/gecko_selector_impl.rs
@@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use element_state::ElementState;
-use gecko_properties::GeckoComputedValues;
use selector_impl::{PseudoElementCascadeType, SelectorImplExt};
use selectors::parser::{ParserContext, SelectorImpl};
use string_cache::Atom;
@@ -11,8 +10,8 @@ use string_cache::Atom;
pub type Stylist = ::selector_matching::Stylist<GeckoSelectorImpl>;
pub type Stylesheet = ::stylesheets::Stylesheet<GeckoSelectorImpl>;
pub type SharedStyleContext = ::context::SharedStyleContext<GeckoSelectorImpl>;
-pub type PrivateStyleData = ::data::PrivateStyleData<GeckoSelectorImpl, GeckoComputedValues>;
-pub type Animation = ::animation::Animation<GeckoSelectorImpl>;
+pub type PrivateStyleData = ::data::PrivateStyleData<GeckoSelectorImpl>;
+pub type Animation = ::animation::Animation;
#[derive(Debug, Clone)]
pub struct GeckoSelectorImpl;
@@ -291,8 +290,6 @@ impl SelectorImpl for GeckoSelectorImpl {
}
impl SelectorImplExt for GeckoSelectorImpl {
- type ComputedValues = GeckoComputedValues;
-
#[inline]
fn pseudo_element_cascade_type(pseudo: &PseudoElement) -> PseudoElementCascadeType {
match *pseudo {