mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Renamed TComputedValues to ComputedValues
This is a followup to #10210, and a continuation of #10185.
This commit is contained in:
parent
639fdd6b12
commit
4cb4cc93e4
34 changed files with 65 additions and 65 deletions
|
@ -8,7 +8,7 @@ use dom::OpaqueNode;
|
|||
use error_reporting::ParseErrorReporter;
|
||||
use euclid::Size2D;
|
||||
use matching::{ApplicableDeclarationsCache, StyleSharingCandidateCache};
|
||||
use properties::TComputedValues;
|
||||
use properties::ComputedValues;
|
||||
use selector_impl::SelectorImplExt;
|
||||
use selector_matching::Stylist;
|
||||
use std::cell::RefCell;
|
||||
|
@ -55,12 +55,12 @@ pub struct SharedStyleContext<Impl: SelectorImplExt> {
|
|||
pub error_reporter: Box<ParseErrorReporter + Sync>,
|
||||
}
|
||||
|
||||
pub struct LocalStyleContext<C: TComputedValues> {
|
||||
pub struct LocalStyleContext<C: ComputedValues> {
|
||||
pub applicable_declarations_cache: RefCell<ApplicableDeclarationsCache<C>>,
|
||||
pub style_sharing_candidate_cache: RefCell<StyleSharingCandidateCache<C>>,
|
||||
}
|
||||
|
||||
pub trait StyleContext<'a, Impl: SelectorImplExt, C: TComputedValues> {
|
||||
pub trait StyleContext<'a, Impl: SelectorImplExt, C: ComputedValues> {
|
||||
|
||||
fn shared_context(&self) -> &'a SharedStyleContext<Impl>;
|
||||
fn local_context(&self) -> &LocalStyleContext<C>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue