Bug 1500260 - Update servo malloc_size_of after webrender update. r=emilio
authorJosh Matthews <josh@joshmatthews.net>
Tue, 09 Oct 2018 14:41:37 -0400
changeset 490349 4fb710869a7746539cbaae952ec26af4286ceb2d
parent 490348 61bdac71c45c07c9f5f6c3adfcd2c9919b93f7fd
child 490350 9b412ade97d9c655a7599a5ea1cc95b9179c63a4
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewersemilio
bugs1500260, 21725
milestone64.0a1
Bug 1500260 - Update servo malloc_size_of after webrender update. r=emilio This cherry-picks part of servo/servo#21725.
servo/components/malloc_size_of/lib.rs
--- a/servo/components/malloc_size_of/lib.rs
+++ b/servo/components/malloc_size_of/lib.rs
@@ -912,18 +912,16 @@ impl MallocSizeOf for url::Host {
         }
     }
 }
 #[cfg(feature = "webrender_api")]
 malloc_size_of_is_0!(webrender_api::BorderRadius);
 #[cfg(feature = "webrender_api")]
 malloc_size_of_is_0!(webrender_api::BorderStyle);
 #[cfg(feature = "webrender_api")]
-malloc_size_of_is_0!(webrender_api::BorderWidths);
-#[cfg(feature = "webrender_api")]
 malloc_size_of_is_0!(webrender_api::BoxShadowClipMode);
 #[cfg(feature = "webrender_api")]
 malloc_size_of_is_0!(webrender_api::ClipAndScrollInfo);
 #[cfg(feature = "webrender_api")]
 malloc_size_of_is_0!(webrender_api::ColorF);
 #[cfg(feature = "webrender_api")]
 malloc_size_of_is_0!(webrender_api::ComplexClipRegion);
 #[cfg(feature = "webrender_api")]