style: Unify some #[derive]s between Servo and Gecko.

Bug: 1468846
Reviewed-by: xidorn
MozReview-Commit-ID: FqoNCuLcdm7
This commit is contained in:
Emilio Cobos Álvarez 2018-06-14 13:00:18 -07:00
parent 4d255392f7
commit 9ca081c532
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 10 additions and 14 deletions

View file

@ -12,7 +12,7 @@ use style_traits::{ParseError, StyleParseErrorKind};
use values::CSSFloat;
/// A specified resolution.
#[derive(Clone, Debug, PartialEq, ToCss)]
#[derive(Clone, Debug, PartialEq, MallocSizeOf, ToCss)]
pub enum Resolution {
/// Dots per inch.
#[css(dimension)]