mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
remove more heapsize ignores
This commit is contained in:
parent
a5975e8f33
commit
5447d2af3d
6 changed files with 10 additions and 15 deletions
|
@ -9,8 +9,9 @@
|
|||
#![feature(collections)]
|
||||
#![feature(hash)]
|
||||
#![feature(rustc_private)]
|
||||
|
||||
#![feature(custom_attribute, custom_derive)]
|
||||
#![plugin(string_cache_plugin)]
|
||||
#![plugin(plugins)]
|
||||
|
||||
#[macro_use] extern crate log;
|
||||
#[macro_use] extern crate bitflags;
|
||||
|
|
|
@ -1027,8 +1027,8 @@ pub mod longhands {
|
|||
#[inline]
|
||||
pub fn get_initial_value() -> computed_value::T {
|
||||
computed_value::T(vec![
|
||||
("\u{201c}".to_string(), "\u{201d}".to_string()),
|
||||
("\u{2018}".to_string(), "\u{2019}".to_string()),
|
||||
("\u{201c}".to_owned(), "\u{201d}".to_owned()),
|
||||
("\u{2018}".to_owned(), "\u{2019}".to_owned()),
|
||||
])
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ macro_rules! define_numbered_css_keyword_enum {
|
|||
};
|
||||
($name: ident: $( $css: expr => $variant: ident = $value: expr ),+) => {
|
||||
#[allow(non_camel_case_types)]
|
||||
#[derive(Clone, Eq, PartialEq, PartialOrd, Ord, Copy, RustcEncodable, Debug)]
|
||||
#[derive(Clone, Eq, PartialEq, PartialOrd, Ord, Copy, RustcEncodable, Debug, HeapSizeOf)]
|
||||
pub enum $name {
|
||||
$( $variant = $value ),+
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue