commit 4c193a8594a2d9a33f24227d9dc183e66ab1b13c
parent 2192d8176ae9247fd5376c6dfe622939d141cd97
Author: serge-sans-paille <sguelton@mozilla.com>
Date: Mon, 27 Oct 2025 15:28:37 +0000
Bug 1996600 - Remove unused mfbt inclusion in image/** r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D270200
Diffstat:
15 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/image/DecodePool.h b/image/DecodePool.h
@@ -16,7 +16,6 @@
#include "nsCOMPtr.h"
#include "nsIEventTarget.h"
#include "nsIObserver.h"
-#include "mozilla/RefPtr.h"
#include "nsStringFwd.h"
class nsIThread;
diff --git a/image/FrozenImage.h b/image/FrozenImage.h
@@ -8,7 +8,6 @@
#include "ImageWrapper.h"
#include "mozilla/gfx/2D.h"
-#include "mozilla/RefPtr.h"
namespace mozilla {
namespace image {
diff --git a/image/Image.h b/image/Image.h
@@ -11,7 +11,6 @@
#include "mozilla/MemoryReporting.h"
#include "mozilla/ProfilerMarkers.h"
#include "mozilla/SizeOfState.h"
-#include "mozilla/ThreadSafeWeakPtr.h"
#include "mozilla/TimeStamp.h"
#include "gfx2DGlue.h"
diff --git a/image/ImageFactory.cpp b/image/ImageFactory.cpp
@@ -8,8 +8,6 @@
#include <algorithm>
-#include "mozilla/Likely.h"
-
#include "nsIChannel.h"
#include "nsIFileChannel.h"
#include "nsIObserverService.h"
diff --git a/image/ImageUtils.h b/image/ImageUtils.h
@@ -8,7 +8,6 @@
#include "FrameTimeout.h"
#include "mozilla/image/SurfaceFlags.h"
-#include "mozilla/Assertions.h"
#include "mozilla/Maybe.h"
#include "mozilla/MozPromise.h"
#include "mozilla/RefPtr.h"
diff --git a/image/ImageWrapper.cpp b/image/ImageWrapper.cpp
@@ -5,7 +5,6 @@
#include "ImageWrapper.h"
#include "mozilla/gfx/2D.h"
-#include "mozilla/RefPtr.h"
#include "Orientation.h"
#include "mozilla/image/Resolution.h"
diff --git a/image/OrientedImage.h b/image/OrientedImage.h
@@ -8,7 +8,6 @@
#include "ImageWrapper.h"
#include "mozilla/gfx/2D.h"
-#include "mozilla/RefPtr.h"
#include "Orientation.h"
namespace mozilla {
diff --git a/image/ProgressTracker.h b/image/ProgressTracker.h
@@ -8,7 +8,6 @@
#define mozilla_image_ProgressTracker_h
#include "CopyOnWrite.h"
-#include "mozilla/NotNull.h"
#include "mozilla/Mutex.h"
#include "mozilla/RefPtr.h"
#include "mozilla/WeakPtr.h"
diff --git a/image/RasterImage.cpp b/image/RasterImage.cpp
@@ -28,7 +28,6 @@
#include "gfxPlatform.h"
#include "mozilla/ClearOnShutdown.h"
#include "mozilla/Likely.h"
-#include "mozilla/MemoryReporting.h"
#include "mozilla/RefPtr.h"
#include "mozilla/SizeOfState.h"
#include "mozilla/StaticPrefs_image.h"
diff --git a/image/RasterImage.h b/image/RasterImage.h
@@ -30,7 +30,6 @@
#include "Orientation.h"
#include "mozilla/AtomicBitfields.h"
#include "mozilla/Maybe.h"
-#include "mozilla/MemoryReporting.h"
#include "mozilla/NotNull.h"
#include "mozilla/StaticPrefs_image.h"
#include "mozilla/TimeStamp.h"
diff --git a/image/SVGDrawingParameters.h b/image/SVGDrawingParameters.h
@@ -11,7 +11,6 @@
#include "ImageRegion.h"
#include "mozilla/gfx/Point.h"
#include "mozilla/gfx/Types.h"
-#include "mozilla/Maybe.h"
#include "mozilla/SVGImageContext.h"
#include "nsSize.h"
diff --git a/image/VectorImage.h b/image/VectorImage.h
@@ -9,7 +9,6 @@
#include "Image.h"
#include "nsIStreamListener.h"
#include "mozilla/gfx/Point.h"
-#include "mozilla/MemoryReporting.h"
class nsIRequest;
class gfxDrawable;
diff --git a/image/decoders/nsBMPDecoder.cpp b/image/decoders/nsBMPDecoder.cpp
@@ -99,7 +99,6 @@
#include "mozilla/Attributes.h"
#include "mozilla/EndianUtils.h"
-#include "mozilla/Likely.h"
#include "mozilla/UniquePtrExtensions.h"
#include "RasterImage.h"
diff --git a/image/encoders/png/nsPNGEncoder.cpp b/image/encoders/png/nsPNGEncoder.cpp
@@ -4,7 +4,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "ImageLogging.h"
-#include "mozilla/XorShift128PlusRNG.h"
#include "nsCRT.h"
#include "nsPNGEncoder.h"
#include "nsStreamUtils.h"
diff --git a/image/imgFrame.cpp b/image/imgFrame.cpp
@@ -18,7 +18,6 @@
#include "MainThreadUtils.h"
#include "mozilla/gfx/Tools.h"
-#include "mozilla/Likely.h"
#include "mozilla/MemoryReporting.h"
#include "mozilla/ProfilerLabels.h"
#include "mozilla/StaticPrefs_browser.h"