Bug 960254 - Addition: Use a regular enum since apparently buildbot MSVC doesn't support nester MOZ_ENUM classes. r=bustage
☠☠ backed out by 2628e64cf375 ☠ ☠
authorBas Schouten <bschouten@mozilla.com>
Thu, 16 Jan 2014 14:02:39 +0100
changeset 163691 4441c32c724c6bb40a02312d1eba5295fd2686d4
parent 163690 4aecc5ca2a19bdc70bde8389cf0d13e2f430c24d
child 163692 cdfa438e98171d3f7ec24ba7b5d3c5b2b715c098
push id38543
push userbschouten@mozilla.com
push dateThu, 16 Jan 2014 13:04:50 +0000
treeherdermozilla-inbound@4441c32c724c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs960254
milestone29.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 960254 - Addition: Use a regular enum since apparently buildbot MSVC doesn't support nester MOZ_ENUM classes. r=bustage
gfx/2d/2D.h
--- a/gfx/2d/2D.h
+++ b/gfx/2d/2D.h
@@ -344,21 +344,21 @@ public:
   {
   }
 
   struct MappedSurface {
     uint8_t *mData;
     int32_t mStride;
   };
 
-  MOZ_BEGIN_ENUM_CLASS(MapType)
+  enum MapType {
     READ,
     WRITE,
     READ_WRITE
-  MOZ_END_ENUM_CLASS(MapType)
+  };
 
   virtual SurfaceType GetType() const { return SurfaceType::DATA; }
   /* [DEPRECATED]
    * Get the raw bitmap data of the surface.
    * Can return null if there was OOM allocating surface data.
    */
   virtual uint8_t *GetData() = 0;