Skip to content

Commit

Permalink
Bug 1502799 - Reintroduce serialize_function, disabled by mistake by …
Browse files Browse the repository at this point in the history
…previous patches, r=emilio a=RyanVM

Differential Revision: https://phabricator.services.mozilla.com//D31388

--HG--
extra : amend_source : c7216e85b8f7e1e286996af8cf84ed7c755264ca
  • Loading branch information
bakulf committed May 16, 2019
1 parent 9204549 commit e9429f5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion servo/components/style/gecko_string_cache/namespace.rs
Expand Up @@ -11,7 +11,6 @@ use std::fmt;
use std::ops::Deref;
use string_cache::{Atom, WeakAtom};

/// aaa
#[macro_export]
macro_rules! ns {
() => { $crate::string_cache::Namespace(atom!("")) };
Expand Down
3 changes: 0 additions & 3 deletions servo/components/style_traits/values.rs
Expand Up @@ -135,7 +135,6 @@ where
}
}

/*
#[macro_export]
macro_rules! serialize_function {
($dest: expr, $name: ident($( $arg: expr, )+)) => {
Expand All @@ -153,7 +152,6 @@ macro_rules! serialize_function {
}
}
}
*/

/// Convenience wrapper to serialise CSS values separated by a given string.
pub struct SequenceWriter<'a, 'b: 'a, W: 'b> {
Expand Down Expand Up @@ -406,7 +404,6 @@ impl_to_css_for_predefined_type!(::cssparser::RGBA);
impl_to_css_for_predefined_type!(::cssparser::Color);
impl_to_css_for_predefined_type!(::cssparser::UnicodeRange);

/// Define an enum type with unit variants that each correspond to a CSS keyword.
#[macro_export]
macro_rules! define_css_keyword_enum {
(pub enum $name:ident { $($variant:ident = $css:expr,)+ }) => {
Expand Down

0 comments on commit e9429f5

Please sign in to comment.