Bug 847804 - Remove assert in SVGPreserveAspectRatio.h. r=dholbert
authorCameron Kaiser <spectre@armory.com>
Mon, 04 Mar 2013 22:27:53 -0800
changeset 123845 cc0537ee009451a01cb95c4c866a3ed114c10c95
parent 123844 d861cca2103e45fb3e1f7ebcbdcad5bffed52107
child 123846 990a27c81bed268076b30242c479a88302c2b7b0
push id1401
push userpastithas@mozilla.com
push dateThu, 07 Mar 2013 07:26:45 +0000
treeherderfx-team@ee4879719f78 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs847804
milestone22.0a1
Bug 847804 - Remove assert in SVGPreserveAspectRatio.h. r=dholbert
content/svg/content/src/SVGPreserveAspectRatio.h
--- a/content/svg/content/src/SVGPreserveAspectRatio.h
+++ b/content/svg/content/src/SVGPreserveAspectRatio.h
@@ -101,19 +101,16 @@ public:
 
 private:
   // We can't use enum types here because some compilers fail to pack them.
   uint8_t mAlign;
   uint8_t mMeetOrSlice;
   bool mDefer;
 };
 
-MOZ_STATIC_ASSERT(sizeof(SVGPreserveAspectRatio) <= 4,
-                  "The compiler didn't pack SVGPreserveAspectRatio well");
-
 namespace dom {
 
 class DOMSVGPreserveAspectRatio MOZ_FINAL : public nsISupports,
                                             public nsWrapperCache
 {
 public:
   NS_DECL_CYCLE_COLLECTING_ISUPPORTS
   NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(DOMSVGPreserveAspectRatio)