style: Fix Servo build.

This commit is contained in:
Emilio Cobos Álvarez 2018-10-19 01:15:26 +02:00
parent 856886c40d
commit 1505eaaade
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 4 additions and 54 deletions

View file

@ -111,6 +111,7 @@ ${helpers.predefined_type(
vector=False,
animation_value_type="discrete",
flags="APPLIES_TO_FIRST_LETTER",
boxed=product == "servo",
)}
${helpers.predefined_type(

View file

@ -23,6 +23,9 @@ use values::computed::{Context, ToComputedValue};
///
/// However, this approach is still not necessarily optimal: See
/// <https://bugzilla.mozilla.org/show_bug.cgi?id=1347435#c6>
///
/// TODO(emilio): This should be shrunk by making CssUrl a wrapper type of an
/// arc, and keep the serialization in that Arc. See gecko/url.rs for example.
#[derive(Clone, Debug, Deserialize, MallocSizeOf, Serialize, SpecifiedValueInfo)]
pub struct CssUrl {
/// The original URI. This might be optional since we may insert computed