Bug 1431295 - Drop 'undef None' macro in gfx. r?botond draft
authorHiroyuki Ikezoe <hikezoe@mozilla.com>
Thu, 18 Jan 2018 14:12:51 +0900
changeset 721927 50fb2d8d6474035e714ce8e1d6d9c0e1ee6d3c6d
parent 721926 b930c2cb19fc27aaf8e04dce2cdba7c713bf8ba3
child 721928 76d4bf9ace7e2457739a4e53ec8b48f749bfaa81
push id96002
push userbmo:hikezoe@mozilla.com
push dateThu, 18 Jan 2018 05:13:26 +0000
reviewersbotond
bugs1431295
milestone59.0a1
Bug 1431295 - Drop 'undef None' macro in gfx. r?botond MozReview-Commit-ID: FGOEsZnu50u
gfx/layers/client/CanvasClient.h
--- a/gfx/layers/client/CanvasClient.h
+++ b/gfx/layers/client/CanvasClient.h
@@ -11,18 +11,16 @@
 #include "mozilla/Attributes.h"         // for override
 #include "mozilla/RefPtr.h"             // for RefPtr, already_AddRefed
 #include "mozilla/layers/CompositableClient.h"  // for CompositableClient
 #include "mozilla/layers/CompositorTypes.h"  // for TextureInfo, etc
 #include "mozilla/layers/LayersSurfaces.h"  // for SurfaceDescriptor
 #include "mozilla/layers/TextureClient.h"  // for TextureClient, etc
 #include "mozilla/layers/PersistentBufferProvider.h"
 
-// Fix X11 header brain damage that conflicts with MaybeOneOf::None
-#undef None
 #include "mozilla/MaybeOneOf.h"
 
 #include "mozilla/mozalloc.h"           // for operator delete
 
 #include "mozilla/gfx/Point.h"          // for IntSize
 #include "mozilla/gfx/Types.h"          // for SurfaceFormat
 
 namespace mozilla {