commit f0684a42bf02f469635f193f6d8a9770a6c0de64
parent f8aa62a8e0bca0219dc9b235bf534d4c5d1bb103
Author: serge-sans-paille <sguelton@mozilla.com>
Date: Fri, 24 Oct 2025 14:37:09 +0000
Bug 1996223 - Remove remaining unused includes in mfbt/* r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D269969
Diffstat:
10 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/dom/canvas/FilterNodeWebgl.cpp b/dom/canvas/FilterNodeWebgl.cpp
@@ -10,6 +10,7 @@
#include "DrawTargetWebglInternal.h"
#include "SourceSurfaceWebgl.h"
+#include "mozilla/PodOperations.h"
#include "mozilla/gfx/Blur.h"
#include "mozilla/gfx/DrawTargetSkia.h"
#include "mozilla/gfx/FilterNodeSoftware.h"
diff --git a/js/src/jit/ProcessExecutableMemory.cpp b/js/src/jit/ProcessExecutableMemory.cpp
@@ -10,6 +10,7 @@
#include "mozilla/Atomics.h"
#include "mozilla/DebugOnly.h"
#include "mozilla/Maybe.h"
+#include "mozilla/PodOperations.h"
#include "mozilla/TaggedAnonymousMemory.h"
#include "mozilla/XorShift128PlusRNG.h"
diff --git a/mfbt/BloomFilter.h b/mfbt/BloomFilter.h
@@ -14,7 +14,6 @@
#ifndef mozilla_BloomFilter_h
#define mozilla_BloomFilter_h
-#include "mozilla/Assertions.h"
#include "mozilla/Attributes.h"
#include "mozilla/Likely.h"
diff --git a/mfbt/CheckedInt.h b/mfbt/CheckedInt.h
@@ -12,7 +12,6 @@
#include "mozilla/Assertions.h"
#include "mozilla/Attributes.h"
#include "mozilla/CheckedArithmetic.h"
-#include "mozilla/IntegerTypeTraits.h"
#include <cstdint>
#include <limits>
diff --git a/mfbt/HashFunctions.h b/mfbt/HashFunctions.h
@@ -47,9 +47,7 @@
#ifndef mozilla_HashFunctions_h
#define mozilla_HashFunctions_h
-#include "mozilla/Assertions.h"
#include "mozilla/Attributes.h"
-#include "mozilla/Char16.h"
#include "mozilla/MathAlgorithms.h"
#include "mozilla/Types.h"
#include "mozilla/WrappingOperations.h"
diff --git a/mfbt/JSONWriter.h b/mfbt/JSONWriter.h
@@ -95,7 +95,6 @@
#include "double-conversion/double-conversion.h"
#include "mozilla/Assertions.h"
#include "mozilla/IntegerPrintfMacros.h"
-#include "mozilla/PodOperations.h"
#include "mozilla/Span.h"
#include "mozilla/Sprintf.h"
#include "mozilla/UniquePtr.h"
diff --git a/mfbt/RefCounted.h b/mfbt/RefCounted.h
@@ -13,7 +13,6 @@
#include <type_traits>
#include "mozilla/Assertions.h"
-#include "mozilla/Atomics.h"
#include "mozilla/Attributes.h"
#include "mozilla/RefCountType.h"
diff --git a/mfbt/ResultVariant.h b/mfbt/ResultVariant.h
@@ -9,7 +9,6 @@
#ifndef mozilla_ResultVariant_h
#define mozilla_ResultVariant_h
-#include "mozilla/MaybeStorageBase.h"
#include "mozilla/Result.h"
#include "mozilla/Variant.h"
diff --git a/mozglue/baseprofiler/core/platform.cpp b/mozglue/baseprofiler/core/platform.cpp
@@ -42,6 +42,7 @@
#include "mozilla/BaseProfilerDetail.h"
#include "mozilla/DoubleConversion.h"
#include "mozilla/Printf.h"
+#include "mozilla/PodOperations.h"
#include "mozilla/ProfilerBufferSize.h"
#include "mozilla/ProfileBufferChunkManagerSingle.h"
#include "mozilla/ProfileBufferChunkManagerWithLocalLimit.h"
diff --git a/tools/profiler/lul/LulMain.cpp b/tools/profiler/lul/LulMain.cpp
@@ -23,6 +23,7 @@
#include "mozilla/CheckedInt.h"
#include "mozilla/DebugOnly.h"
#include "mozilla/MemoryChecking.h"
+#include "mozilla/PodOperations.h"
#include "mozilla/Sprintf.h"
#include "mozilla/UniquePtr.h"