commit 880b44ac3d77cc548a67ec628fd2b0e2c439cd44 parent 1b12cfa0bd91240f370fde7049f73250c7a43218 Author: serge-sans-paille <sguelton@mozilla.com> Date: Sun, 26 Oct 2025 20:43:32 +0000 Bug 1996049 - Remove unused inclusion of Atomics.h r=emilio,necko-reviewers,geckoview-reviewers,media-playback-reviewers,webrtc-reviewers,profiler-reviewers,toolkit-telemetry-reviewers,dom-worker-reviewers,mstange,chunmin,pehrsons,m_kato,jesup,asuth Differential Revision: https://phabricator.services.mozilla.com/D269783 Diffstat:
65 files changed, 8 insertions(+), 63 deletions(-)
diff --git a/dom/canvas/CanvasRenderingContext2D.h b/dom/canvas/CanvasRenderingContext2D.h @@ -12,7 +12,6 @@ #include "gfxFontConstants.h" #include "gfxTextRun.h" #include "gfxUtils.h" -#include "mozilla/Atomics.h" #include "mozilla/Attributes.h" #include "mozilla/EnumeratedArray.h" #include "mozilla/Maybe.h" diff --git a/dom/media/MediaEventSource.h b/dom/media/MediaEventSource.h @@ -10,7 +10,6 @@ #include <type_traits> #include <utility> -#include "mozilla/Atomics.h" #include "mozilla/DataMutex.h" #include "mozilla/Mutex.h" #include "nsISupportsImpl.h" diff --git a/dom/media/doctor/DDLogMessage.h b/dom/media/doctor/DDLogMessage.h @@ -12,7 +12,6 @@ #include "DDLogValue.h" #include "DDMessageIndex.h" #include "DDTimeStamp.h" -#include "mozilla/Atomics.h" #include "nsString.h" namespace mozilla { diff --git a/dom/media/gtest/TestGMPCrossOrigin.cpp b/dom/media/gtest/TestGMPCrossOrigin.cpp @@ -9,7 +9,6 @@ #include "GMPVideoDecoderProxy.h" #include "GMPVideoEncoderProxy.h" #include "gtest/gtest.h" -#include "mozilla/Atomics.h" #include "mozilla/DebugOnly.h" #include "mozilla/StaticPtr.h" #include "mozilla/gtest/MozAssertions.h" diff --git a/dom/media/hls/HLSDemuxer.h b/dom/media/hls/HLSDemuxer.h @@ -11,7 +11,6 @@ # include "MediaDataDemuxer.h" # include "MediaDecoder.h" # include "VideoUtils.h" -# include "mozilla/Atomics.h" # include "mozilla/Maybe.h" # include "mozilla/Mutex.h" # include "mozilla/TaskQueue.h" diff --git a/dom/media/mediasource/MediaSourceDemuxer.h b/dom/media/mediasource/MediaSourceDemuxer.h @@ -11,7 +11,6 @@ # include "MediaResource.h" # include "MediaSource.h" # include "TrackBuffersManager.h" -# include "mozilla/Atomics.h" # include "mozilla/EventTargetAndLockCapability.h" # include "mozilla/Maybe.h" # include "mozilla/TaskQueue.h" diff --git a/dom/media/platforms/MediaCodecsSupport.h b/dom/media/platforms/MediaCodecsSupport.h @@ -7,7 +7,6 @@ #define DOM_MEDIA_PLATFORMS_MEDIACODECSSUPPORT_H_ #include <array> -#include "mozilla/Atomics.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/EnumSet.h" #include "mozilla/StaticMutex.h" diff --git a/dom/media/platforms/wmf/MFMediaEngineVideoStream.h b/dom/media/platforms/wmf/MFMediaEngineVideoStream.h @@ -7,7 +7,6 @@ #include "MFMediaEngineStream.h" #include "WMFUtils.h" -#include "mozilla/Atomics.h" #include "mozilla/Mutex.h" namespace mozilla { diff --git a/dom/media/platforms/wmf/MFMediaSource.cpp b/dom/media/platforms/wmf/MFMediaSource.cpp @@ -14,7 +14,6 @@ #include "MFMediaEngineVideoStream.h" #include "VideoUtils.h" #include "WMF.h" -#include "mozilla/Atomics.h" #include "mozilla/StaticPrefs_media.h" #include "mozilla/TaskQueue.h" diff --git a/dom/media/platforms/wmf/WMFDecoderModule.h b/dom/media/platforms/wmf/WMFDecoderModule.h @@ -10,7 +10,6 @@ #include "PlatformDecoderModule.h" #include "WMF.h" #include "WMFUtils.h" -#include "mozilla/Atomics.h" namespace mozilla { diff --git a/dom/media/platforms/wmf/WMFVideoMFTManager.h b/dom/media/platforms/wmf/WMFVideoMFTManager.h @@ -13,7 +13,6 @@ # include "WMF.h" # include "WMFDecoderModule.h" # include "WMFMediaDataDecoder.h" -# include "mozilla/Atomics.h" # include "mozilla/RefPtr.h" # include "mozilla/gfx/Rect.h" diff --git a/dom/media/platforms/wrappers/MediaChangeMonitor.h b/dom/media/platforms/wrappers/MediaChangeMonitor.h @@ -9,7 +9,6 @@ #include "PDMFactory.h" #include "PlatformDecoderModule.h" -#include "mozilla/Atomics.h" #include "mozilla/Maybe.h" #include "mozilla/UniquePtr.h" diff --git a/dom/media/webaudio/AudioNodeExternalInputTrack.h b/dom/media/webaudio/AudioNodeExternalInputTrack.h @@ -8,7 +8,6 @@ #include "AudioNodeTrack.h" #include "MediaTrackGraph.h" -#include "mozilla/Atomics.h" namespace mozilla { diff --git a/dom/media/webrtc/jsapi/RTCStatsIdGenerator.h b/dom/media/webrtc/jsapi/RTCStatsIdGenerator.h @@ -9,7 +9,6 @@ #include <map> -#include "mozilla/Atomics.h" #include "mozilla/UniquePtr.h" #include "nsISupportsImpl.h" #include "nsString.h" diff --git a/dom/media/webrtc/libwebrtcglue/AudioConduit.cpp b/dom/media/webrtc/libwebrtcglue/AudioConduit.cpp @@ -47,7 +47,6 @@ #include "media/base/media_constants.h" #include "modules/rtp_rtcp/source/rtp_packet_received.h" #include "mozilla/Assertions.h" -#include "mozilla/Atomics.h" #include "mozilla/Maybe.h" #include "mozilla/StateWatching.h" #include "nsCOMPtr.h" diff --git a/dom/media/webrtc/libwebrtcglue/VideoConduit.cpp b/dom/media/webrtc/libwebrtcglue/VideoConduit.cpp @@ -74,7 +74,6 @@ #include "modules/rtp_rtcp/include/rtp_rtcp_defines.h" #include "modules/rtp_rtcp/source/rtp_packet_received.h" #include "mozilla/Assertions.h" -#include "mozilla/Atomics.h" #include "mozilla/DataMutex.h" #include "mozilla/MozPromise.h" #include "mozilla/Mutex.h" diff --git a/dom/promise/Promise.cpp b/dom/promise/Promise.cpp @@ -15,7 +15,6 @@ #include "js/Object.h" // JS::GetCompartment #include "js/StructuredClone.h" #include "jsfriendapi.h" -#include "mozilla/Atomics.h" #include "mozilla/BasePrincipal.h" #include "mozilla/CycleCollectedJSContext.h" #include "mozilla/HoldDropJSObjects.h" diff --git a/dom/script/ScriptLoadContext.h b/dom/script/ScriptLoadContext.h @@ -19,7 +19,6 @@ #include "js/loader/ScriptKind.h" #include "mozilla/AlreadyAddRefed.h" #include "mozilla/Assertions.h" -#include "mozilla/Atomics.h" #include "mozilla/CORSMode.h" #include "mozilla/LinkedList.h" #include "mozilla/Maybe.h" diff --git a/dom/workers/RuntimeService.h b/dom/workers/RuntimeService.h @@ -9,7 +9,6 @@ #include "MainThreadUtils.h" #include "js/ContextOptions.h" -#include "mozilla/Atomics.h" #include "mozilla/Mutex.h" #include "mozilla/StaticPtr.h" #include "mozilla/dom/BindingDeclarations.h" diff --git a/dom/workers/WorkerRunnable.h b/dom/workers/WorkerRunnable.h @@ -11,7 +11,6 @@ #include <utility> #include "MainThreadUtils.h" -#include "mozilla/Atomics.h" #include "mozilla/RefPtr.h" #include "mozilla/ThreadSafeWeakPtr.h" #include "mozilla/dom/WorkerPrivate.h" diff --git a/dom/workers/WorkerThread.cpp b/dom/workers/WorkerThread.cpp @@ -11,7 +11,6 @@ #include "WorkerPrivate.h" #include "WorkerRunnable.h" #include "mozilla/Assertions.h" -#include "mozilla/Atomics.h" #include "mozilla/CycleCollectedJSContext.h" #include "mozilla/EventQueue.h" #include "mozilla/Logging.h" diff --git a/gfx/2d/Logging.h b/gfx/2d/Logging.h @@ -20,7 +20,6 @@ # include "nsDebug.h" #endif #include "2D.h" -#include "mozilla/Atomics.h" #include "mozilla/StaticPrefs_gfx.h" #include "Point.h" #include "BaseRect.h" diff --git a/gfx/2d/SourceSurfaceRawData.h b/gfx/2d/SourceSurfaceRawData.h @@ -9,7 +9,6 @@ #include "2D.h" #include "Tools.h" -#include "mozilla/Atomics.h" namespace mozilla { namespace gfx { diff --git a/gfx/layers/D3D11ShareHandleImage.h b/gfx/layers/D3D11ShareHandleImage.h @@ -9,7 +9,6 @@ #include "ImageContainer.h" #include "d3d11.h" -#include "mozilla/Atomics.h" #include "mozilla/RefPtr.h" #include "mozilla/gfx/Types.h" #include "mozilla/layers/TextureClient.h" diff --git a/gfx/layers/SurfacePoolCA.h b/gfx/layers/SurfacePoolCA.h @@ -11,7 +11,6 @@ #include <deque> #include <unordered_map> -#include "mozilla/Atomics.h" #include "mozilla/DataMutex.h" #include "mozilla/layers/SurfacePool.h" diff --git a/gfx/layers/ipc/CompositorManagerChild.h b/gfx/layers/ipc/CompositorManagerChild.h @@ -7,9 +7,8 @@ #ifndef MOZILLA_GFX_COMPOSITORMANAGERCHILD_H #define MOZILLA_GFX_COMPOSITORMANAGERCHILD_H -#include <stddef.h> // for size_t -#include <stdint.h> // for uint32_t, uint64_t -#include "mozilla/Atomics.h" +#include <stddef.h> // for size_t +#include <stdint.h> // for uint32_t, uint64_t #include "mozilla/RefPtr.h" // for already_AddRefed #include "mozilla/StaticPtr.h" // for StaticRefPtr #include "mozilla/layers/CompositableForwarder.h" // for FwdTransactionCounter diff --git a/gfx/thebes/gfxPlatformGtk.cpp b/gfx/thebes/gfxPlatformGtk.cpp @@ -25,7 +25,6 @@ #include "gfxFT2FontBase.h" #include "gfxTextRun.h" #include "GLContextProvider.h" -#include "mozilla/Atomics.h" #include "mozilla/Components.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/FontPropertyTypes.h" diff --git a/gfx/vr/gfxVR.h b/gfx/vr/gfxVR.h @@ -13,7 +13,6 @@ #include "nsCOMPtr.h" #include "mozilla/RefPtr.h" #include "mozilla/gfx/2D.h" -#include "mozilla/Atomics.h" #include "mozilla/TiedFields.h" #include "mozilla/TimeStamp.h" #include "mozilla/TypedEnumBits.h" diff --git a/ipc/chromium/src/base/histogram.h b/ipc/chromium/src/base/histogram.h @@ -43,7 +43,6 @@ #define BASE_METRICS_HISTOGRAM_H_ #pragma once -#include "mozilla/Atomics.h" #include "mozilla/MemoryReporting.h" #include <map> diff --git a/ipc/glue/IdleSchedulerParent.h b/ipc/glue/IdleSchedulerParent.h @@ -8,7 +8,6 @@ #define mozilla_ipc_IdleSchedulerParent_h__ #include "mozilla/Assertions.h" -#include "mozilla/Atomics.h" #include "mozilla/LinkedList.h" #include "mozilla/RefPtr.h" #include "mozilla/ipc/PIdleSchedulerParent.h" diff --git a/ipc/glue/MessageChannel.h b/ipc/glue/MessageChannel.h @@ -9,7 +9,6 @@ #define ipc_glue_MessageChannel_h #include "ipc/EnumSerializer.h" -#include "mozilla/Atomics.h" #include "mozilla/BaseProfilerMarkers.h" #include "mozilla/LinkedList.h" #include "mozilla/Monitor.h" diff --git a/js/loader/ScriptLoadRequest.h b/js/loader/ScriptLoadRequest.h @@ -11,7 +11,6 @@ #include "js/RootingAPI.h" #include "js/SourceText.h" #include "js/TypeDecls.h" -#include "mozilla/Atomics.h" #include "mozilla/Assertions.h" #include "mozilla/dom/CacheExpirationTime.h" #include "mozilla/dom/SRIMetadata.h" diff --git a/js/src/gc/BufferAllocator-inl.h b/js/src/gc/BufferAllocator-inl.h @@ -9,7 +9,6 @@ #include "gc/BufferAllocator.h" -#include "mozilla/Atomics.h" #include "mozilla/MathAlgorithms.h" #include "ds/SlimLinkedList.h" diff --git a/js/src/gc/Cell.h b/js/src/gc/Cell.h @@ -7,7 +7,6 @@ #ifndef gc_Cell_h #define gc_Cell_h -#include "mozilla/Atomics.h" #include "mozilla/EndianUtils.h" #include <type_traits> diff --git a/js/src/jsapi-tests/testProfileStrings.cpp b/js/src/jsapi-tests/testProfileStrings.cpp @@ -7,8 +7,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Atomics.h" - #include "js/CallAndConstruct.h" #include "js/ContextOptions.h" #include "js/GlobalObject.h" diff --git a/js/src/threading/Thread.h b/js/src/threading/Thread.h @@ -7,7 +7,6 @@ #ifndef threading_Thread_h #define threading_Thread_h -#include "mozilla/Atomics.h" #include "mozilla/TimeStamp.h" #include <stdint.h> diff --git a/js/src/util/StructuredSpewer.h b/js/src/util/StructuredSpewer.h @@ -9,7 +9,6 @@ #ifdef JS_STRUCTURED_SPEW -# include "mozilla/Atomics.h" # include "mozilla/Attributes.h" # include "mozilla/EnumeratedArray.h" # include "mozilla/Maybe.h" diff --git a/js/src/wasm/WasmMetadata.h b/js/src/wasm/WasmMetadata.h @@ -7,8 +7,6 @@ #ifndef wasm_WasmMetadata_h #define wasm_WasmMetadata_h -#include "mozilla/Atomics.h" - #include "wasm/WasmBinaryTypes.h" #include "wasm/WasmHeuristics.h" #include "wasm/WasmInstanceData.h" // various of *InstanceData diff --git a/js/xpconnect/loader/ScriptPreloader.h b/js/xpconnect/loader/ScriptPreloader.h @@ -6,7 +6,6 @@ #ifndef ScriptPreloader_h #define ScriptPreloader_h -#include "mozilla/Atomics.h" #include "mozilla/EnumSet.h" #include "mozilla/EventTargetAndLockCapability.h" #include "mozilla/LinkedList.h" diff --git a/js/xpconnect/src/XPCJSRuntime.cpp b/js/xpconnect/src/XPCJSRuntime.cpp @@ -65,7 +65,6 @@ #include "mozilla/dom/Element.h" #include "mozilla/dom/FetchUtil.h" #include "mozilla/dom/WindowBinding.h" -#include "mozilla/Atomics.h" #include "mozilla/Attributes.h" #include "mozilla/ProcessHangMonitor.h" #include "mozilla/ProfilerLabels.h" diff --git a/js/xpconnect/src/xpcprivate.h b/js/xpconnect/src/xpcprivate.h @@ -69,7 +69,6 @@ #define xpcprivate_h___ #include "mozilla/Assertions.h" -#include "mozilla/Atomics.h" #include "mozilla/Attributes.h" #include "mozilla/BasePrincipal.h" #include "mozilla/CycleCollectedJSContext.h" diff --git a/memory/build/mozjemalloc_profiling.h b/memory/build/mozjemalloc_profiling.h @@ -7,7 +7,6 @@ #ifndef _MOZJEMALLOC_PROFILING_H #define _MOZJEMALLOC_PROFILING_H -#include "mozilla/Atomics.h" #include "mozilla/RefCounted.h" #include "mozilla/RefPtr.h" #include "mozilla/TimeStamp.h" diff --git a/modules/libjar/nsJAR.h b/modules/libjar/nsJAR.h @@ -11,7 +11,6 @@ #include "mozilla/Logging.h" #include "prinrval.h" -#include "mozilla/Atomics.h" #include "mozilla/RecursiveMutex.h" #include "nsCOMPtr.h" #include "nsClassHashtable.h" diff --git a/mozglue/baseprofiler/public/BaseProfiler.h b/mozglue/baseprofiler/public/BaseProfiler.h @@ -86,7 +86,6 @@ static inline void profiler_shutdown() {} # include "BaseProfilingStack.h" # include "mozilla/Assertions.h" -# include "mozilla/Atomics.h" # include "mozilla/Attributes.h" # include "mozilla/BaseProfilerRAIIMacro.h" # include "mozilla/Maybe.h" diff --git a/netwerk/base/nsDNSPrefetch.cpp b/netwerk/base/nsDNSPrefetch.cpp @@ -14,7 +14,6 @@ #include "nsIDNSByTypeRecord.h" #include "nsICancelable.h" #include "nsIURI.h" -#include "mozilla/Atomics.h" #include "mozilla/Preferences.h" static mozilla::StaticRefPtr<nsIDNSService> sDNSService; diff --git a/netwerk/base/nsIncrementalStreamLoader.h b/netwerk/base/nsIncrementalStreamLoader.h @@ -9,6 +9,7 @@ #include "nsIThreadRetargetableStreamListener.h" #include "nsIIncrementalStreamLoader.h" #include "nsCOMPtr.h" +#include "mozilla/Atomics.h" #include "mozilla/Vector.h" class nsIRequest; diff --git a/netwerk/base/nsStandardURL.h b/netwerk/base/nsStandardURL.h @@ -16,6 +16,7 @@ #include "nsCOMPtr.h" #include "nsURLHelper.h" #include "nsISizeOf.h" +#include "mozilla/Atomics.h" #include "mozilla/LinkedList.h" #include "mozilla/MemoryReporting.h" #include "nsISensitiveInfoHiddenURI.h" diff --git a/netwerk/base/nsStreamLoader.h b/netwerk/base/nsStreamLoader.h @@ -9,6 +9,7 @@ #include "nsIThreadRetargetableStreamListener.h" #include "nsIStreamLoader.h" #include "nsCOMPtr.h" +#include "mozilla/Atomics.h" #include "mozilla/Vector.h" class nsIRequest; diff --git a/netwerk/protocol/http/WebTransportStreamBase.h b/netwerk/protocol/http/WebTransportStreamBase.h @@ -8,6 +8,7 @@ #include "nsISupportsImpl.h" #include "mozilla/net/neqo_glue_ffi_generated.h" +#include "mozilla/Atomics.h" #include "mozilla/Mutex.h" #include "nsCOMPtr.h" #include "nsIAsyncInputStream.h" diff --git a/netwerk/system/mac/nsNetworkLinkService.h b/netwerk/system/mac/nsNetworkLinkService.h @@ -9,7 +9,6 @@ #include "nsIObserver.h" #include "nsITimer.h" #include "nsString.h" -#include "mozilla/Atomics.h" #include "mozilla/Mutex.h" #include "mozilla/SHA1.h" diff --git a/security/sandbox/linux/SandboxFilter.h b/security/sandbox/linux/SandboxFilter.h @@ -8,7 +8,6 @@ #define mozilla_SandboxFilter_h #include <vector> -#include "mozilla/Atomics.h" #include "mozilla/Range.h" #include "mozilla/UniquePtr.h" diff --git a/toolkit/components/telemetry/core/TelemetryHistogram.cpp b/toolkit/components/telemetry/core/TelemetryHistogram.cpp @@ -17,7 +17,6 @@ #include "js/PropertyAndElement.h" // JS_DefineElement, JS_DefineFunction, JS_DefineProperty, JS_DefineUCProperty, JS_Enumerate, JS_GetElement, JS_GetProperty, JS_GetPropertyById #include "mozilla/dom/ToJSValue.h" #include "mozilla/gfx/GPUProcessManager.h" -#include "mozilla/Atomics.h" #include "mozilla/JSONWriter.h" #include "mozilla/StartupTimeline.h" #include "mozilla/StaticMutex.h" diff --git a/toolkit/xre/AutoSQLiteLifetime.cpp b/toolkit/xre/AutoSQLiteLifetime.cpp @@ -7,6 +7,7 @@ #include "AutoSQLiteLifetime.h" #include "sqlite3.h" #include "sqlite3_static_ext.h" +#include "mozilla/Atomics.h" #include "mozilla/DebugOnly.h" #ifdef MOZ_MEMORY diff --git a/tools/profiler/public/GeckoProfiler.h b/tools/profiler/public/GeckoProfiler.h @@ -106,7 +106,6 @@ static inline void profiler_record_wakeup_count( # include "js/ProfilingStack.h" # include "mozilla/Assertions.h" -# include "mozilla/Atomics.h" # include "mozilla/Attributes.h" # include "mozilla/BaseProfilerRAIIMacro.h" # include "mozilla/Maybe.h" diff --git a/tools/profiler/public/ProfilerLabels.h b/tools/profiler/public/ProfilerLabels.h @@ -19,7 +19,6 @@ #include "js/ProfilingStack.h" #include "js/RootingAPI.h" #include "mozilla/Assertions.h" -#include "mozilla/Atomics.h" #include "mozilla/Attributes.h" #include "mozilla/BaseProfilerRAIIMacro.h" #include "mozilla/Maybe.h" diff --git a/tools/profiler/tests/gtest/LulTest.cpp b/tools/profiler/tests/gtest/LulTest.cpp @@ -4,7 +4,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "gtest/gtest.h" -#include "mozilla/Atomics.h" #include "LulMain.h" #include "GeckoProfiler.h" // for TracingKind #include "platform-linux-lul.h" // for read_procmaps diff --git a/widget/android/ScreenHelperAndroid.cpp b/widget/android/ScreenHelperAndroid.cpp @@ -11,7 +11,6 @@ #include <mozilla/jni/Refs.h> #include "AndroidVsync.h" -#include "mozilla/Atomics.h" #include "mozilla/java/GeckoAppShellWrappers.h" #include "mozilla/java/ScreenManagerHelperNatives.h" #include "mozilla/widget/ScreenManager.h" diff --git a/widget/nsCUPSShim.h b/widget/nsCUPSShim.h @@ -8,7 +8,6 @@ #define nsCUPSShim_h___ #include <cups/cups.h> -#include "mozilla/Atomics.h" #include "mozilla/Mutex.h" // TODO: This should be a configure option, ideally. diff --git a/xpcom/base/nsISupportsImpl.h b/xpcom/base/nsISupportsImpl.h @@ -22,7 +22,6 @@ #include <type_traits> #include "mozilla/Attributes.h" #include "mozilla/Assertions.h" -#include "mozilla/Atomics.h" #include "mozilla/Likely.h" #include "mozilla/MacroArgs.h" #include "mozilla/MacroForEach.h" diff --git a/xpcom/base/nsTraceRefcnt.cpp b/xpcom/base/nsTraceRefcnt.cpp @@ -41,7 +41,6 @@ # include <unistd.h> #endif -#include "mozilla/Atomics.h" #include "mozilla/AutoRestore.h" #include "mozilla/BlockingResourceBase.h" #include "mozilla/PoisonIOInterposer.h" diff --git a/xpcom/build/PoisonIOInterposerBase.cpp b/xpcom/build/PoisonIOInterposerBase.cpp @@ -4,6 +4,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include "mozilla/Atomics.h" #include "mozilla/Maybe.h" #include "mozilla/Mutex.h" #include "mozilla/UniquePtr.h" diff --git a/xpcom/build/XPCOMInit.cpp b/xpcom/build/XPCOMInit.cpp @@ -12,7 +12,6 @@ #include "mozilla/AbstractThread.h" #include "mozilla/AppShutdown.h" #include "mozilla/Assertions.h" -#include "mozilla/Atomics.h" #include "mozilla/DebugOnly.h" #include "mozilla/Poison.h" #include "mozilla/SharedThreadPool.h" diff --git a/xpcom/build/nsXPCOM.h b/xpcom/build/nsXPCOM.h @@ -10,7 +10,6 @@ #include "nscore.h" #include "nsXPCOMCID.h" #include "mozilla/Attributes.h" -#include "mozilla/Atomics.h" #ifdef __cplusplus # define DECL_CLASS(c) class c diff --git a/xpcom/components/nsComponentManager.h b/xpcom/components/nsComponentManager.h @@ -15,7 +15,6 @@ #include "nsIServiceManager.h" #include "nsIFile.h" #include "mozilla/ArenaAllocator.h" -#include "mozilla/Atomics.h" #include "mozilla/MemoryReporting.h" #include "mozilla/Module.h" #include "mozilla/Monitor.h" diff --git a/xpcom/threads/ThrottledEventQueue.cpp b/xpcom/threads/ThrottledEventQueue.cpp @@ -6,7 +6,6 @@ #include "ThrottledEventQueue.h" -#include "mozilla/Atomics.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/CondVar.h" #include "mozilla/EventQueue.h"