style: Remove SharedStyleContext::quirks_mode.

This commit is contained in:
Emilio Cobos Álvarez 2017-08-25 12:22:31 +02:00
parent 772a8464eb
commit 723d31a4d8
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
7 changed files with 16 additions and 25 deletions

View file

@ -67,7 +67,7 @@ use style::CaseSensitivityExt;
use style::applicable_declarations::ApplicableDeclarationBlock;
use style::attr::AttrValue;
use style::computed_values::display;
use style::context::{QuirksMode, SharedStyleContext};
use style::context::SharedStyleContext;
use style::data::ElementData;
use style::dom::{LayoutIterator, NodeInfo, OpaqueNode};
use style::dom::{PresentationalHintsSynthesizer, TElement, TNode, UnsafeNode};
@ -357,10 +357,6 @@ impl<'ld> ServoLayoutDocument<'ld> {
unsafe { self.document.will_paint(); }
}
pub fn quirks_mode(&self) -> QuirksMode {
unsafe { self.document.quirks_mode() }
}
pub fn style_shared_lock(&self) -> &StyleSharedRwLock {
unsafe { self.document.style_shared_lock() }
}