mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-14 04:21:18 +02:00
51 lines
1.8 KiB
Plaintext
51 lines
1.8 KiB
Plaintext
commit f57498276d74
|
|
Author: Andrea Marchesini <amarchesini@mozilla.com>
|
|
Date: Wed May 15 22:00:00 2019 -0700
|
|
|
|
Bug 1502799 - Reintroduce serialize_function, disabled by mistake by previous patches, r=emilio
|
|
---
|
|
servo/components/style/gecko_string_cache/namespace.rs | 1 -
|
|
servo/components/style_traits/values.rs | 3 ---
|
|
2 files changed, 4 deletions(-)
|
|
|
|
diff --git servo/components/style/gecko_string_cache/namespace.rs servo/components/style/gecko_string_cache/namespace.rs
|
|
index 71d2fce8ff6b..92288574e145 100644
|
|
--- servo/components/style/gecko_string_cache/namespace.rs
|
|
+++ servo/components/style/gecko_string_cache/namespace.rs
|
|
@@ -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!("")) };
|
|
diff --git servo/components/style_traits/values.rs servo/components/style_traits/values.rs
|
|
index 40209772a790..d6bd05b7b40e 100644
|
|
--- servo/components/style_traits/values.rs
|
|
+++ servo/components/style_traits/values.rs
|
|
@@ -135,7 +135,6 @@ where
|
|
}
|
|
}
|
|
|
|
-/*
|
|
#[macro_export]
|
|
macro_rules! serialize_function {
|
|
($dest: expr, $name: ident($( $arg: expr, )+)) => {
|
|
@@ -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> {
|
|
@@ -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,)+ }) => {
|