Bug 1514803 - Export nsBMPEncoder r=aosmond
authorBarret Rennie <barret@brennie.ca>
Tue, 08 Jan 2019 21:30:45 +0000
changeset 453110 53a37a8d97ee37fbf7f9e8e6991d3964f20d38f7
parent 453109 a72d578c3a83289c63a6604e33e797a1f097aab2
child 453111 ebeed768822e5d860e9f051c12f1800197e3697c
push id111052
push usershindli@mozilla.com
push dateWed, 09 Jan 2019 21:48:40 +0000
treeherdermozilla-inbound@d033029954ab [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaosmond
bugs1514803
milestone66.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 1514803 - Export nsBMPEncoder r=aosmond Depends on D14814 Differential Revision: https://phabricator.services.mozilla.com/D14815
image/encoders/bmp/nsBMPEncoder.cpp
image/encoders/bmp/nsBMPEncoder.h
image/moz.build
--- a/image/encoders/bmp/nsBMPEncoder.cpp
+++ b/image/encoders/bmp/nsBMPEncoder.cpp
@@ -6,16 +6,17 @@
 #include "nsCRT.h"
 #include "mozilla/EndianUtils.h"
 #include "mozilla/UniquePtrExtensions.h"
 #include "nsBMPEncoder.h"
 #include "nsString.h"
 #include "nsStreamUtils.h"
 #include "nsTArray.h"
 #include "mozilla/CheckedInt.h"
+#include "BMPHeaders.h"
 
 using namespace mozilla;
 using namespace mozilla::image;
 using namespace mozilla::image::bmp;
 
 NS_IMPL_ISUPPORTS(nsBMPEncoder, imgIEncoder, nsIInputStream,
                   nsIAsyncInputStream)
 
--- a/image/encoders/bmp/nsBMPEncoder.h
+++ b/image/encoders/bmp/nsBMPEncoder.h
@@ -6,17 +6,16 @@
 #ifndef mozilla_image_encoders_bmp_nsBMPEncoder_h
 #define mozilla_image_encoders_bmp_nsBMPEncoder_h
 
 #include "mozilla/Attributes.h"
 #include "mozilla/ReentrantMonitor.h"
 #include "mozilla/UniquePtr.h"
 
 #include "imgIEncoder.h"
-#include "BMPHeaders.h"
 
 #include "nsCOMPtr.h"
 
 #define NS_BMPENCODER_CID                            \
   { /* 13a5320c-4c91-4FA4-bd16-b081a3ba8c0b */       \
     0x13a5320c, 0x4c91, 0x4fa4, {                    \
       0xbd, 0x16, 0xb0, 0x81, 0xa3, 0Xba, 0x8c, 0x0b \
     }                                                \
--- a/image/moz.build
+++ b/image/moz.build
@@ -49,16 +49,17 @@ EXPORTS += [
     'imgRequest.h',
     'imgRequestProxy.h',
     'IProgressObserver.h',
     'Orientation.h',
     'SurfaceCacheUtils.h',
 ]
 
 EXPORTS.mozilla.image += [
+    'encoders/bmp/nsBMPEncoder.h',
     'encoders/jpeg/nsJPEGEncoder.h',
     'encoders/png/nsPNGEncoder.h',
     'ImageMemoryReporter.h',
     'RecyclingSourceSurface.h',
 ]
 
 UNIFIED_SOURCES += [
     'AnimationFrameBuffer.cpp',