style: Cleanup a bit after bug 1525371.

Differential Revision: https://phabricator.services.mozilla.com/D19001
This commit is contained in:
Emilio Cobos Álvarez 2019-02-08 22:40:26 +00:00
parent 258217a369
commit 207ff730c2
2 changed files with 22 additions and 42 deletions

View file

@ -2890,7 +2890,6 @@ impl ComputedValues {
impl ComputedValues {
/// Create a new refcounted `ComputedValues`
pub fn new(
_: &Device,
_: Option<<&PseudoElement>,
custom_properties: Option<Arc<crate::custom_properties::CustomPropertiesMap>>,
writing_mode: WritingMode,
@ -3655,7 +3654,6 @@ impl<'a> StyleBuilder<'a> {
/// Turns this `StyleBuilder` into a proper `ComputedValues` instance.
pub fn build(self) -> Arc<ComputedValues> {
ComputedValues::new(
self.device,
self.pseudo,
self.custom_properties,
self.writing_mode,