commit 1667ec582b66ed73989fdbc210e69b580b3e04a3 parent 48674032965d7a3300a33cd501f22d99e656a940 Author: serge-sans-paille <sguelton@mozilla.com> Date: Thu, 23 Oct 2025 07:27:57 +0000 Bug 1995723 - Remove unused inclusion of mozilla/ArrayUtils.h r=necko-reviewers,application-update-reviewers,media-playback-reviewers,profiler-reviewers,win-reviewers,firefox-svg-reviewers,layout-reviewers,gstoll,canaltinova,bytesized,alwu,dholbert Differential Revision: https://phabricator.services.mozilla.com/D269573 Diffstat:
275 files changed, 6 insertions(+), 298 deletions(-)
diff --git a/accessible/android/TraversalRule.cpp b/accessible/android/TraversalRule.cpp @@ -6,7 +6,6 @@ #include "TraversalRule.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/a11y/Accessible.h" #include "mozilla/a11y/Role.h" diff --git a/accessible/atk/AccessibleWrap.cpp b/accessible/atk/AccessibleWrap.cpp @@ -28,7 +28,6 @@ #include "States.h" #include "nsISimpleEnumerator.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Sprintf.h" #include "nsAccessibilityService.h" #include "nsComponentManagerUtils.h" diff --git a/accessible/base/nsAccessibilityService.cpp b/accessible/base/nsAccessibilityService.cpp @@ -60,7 +60,6 @@ #include "nsTreeBodyFrame.h" #include "nsTreeUtils.h" #include "mozilla/a11y/AccTypes.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/DOMStringList.h" #include "mozilla/dom/EventTarget.h" diff --git a/accessible/generic/DocAccessible.cpp b/accessible/generic/DocAccessible.cpp @@ -38,7 +38,6 @@ #include "nsIWebNavigation.h" #include "nsFocusManager.h" #include "mozilla/AppShutdown.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/Components.h" // for mozilla::components #include "mozilla/EditorBase.h" diff --git a/accessible/generic/RootAccessible.cpp b/accessible/generic/RootAccessible.cpp @@ -5,7 +5,6 @@ #include "RootAccessible.h" -#include "mozilla/ArrayUtils.h" #include "nsXULPopupManager.h" #define CreateEvent CreateEventA diff --git a/browser/app/winlauncher/DllBlocklistInit.cpp b/browser/app/winlauncher/DllBlocklistInit.cpp @@ -5,7 +5,6 @@ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ #include "nsWindowsDllInterceptor.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/ImportDir.h" #include "mozilla/NativeNt.h" #include "mozilla/PolicyChecks.h" diff --git a/browser/app/winlauncher/freestanding/DllBlocklist.cpp b/browser/app/winlauncher/freestanding/DllBlocklist.cpp @@ -4,7 +4,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ -#include "mozilla/ArrayUtils.h" #include "mozilla/Attributes.h" #include "mozilla/NativeNt.h" #include "mozilla/Types.h" diff --git a/browser/app/winlauncher/test/TestSameBinary.cpp b/browser/app/winlauncher/test/TestSameBinary.cpp @@ -12,7 +12,6 @@ #include <utility> #include "SameBinary.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/CmdLineAndEnvUtils.h" #include "mozilla/NativeNt.h" diff --git a/browser/components/shell/WindowsDefaultBrowser.cpp b/browser/components/shell/WindowsDefaultBrowser.cpp @@ -10,7 +10,6 @@ #include "WindowsDefaultBrowser.h" #include "city.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/UniquePtr.h" #include "mozilla/WindowsVersion.h" #include "mozilla/WinHeaderOnlyUtils.h" diff --git a/browser/components/shell/WindowsUserChoice.cpp b/browser/components/shell/WindowsUserChoice.cpp @@ -27,7 +27,6 @@ #include <winternl.h> // for NT_SUCCESS() #include "nsDebug.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/UniquePtr.h" #include "nsWindowsHelpers.h" diff --git a/browser/components/shell/nsGNOMEShellService.cpp b/browser/components/shell/nsGNOMEShellService.cpp @@ -3,7 +3,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/ArrayUtils.h" #include "mozilla/Preferences.h" #include "mozilla/widget/GSettings.h" diff --git a/caps/NullPrincipal.cpp b/caps/NullPrincipal.cpp @@ -10,8 +10,6 @@ * same-origin with anything but themselves. */ -#include "mozilla/ArrayUtils.h" - #include "mozilla/dom/BlobURLProtocolHandler.h" #include "mozilla/StaticPrefs_network.h" #include "nsDocShell.h" diff --git a/caps/nsScriptSecurityManager.cpp b/caps/nsScriptSecurityManager.cpp @@ -6,7 +6,6 @@ #include "nsScriptSecurityManager.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/SourceLocation.h" #include "mozilla/StaticPrefs_extensions.h" #include "mozilla/StaticPrefs_security.h" diff --git a/docshell/base/nsAboutRedirector.cpp b/docshell/base/nsAboutRedirector.cpp @@ -8,7 +8,6 @@ #include "nsNetUtil.h" #include "nsAboutProtocolUtils.h" #include "nsBaseChannel.h" -#include "mozilla/ArrayUtils.h" #include "nsIProtocolHandler.h" #include "nsXULAppAPI.h" #include "mozilla/Preferences.h" diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp @@ -16,7 +16,6 @@ # include <unistd.h> // for getpid() #endif -#include "mozilla/ArrayUtils.h" #include "mozilla/Attributes.h" #include "mozilla/AutoRestore.h" #include "mozilla/BasePrincipal.h" diff --git a/dom/base/CCGCScheduler.h b/dom/base/CCGCScheduler.h @@ -3,7 +3,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "js/SliceBudget.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/CycleCollectedJSContext.h" #include "mozilla/IdleTaskRunner.h" #include "mozilla/MainThreadIdlePeriod.h" diff --git a/dom/base/DOMException.cpp b/dom/base/DOMException.cpp @@ -8,7 +8,6 @@ #include "js/StructuredClone.h" #include "js/TypeDecls.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/ErrorResult.h" #include "mozilla/HoldDropJSObjects.h" #include "mozilla/dom/DOMExceptionBinding.h" diff --git a/dom/base/Document.cpp b/dom/base/Document.cpp @@ -45,7 +45,6 @@ #include "mozIThirdPartyUtil.h" #include "mozilla/AntiTrackingUtils.h" #include "mozilla/ArrayIterator.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/AsyncEventDispatcher.h" #include "mozilla/AttributeStyles.h" #include "mozilla/Base64.h" diff --git a/dom/base/EventSource.cpp b/dom/base/EventSource.cpp @@ -7,7 +7,6 @@ #include "mozilla/dom/EventSource.h" #include "ReferrerInfo.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Components.h" #include "mozilla/DOMEventTargetHelper.h" #include "mozilla/DataMutex.h" diff --git a/dom/base/FragmentOrElement.cpp b/dom/base/FragmentOrElement.cpp @@ -11,7 +11,6 @@ #include "mozilla/dom/FragmentOrElement.h" #include "DOMIntersectionObserver.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/AsyncEventDispatcher.h" #include "mozilla/DeclarationBlock.h" #include "mozilla/EffectSet.h" diff --git a/dom/base/NodeInfo.cpp b/dom/base/NodeInfo.cpp @@ -12,7 +12,6 @@ #include "mozilla/dom/NodeInfo.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Likely.h" #include "mozilla/Sprintf.h" #include "mozilla/dom/Document.h" diff --git a/dom/base/nsContentUtils.cpp b/dom/base/nsContentUtils.cpp @@ -59,7 +59,6 @@ #include "mozIDOMWindow.h" #include "mozilla/AlreadyAddRefed.h" #include "mozilla/ArrayIterator.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/AsyncEventDispatcher.h" #include "mozilla/AtomArray.h" #include "mozilla/Atomics.h" diff --git a/dom/base/nsGlobalWindowCommands.cpp b/dom/base/nsGlobalWindowCommands.cpp @@ -8,7 +8,6 @@ #include "ContentEventHandler.h" #include "ErrorList.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Attributes.h" #include "mozilla/BasicEvents.h" #include "mozilla/ControllerCommand.h" diff --git a/dom/base/nsGlobalWindowInner.cpp b/dom/base/nsGlobalWindowInner.cpp @@ -48,7 +48,6 @@ #include "mozilla/AlreadyAddRefed.h" #include "mozilla/AppShutdown.h" #include "mozilla/ArrayIterator.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Attributes.h" #include "mozilla/BaseProfilerMarkersPrerequisites.h" #include "mozilla/BasicEvents.h" diff --git a/dom/base/nsTreeSanitizer.cpp b/dom/base/nsTreeSanitizer.cpp @@ -9,7 +9,6 @@ #include <iterator> #include "mozilla/Algorithm.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/DeclarationBlock.h" #include "mozilla/NullPrincipal.h" #include "mozilla/StaticPrefs_dom.h" diff --git a/dom/bindings/BindingUtils.h b/dom/bindings/BindingUtils.h @@ -22,7 +22,6 @@ #include "js/friend/WindowProxy.h" // js::IsWindow, js::IsWindowProxy, js::ToWindowProxyIfWindow #include "jsfriendapi.h" #include "mozilla/Array.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/DeferredFinalize.h" #include "mozilla/EnumTypeTraits.h" diff --git a/dom/bindings/WebIDLGlobalNameHash.cpp b/dom/bindings/WebIDLGlobalNameHash.cpp @@ -14,7 +14,6 @@ #include "js/Wrapper.h" #include "jsapi.h" #include "jsfriendapi.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/ErrorResult.h" #include "mozilla/HashFunctions.h" #include "mozilla/Maybe.h" diff --git a/dom/canvas/WebGL2Context.cpp b/dom/canvas/WebGL2Context.cpp @@ -9,7 +9,6 @@ #include "WebGLBuffer.h" #include "WebGLFormats.h" #include "WebGLTransformFeedback.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/StaticPrefs_webgl.h" #include "mozilla/dom/WebGL2RenderingContextBinding.h" #include "nsPrintfCString.h" diff --git a/dom/canvas/WebGLStrongTypes.h b/dom/canvas/WebGLStrongTypes.h @@ -9,7 +9,6 @@ #include <algorithm> #include "GLDefs.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/Attributes.h" diff --git a/dom/crypto/CryptoKey.cpp b/dom/crypto/CryptoKey.cpp @@ -17,7 +17,6 @@ #include "js/StructuredClone.h" #include "js/TypeDecls.h" #include "keyhi.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/ErrorResult.h" #include "mozilla/dom/KeyAlgorithmBinding.h" #include "mozilla/dom/RootedDictionary.h" diff --git a/dom/crypto/WebCryptoCommon.h b/dom/crypto/WebCryptoCommon.h @@ -15,7 +15,6 @@ #include "ScopedNSSTypes.h" #include "js/StructuredClone.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/dom/CryptoBuffer.h" #include "mozilla/fallible.h" diff --git a/dom/events/DataTransfer.cpp b/dom/events/DataTransfer.cpp @@ -6,7 +6,6 @@ #include "DataTransfer.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/BasePrincipal.h" #include "mozilla/BasicEvents.h" #include "mozilla/CheckedInt.h" diff --git a/dom/events/DataTransfer.h b/dom/events/DataTransfer.h @@ -7,7 +7,6 @@ #ifndef mozilla_dom_DataTransfer_h #define mozilla_dom_DataTransfer_h -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/EventForwards.h" #include "mozilla/dom/BindingDeclarations.h" diff --git a/dom/events/KeyEventHandler.cpp b/dom/events/KeyEventHandler.cpp @@ -7,7 +7,6 @@ #include "KeyEventHandler.h" #include "ErrorList.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/BasicEvents.h" #include "mozilla/JSEventHandler.h" #include "mozilla/LookAndFeel.h" diff --git a/dom/events/UIEvent.cpp b/dom/events/UIEvent.cpp @@ -9,7 +9,6 @@ #include "base/basictypes.h" #include "ipc/IPCMessageUtils.h" #include "ipc/IPCMessageUtilsSpecializations.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/ContentEvents.h" #include "mozilla/EventStateManager.h" diff --git a/dom/gamepad/cocoa/CocoaGamepad.cpp b/dom/gamepad/cocoa/CocoaGamepad.cpp @@ -15,7 +15,6 @@ #include <vector> -#include "mozilla/ArrayUtils.h" #include "mozilla/Sprintf.h" #include "mozilla/Tainting.h" #include "mozilla/dom/GamepadHandle.h" diff --git a/dom/gamepad/linux/udev.h b/dom/gamepad/linux/udev.h @@ -14,8 +14,6 @@ #include <dlfcn.h> -#include "mozilla/ArrayUtils.h" - namespace mozilla { struct udev; diff --git a/dom/gamepad/windows/WindowsGamepad.cpp b/dom/gamepad/windows/WindowsGamepad.cpp @@ -18,7 +18,6 @@ // clang-format on #include "Gamepad.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/dom/GamepadPlatformService.h" #include "mozilla/dom/GamepadRemapping.h" #include "mozilla/ipc/BackgroundParent.h" diff --git a/dom/html/HTMLInputElement.cpp b/dom/html/HTMLInputElement.cpp @@ -10,7 +10,6 @@ #include "HTMLDataListElement.h" #include "HTMLFormSubmissionConstants.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/AsyncEventDispatcher.h" #include "mozilla/BasePrincipal.h" #include "mozilla/Components.h" diff --git a/dom/html/nsHTMLContentSink.cpp b/dom/html/nsHTMLContentSink.cpp @@ -11,7 +11,6 @@ */ #include "mozAutoDocUpdate.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Logging.h" #include "mozilla/Preferences.h" #include "mozilla/dom/CustomElementRegistry.h" diff --git a/dom/mathml/MathMLElement.cpp b/dom/mathml/MathMLElement.cpp @@ -6,7 +6,6 @@ #include "mozilla/dom/MathMLElement.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/EventListenerManager.h" #include "mozilla/FocusModel.h" #include "mozilla/StaticPrefs_mathml.h" diff --git a/dom/media/AsyncLogger.h b/dom/media/AsyncLogger.h @@ -12,7 +12,6 @@ #include <thread> #include "GeckoProfiler.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Attributes.h" #include "mozilla/BaseProfilerMarkerTypes.h" #include "mozilla/MathAlgorithms.h" diff --git a/dom/media/gmp/ChromiumCDMAdapter.cpp b/dom/media/gmp/ChromiumCDMAdapter.cpp @@ -13,7 +13,6 @@ #include "content_decryption_module_ext.h" #include "gmp-api/gmp-entrypoints.h" #include "gmp-api/gmp-video-codec.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/HelperMacros.h" #include "mozilla/dom/KeySystemNames.h" diff --git a/dom/media/gtest/TestGMPUtils.cpp b/dom/media/gtest/TestGMPUtils.cpp @@ -9,7 +9,6 @@ #include "GMPUtils.h" #include "gtest/gtest.h" -#include "mozilla/ArrayUtils.h" #include "nsString.h" using namespace mozilla; diff --git a/dom/media/gtest/TestMP3Demuxer.cpp b/dom/media/gtest/TestMP3Demuxer.cpp @@ -9,7 +9,6 @@ #include "MP3Demuxer.h" #include "MockMediaResource.h" -#include "mozilla/ArrayUtils.h" class MockMP3MediaResource; class MockMP3StreamMediaResource; diff --git a/dom/media/gtest/TestMP4Demuxer.cpp b/dom/media/gtest/TestMP4Demuxer.cpp @@ -8,7 +8,6 @@ #include "MockMediaResource.h" #include "VideoUtils.h" #include "gtest/gtest.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/MozPromise.h" #include "mozilla/SharedThreadPool.h" #include "mozilla/TaskQueue.h" diff --git a/dom/media/gtest/TestMediaSpan.cpp b/dom/media/gtest/TestMediaSpan.cpp @@ -7,7 +7,6 @@ #include <stdint.h> #include "MediaSpan.h" -#include "mozilla/ArrayUtils.h" using namespace mozilla; diff --git a/dom/media/gtest/TestVPXDecoding.cpp b/dom/media/gtest/TestVPXDecoding.cpp @@ -6,7 +6,6 @@ #include "VPXDecoder.h" #include "gtest/gtest.h" -#include "mozilla/ArrayUtils.h" #include "nsTArray.h" using namespace mozilla; diff --git a/dom/media/gtest/TestVideoTrackEncoder.cpp b/dom/media/gtest/TestVideoTrackEncoder.cpp @@ -12,7 +12,6 @@ #include "YUVBufferGenerator.h" #include "gmock/gmock.h" #include "gtest/gtest.h" -#include "mozilla/ArrayUtils.h" #include "prtime.h" #define VIDEO_TRACK_RATE 90000 diff --git a/dom/media/gtest/TestWebMBuffered.cpp b/dom/media/gtest/TestWebMBuffered.cpp @@ -6,7 +6,6 @@ #include "WebMBufferedParser.h" #include "gtest/gtest.h" -#include "mozilla/ArrayUtils.h" #include "nsTArray.h" using namespace mozilla; diff --git a/dom/media/gtest/mp4_demuxer/TestParser.cpp b/dom/media/gtest/mp4_demuxer/TestParser.cpp @@ -11,7 +11,6 @@ #include "TelemetryTestHelpers.h" #include "gtest/gtest.h" #include "js/Conversions.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Preferences.h" #include "mozilla/gtest/MozAssertions.h" diff --git a/dom/media/mediaelement/HTMLMediaElement.cpp b/dom/media/mediaelement/HTMLMediaElement.cpp @@ -56,7 +56,6 @@ #include "js/PropertyAndElement.h" // JS_DefineProperty #include "jsapi.h" #include "mozilla/AppShutdown.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/AsyncEventDispatcher.h" #include "mozilla/EMEUtils.h" #include "mozilla/EventDispatcher.h" diff --git a/dom/media/mediasource/gtest/TestContainerParser.cpp b/dom/media/mediasource/gtest/TestContainerParser.cpp @@ -7,7 +7,6 @@ #include <stdint.h> #include "ContainerParser.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/gtest/MozAssertions.h" using namespace mozilla; diff --git a/dom/media/mp4/DecoderData.cpp b/dom/media/mp4/DecoderData.cpp @@ -9,7 +9,6 @@ #include "BufferReader.h" #include "MP4Metadata.h" #include "VideoUtils.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/EndianUtils.h" #include "mozilla/Logging.h" #include "mozilla/glean/DomMediaMp4Metrics.h" diff --git a/dom/media/platforms/agnostic/bytestreams/Adts.cpp b/dom/media/platforms/agnostic/bytestreams/Adts.cpp @@ -10,7 +10,6 @@ #include "MediaDataDemuxer.h" #include "PlatformDecoderModule.h" #include "mozilla/Array.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Logging.h" #define LOG(msg, ...) \ diff --git a/dom/media/platforms/agnostic/bytestreams/AnnexB.cpp b/dom/media/platforms/agnostic/bytestreams/AnnexB.cpp @@ -9,7 +9,6 @@ #include "H264.h" #include "H265.h" #include "MediaData.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/EndianUtils.h" #include "mozilla/ResultExtensions.h" #include "mozilla/Try.h" diff --git a/dom/media/platforms/agnostic/bytestreams/H265.cpp b/dom/media/platforms/agnostic/bytestreams/H265.cpp @@ -17,7 +17,6 @@ #include "ByteWriter.h" #include "MediaData.h" #include "MediaInfo.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/PodOperations.h" #include "mozilla/ResultExtensions.h" #include "mozilla/Span.h" diff --git a/dom/media/platforms/apple/AppleVTDecoder.cpp b/dom/media/platforms/apple/AppleVTDecoder.cpp @@ -22,7 +22,6 @@ #include "VPXDecoder.h" #include "VideoUtils.h" #include "gfxMacUtils.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Logging.h" #include "mozilla/TaskQueue.h" #include "mozilla/gfx/gfxVars.h" diff --git a/dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp b/dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp @@ -8,7 +8,6 @@ #include "FFmpegLibWrapper.h" #include "FFmpegLog.h" -#include "mozilla/ArrayUtils.h" #include "prlink.h" namespace mozilla { diff --git a/dom/media/platforms/omx/OmxCoreLibLinker.cpp b/dom/media/platforms/omx/OmxCoreLibLinker.cpp @@ -8,7 +8,6 @@ #include "MainThreadUtils.h" #include "PlatformDecoderModule.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Preferences.h" #include "prlink.h" diff --git a/dom/media/platforms/wmf/WMFUtils.cpp b/dom/media/platforms/wmf/WMFUtils.cpp @@ -18,7 +18,6 @@ #include "MP4Decoder.h" #include "VPXDecoder.h" #include "VideoUtils.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/CheckedInt.h" #include "mozilla/Logging.h" #include "mozilla/RefPtr.h" diff --git a/dom/media/webaudio/blink/IRC_Composite_C_R0195-incl.cpp b/dom/media/webaudio/blink/IRC_Composite_C_R0195-incl.cpp @@ -18,8 +18,6 @@ * the listener. */ -#include "mozilla/ArrayUtils.h" - const int16_t irc_composite_c_r0195_p315[][256] = {/* IRC_Composite_C_R0195_T000_P315.wav */ {-37, 37, -38, 39, -39, 40, -41, 42, -42, 43, -43, diff --git a/dom/security/nsCSPParser.cpp b/dom/security/nsCSPParser.cpp @@ -9,7 +9,6 @@ #include <cstdint> #include <utility> -#include "mozilla/ArrayUtils.h" #include "mozilla/Preferences.h" #include "mozilla/StaticPrefs_dom.h" #include "mozilla/StaticPrefs_security.h" diff --git a/dom/smil/SMILKeySpline.h b/dom/smil/SMILKeySpline.h @@ -7,7 +7,6 @@ #ifndef DOM_SMIL_SMILKEYSPLINE_H_ #define DOM_SMIL_SMILKEYSPLINE_H_ -#include "mozilla/ArrayUtils.h" #include "mozilla/PodOperations.h" namespace mozilla { diff --git a/dom/svg/SVGAnimatedLength.cpp b/dom/svg/SVGAnimatedLength.cpp @@ -13,7 +13,6 @@ #include "SVGGeometryProperty.h" #include "SVGLengthSMILType.h" #include "mozAutoDocUpdate.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/GeckoBindings.h" #include "mozilla/Maybe.h" #include "mozilla/PresShell.h" diff --git a/dom/svg/SVGAnimatedOrient.cpp b/dom/svg/SVGAnimatedOrient.cpp @@ -13,7 +13,6 @@ #include "SVGAttrTearoffTable.h" #include "SVGOrientSMILType.h" #include "mozAutoDocUpdate.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Maybe.h" #include "mozilla/SMILValue.h" #include "mozilla/dom/SVGMarkerElement.h" diff --git a/dom/svg/SVGAnimatedPreserveAspectRatio.cpp b/dom/svg/SVGAnimatedPreserveAspectRatio.cpp @@ -9,7 +9,6 @@ #include "SMILEnumType.h" #include "SVGAttrTearoffTable.h" #include "mozAutoDocUpdate.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Maybe.h" #include "mozilla/SMILValue.h" #include "mozilla/SVGContentUtils.h" diff --git a/dom/svg/SVGClipPathElement.cpp b/dom/svg/SVGClipPathElement.cpp @@ -6,7 +6,6 @@ #include "mozilla/dom/SVGClipPathElement.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/dom/SVGClipPathElementBinding.h" #include "mozilla/dom/SVGUnitTypesBinding.h" #include "nsGkAtoms.h" diff --git a/dom/svg/SVGElement.cpp b/dom/svg/SVGElement.cpp @@ -27,7 +27,6 @@ #include "SVGMotionSMILAttr.h" #include "mozAutoDocUpdate.h" #include "mozilla/AlreadyAddRefed.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/DebugOnly.h" #include "mozilla/DeclarationBlock.h" #include "mozilla/EventListenerManager.h" diff --git a/dom/svg/SVGFilterElement.cpp b/dom/svg/SVGFilterElement.cpp @@ -7,7 +7,6 @@ #include "mozilla/dom/SVGFilterElement.h" #include "mozilla/AlreadyAddRefed.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/dom/SVGFilterElementBinding.h" #include "mozilla/dom/SVGLengthBinding.h" #include "mozilla/dom/SVGUnitTypesBinding.h" diff --git a/dom/svg/SVGFilters.cpp b/dom/svg/SVGFilters.cpp @@ -14,7 +14,6 @@ #include "SVGAnimatedNumberPair.h" #include "SVGAnimatedString.h" #include "SVGNumberList.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/ComputedStyle.h" #include "mozilla/SVGContentUtils.h" #include "mozilla/SVGFilterInstance.h" diff --git a/dom/svg/SVGForeignObjectElement.cpp b/dom/svg/SVGForeignObjectElement.cpp @@ -8,7 +8,6 @@ #include "SVGGeometryProperty.h" #include "mozilla/AlreadyAddRefed.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/dom/SVGDocument.h" #include "mozilla/dom/SVGForeignObjectElementBinding.h" #include "mozilla/dom/SVGLengthBinding.h" diff --git a/dom/svg/SVGGradientElement.cpp b/dom/svg/SVGGradientElement.cpp @@ -8,7 +8,6 @@ #include "DOMSVGAnimatedTransformList.h" #include "mozilla/AlreadyAddRefed.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/dom/SVGElement.h" #include "mozilla/dom/SVGGradientElementBinding.h" #include "mozilla/dom/SVGLengthBinding.h" diff --git a/dom/svg/SVGImageElement.cpp b/dom/svg/SVGImageElement.cpp @@ -8,7 +8,6 @@ #include "SVGGeometryProperty.h" #include "imgINotificationObserver.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/dom/Document.h" #include "mozilla/dom/FetchPriority.h" #include "mozilla/dom/SVGImageElementBinding.h" diff --git a/dom/svg/SVGMPathElement.cpp b/dom/svg/SVGMPathElement.cpp @@ -6,7 +6,6 @@ #include "mozilla/dom/SVGMPathElement.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/SVGObserverUtils.h" #include "mozilla/dom/Document.h" #include "mozilla/dom/SVGAnimateMotionElement.h" diff --git a/dom/svg/SVGMarkerElement.cpp b/dom/svg/SVGMarkerElement.cpp @@ -9,7 +9,6 @@ #include "DOMSVGAngle.h" #include "SVGAnimatedPreserveAspectRatio.h" #include "SVGContentUtils.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/RefPtr.h" #include "mozilla/dom/SVGGeometryElement.h" #include "mozilla/dom/SVGLengthBinding.h" diff --git a/dom/svg/SVGMaskElement.cpp b/dom/svg/SVGMaskElement.cpp @@ -7,7 +7,6 @@ #include "mozilla/dom/SVGMaskElement.h" #include "mozilla/AlreadyAddRefed.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/dom/SVGLengthBinding.h" #include "mozilla/dom/SVGMaskElementBinding.h" #include "mozilla/dom/SVGUnitTypesBinding.h" diff --git a/dom/svg/SVGNumberList.cpp b/dom/svg/SVGNumberList.cpp @@ -7,7 +7,6 @@ #include "SVGNumberList.h" #include "SVGContentUtils.h" -#include "mozilla/ArrayUtils.h" #include "nsCharSeparatedTokenizer.h" #include "nsContentUtils.h" #include "nsString.h" diff --git a/dom/svg/SVGPathSegUtils.cpp b/dom/svg/SVGPathSegUtils.cpp @@ -8,7 +8,6 @@ #include "SVGArcConverter.h" #include "gfx2DGlue.h" -#include "mozilla/ArrayUtils.h" // std::size #include "mozilla/ServoStyleConsts.h" // StylePathCommand #include "nsMathUtils.h" #include "nsTextFormatter.h" diff --git a/dom/svg/SVGPatternElement.cpp b/dom/svg/SVGPatternElement.cpp @@ -8,7 +8,6 @@ #include "DOMSVGAnimatedTransformList.h" #include "mozilla/AlreadyAddRefed.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/dom/SVGLengthBinding.h" #include "mozilla/dom/SVGPatternElementBinding.h" #include "mozilla/dom/SVGUnitTypesBinding.h" diff --git a/dom/svg/SVGPointList.cpp b/dom/svg/SVGPointList.cpp @@ -7,7 +7,6 @@ #include "SVGPointList.h" #include "SVGContentUtils.h" -#include "mozilla/ArrayUtils.h" #include "nsCharSeparatedTokenizer.h" #include "nsContentUtils.h" #include "nsTextFormatter.h" diff --git a/dom/svg/SVGTextPositioningElement.cpp b/dom/svg/SVGTextPositioningElement.cpp @@ -10,7 +10,6 @@ #include "DOMSVGAnimatedNumberList.h" #include "SVGAnimatedLengthList.h" #include "SVGContentUtils.h" -#include "mozilla/ArrayUtils.h" namespace mozilla::dom { diff --git a/dom/svg/SVGTransformListParser.cpp b/dom/svg/SVGTransformListParser.cpp @@ -8,7 +8,6 @@ #include "SVGContentUtils.h" #include "SVGTransform.h" -#include "mozilla/ArrayUtils.h" #include "nsAtom.h" #include "nsGkAtoms.h" diff --git a/dom/svg/SVGUseElement.cpp b/dom/svg/SVGUseElement.cpp @@ -7,7 +7,6 @@ #include "mozilla/dom/SVGUseElement.h" #include "SVGGeometryProperty.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/ErrorResult.h" #include "mozilla/SVGObserverUtils.h" #include "mozilla/SVGUseFrame.h" diff --git a/dom/svg/SVGViewportElement.cpp b/dom/svg/SVGViewportElement.cpp @@ -13,7 +13,6 @@ #include "DOMSVGLength.h" #include "DOMSVGPoint.h" #include "mozilla/AlreadyAddRefed.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/ContentEvents.h" #include "mozilla/EventDispatcher.h" #include "mozilla/Likely.h" diff --git a/dom/webbrowserpersist/nsWebBrowserPersist.cpp b/dom/webbrowserpersist/nsWebBrowserPersist.cpp @@ -9,7 +9,6 @@ #include "ReferrerInfo.h" #include "WebBrowserPersistLocalDocument.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Mutex.h" #include "mozilla/Printf.h" #include "mozilla/TextUtils.h" diff --git a/dom/workers/RuntimeService.cpp b/dom/workers/RuntimeService.cpp @@ -20,7 +20,6 @@ #include "js/experimental/CTypes.h" // JS::CTypesActivityType, JS::SetCTypesActivityCallback #include "js/friend/ErrorMessages.h" // js::GetErrorMessage, JSMSG_* #include "jsfriendapi.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Atomics.h" #include "mozilla/Attributes.h" #include "mozilla/CycleCollectedJSContext.h" diff --git a/dom/xhr/XMLHttpRequestMainThread.cpp b/dom/xhr/XMLHttpRequestMainThread.cpp @@ -20,7 +20,6 @@ #include "js/Value.h" // JS::{,Undefined}Value #include "jsapi.h" // JS_ClearPendingException #include "mozilla/AppShutdown.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Attributes.h" #include "mozilla/BasePrincipal.h" #include "mozilla/CheckedInt.h" diff --git a/dom/xhr/XMLHttpRequestWorker.cpp b/dom/xhr/XMLHttpRequestWorker.cpp @@ -16,7 +16,6 @@ #include "js/TracingAPI.h" #include "js/Value.h" // JS::{Undefined,}Value #include "jsfriendapi.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/HoldDropJSObjects.h" #include "mozilla/UniquePtr.h" #include "mozilla/dom/Event.h" diff --git a/dom/xslt/xpath/txCoreFunctionCall.cpp b/dom/xslt/xpath/txCoreFunctionCall.cpp @@ -5,7 +5,6 @@ #include <math.h> -#include "mozilla/ArrayUtils.h" #include "mozilla/FloatingPoint.h" #include "nsGkAtoms.h" #include "nsWhitespaceTokenizer.h" diff --git a/dom/xslt/xslt/txEXSLTFunctions.cpp b/dom/xslt/xslt/txEXSLTFunctions.cpp @@ -3,7 +3,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/ArrayUtils.h" #include "mozilla/EnumeratedArray.h" #include "mozilla/EnumeratedRange.h" #include "mozilla/FloatingPoint.h" diff --git a/dom/xslt/xslt/txStylesheetCompileHandlers.cpp b/dom/xslt/xslt/txStylesheetCompileHandlers.cpp @@ -7,7 +7,6 @@ #include <utility> -#include "mozilla/ArrayUtils.h" #include "mozilla/FloatingPoint.h" #include "mozilla/UniquePtrExtensions.h" #include "nsGkAtoms.h" diff --git a/dom/xslt/xslt/txStylesheetCompiler.cpp b/dom/xslt/xslt/txStylesheetCompiler.cpp @@ -7,7 +7,6 @@ #include <utility> -#include "mozilla/ArrayUtils.h" #include "mozilla/UniquePtr.h" #include "mozilla/UniquePtrExtensions.h" #include "nsGkAtoms.h" diff --git a/dom/xslt/xslt/txXSLTNumber.cpp b/dom/xslt/xslt/txXSLTNumber.cpp @@ -9,7 +9,6 @@ #include <algorithm> -#include "mozilla/ArrayUtils.h" #include "nsGkAtoms.h" #include "txCore.h" #include "txExpr.h" diff --git a/dom/xul/nsXULContentUtils.cpp b/dom/xul/nsXULContentUtils.cpp @@ -12,7 +12,6 @@ #include "nsXULContentUtils.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/dom/Document.h" #include "mozilla/dom/Element.h" #include "mozilla/intl/Collator.h" diff --git a/editor/libeditor/EditorCommands.cpp b/editor/libeditor/EditorCommands.cpp @@ -5,7 +5,6 @@ #include "EditorCommands.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/EditorBase.h" #include "mozilla/FlushType.h" diff --git a/editor/libeditor/HTMLEditUtils.cpp b/editor/libeditor/HTMLEditUtils.cpp @@ -15,7 +15,6 @@ #include "HTMLEditHelpers.h" // for EditorInlineStyle #include "WSRunScanner.h" // for WSRunScanner -#include "mozilla/ArrayUtils.h" // for ArrayLength #include "mozilla/Assertions.h" // for MOZ_ASSERT, etc. #include "mozilla/Attributes.h" #include "mozilla/StaticPrefs_editor.h" // for StaticPrefs::editor_ diff --git a/editor/libeditor/HTMLEditorDataTransfer.cpp b/editor/libeditor/HTMLEditorDataTransfer.cpp @@ -37,7 +37,6 @@ #include "mozilla/dom/Selection.h" #include "mozilla/dom/StaticRange.h" #include "mozilla/dom/WorkerRef.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Attributes.h" #include "mozilla/Base64.h" #include "mozilla/BasicEvents.h" diff --git a/editor/libeditor/TextEditorDataTransfer.cpp b/editor/libeditor/TextEditorDataTransfer.cpp @@ -9,7 +9,6 @@ #include "HTMLEditor.h" #include "SelectionState.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/MouseEvents.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/DataTransfer.h" diff --git a/extensions/auth/nsAuthGSSAPI.cpp b/extensions/auth/nsAuthGSSAPI.cpp @@ -14,7 +14,6 @@ // // -#include "mozilla/ArrayUtils.h" #include "mozilla/IntegerPrintfMacros.h" #include "nsCOMPtr.h" diff --git a/gfx/gl/GLBlitHelper.cpp b/gfx/gl/GLBlitHelper.cpp @@ -15,7 +15,6 @@ #include "ImageContainer.h" #include "ScopedGLHelpers.h" #include "GLUploadHelpers.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Casting.h" #include "mozilla/Preferences.h" #include "mozilla/StaticPrefs_gfx.h" diff --git a/gfx/gl/GLContextProviderEGL.cpp b/gfx/gl/GLContextProviderEGL.cpp @@ -61,7 +61,6 @@ #include "GLContextProvider.h" #include "GLLibraryEGL.h" #include "GLLibraryLoader.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" #include "mozilla/StaticPrefs_gfx.h" diff --git a/gfx/layers/opengl/CompositorOGL.cpp b/gfx/layers/opengl/CompositorOGL.cpp @@ -16,7 +16,6 @@ #include "gfxPlatform.h" // for gfxPlatform #include "gfxRect.h" // for gfxRect #include "gfxUtils.h" // for gfxUtils, etc -#include "mozilla/ArrayUtils.h" // for ArrayLength #include "mozilla/Preferences.h" // for Preferences #include "mozilla/ProfilerLabels.h" #include "mozilla/StaticPrefs_gfx.h" diff --git a/gfx/src/nsColor.cpp b/gfx/src/nsColor.cpp @@ -4,8 +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/ArrayUtils.h" // for ArrayLength -#include "mozilla/mozalloc.h" // for operator delete, etc +#include "mozilla/mozalloc.h" // for operator delete, etc #include "mozilla/MathAlgorithms.h" #include "nsColor.h" diff --git a/gfx/src/nsFont.cpp b/gfx/src/nsFont.cpp @@ -14,7 +14,6 @@ #include "nsISupports.h" #include "nsUnicharUtils.h" #include "nscore.h" // for char16_t -#include "mozilla/ArrayUtils.h" #include "mozilla/gfx/2D.h" using namespace mozilla; diff --git a/gfx/tests/gtest/TestQcms.cpp b/gfx/tests/gtest/TestQcms.cpp @@ -7,7 +7,6 @@ #include "gtest/MozGTestBench.h" #include "gmock/gmock.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/UniquePtr.h" #include "mozilla/SSE.h" #include "mozilla/arm.h" diff --git a/gfx/tests/gtest/TestSkipChars.cpp b/gfx/tests/gtest/TestSkipChars.cpp @@ -7,7 +7,6 @@ #include "gtest/gtest.h" #include "gfxSkipChars.h" -#include "mozilla/ArrayUtils.h" static bool TestConstructor() { gfxSkipChars skipChars; diff --git a/gfx/thebes/gfxASurface.cpp b/gfx/thebes/gfxASurface.cpp @@ -4,7 +4,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "nsIMemoryReporter.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Base64.h" #include "mozilla/Attributes.h" #include "mozilla/MemoryReporting.h" diff --git a/gfx/thebes/gfxCoreTextShaper.cpp b/gfx/thebes/gfxCoreTextShaper.cpp @@ -3,7 +3,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/ArrayUtils.h" #include "gfxCoreTextShaper.h" #include "gfxMacFont.h" #include "gfxFontUtils.h" diff --git a/gfx/thebes/gfxDWriteFontList.cpp b/gfx/thebes/gfxDWriteFontList.cpp @@ -3,7 +3,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/ArrayUtils.h" #include "mozilla/FontPropertyTypes.h" #include "mozilla/MemoryReporting.h" #include "mozilla/intl/OSPreferences.h" diff --git a/gfx/thebes/gfxFT2FontList.cpp b/gfx/thebes/gfxFT2FontList.cpp @@ -3,7 +3,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/ArrayUtils.h" #include "mozilla/Base64.h" #include "mozilla/MemoryReporting.h" diff --git a/gfx/thebes/gfxFcPlatformFontList.cpp b/gfx/thebes/gfxFcPlatformFontList.cpp @@ -11,7 +11,6 @@ #include "gfxFT2Utils.h" #include "gfxPlatform.h" #include "nsPresContext.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/Preferences.h" diff --git a/gfx/thebes/gfxFontUtils.cpp b/gfx/thebes/gfxFontUtils.cpp @@ -3,8 +3,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/ArrayUtils.h" - #include "gfxFontUtils.h" #include "gfxFontEntry.h" #include "gfxFontVariations.h" diff --git a/gfx/thebes/gfxWindowsPlatform.cpp b/gfx/thebes/gfxWindowsPlatform.cpp @@ -9,7 +9,6 @@ #include "gfxWindowsPlatform.h" #include "cairo.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/layers/CompositorBridgeChild.h" #include "gfxBlur.h" diff --git a/gfx/vr/ipc/VRMessageUtils.h b/gfx/vr/ipc/VRMessageUtils.h @@ -9,7 +9,6 @@ #include "ipc/EnumSerializer.h" #include "ipc/IPCMessageUtils.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/GfxMessageUtils.h" #include "mozilla/dom/GamepadMessageUtils.h" #include "mozilla/ParamTraits_IsEnumCase.h" diff --git a/image/decoders/icon/nsIconURI.cpp b/image/decoders/icon/nsIconURI.cpp @@ -7,7 +7,6 @@ #include "nsIconURI.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/ipc/URIUtils.h" #include "mozilla/Sprintf.h" diff --git a/image/decoders/icon/win/nsIconChannel.cpp b/image/decoders/icon/win/nsIconChannel.cpp @@ -4,7 +4,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/ArrayUtils.h" #include "mozilla/BasePrincipal.h" #include "mozilla/Monitor.h" #include "mozilla/SyncRunnable.h" diff --git a/intl/locale/nsLanguageAtomService.cpp b/intl/locale/nsLanguageAtomService.cpp @@ -5,7 +5,6 @@ #include "nsLanguageAtomService.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Encoding.h" #include "mozilla/intl/Locale.h" #include "mozilla/intl/OSPreferences.h" diff --git a/intl/locale/tests/gtest/TestOSPreferences.cpp b/intl/locale/tests/gtest/TestOSPreferences.cpp @@ -4,7 +4,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "gtest/gtest.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/gtest/MozAssertions.h" #include "mozilla/Preferences.h" #include "mozilla/intl/LocaleService.h" diff --git a/intl/lwbrk/LineBreakCache.h b/intl/lwbrk/LineBreakCache.h @@ -10,7 +10,6 @@ #include "nsString.h" #include "nsTArray.h" #include "nsThreadUtils.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/MruCache.h" #include "mozilla/StaticPtr.h" #include "mozilla/intl/Segmenter.h" diff --git a/intl/lwbrk/LineBreaker.cpp b/intl/lwbrk/LineBreaker.cpp @@ -16,7 +16,6 @@ #include "nsTArray.h" #include "nsUnicodeProperties.h" #include "nsThreadUtils.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/CheckedInt.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/intl/Segmenter.h" diff --git a/intl/uconv/nsTextToSubURI.cpp b/intl/uconv/nsTextToSubURI.cpp @@ -7,7 +7,6 @@ #include "nsEscape.h" #include "nsTextToSubURI.h" #include "nsCRT.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Encoding.h" #include "mozilla/Preferences.h" #include "mozilla/TextUtils.h" diff --git a/intl/unicharutil/util/nsSpecialCasingData.cpp b/intl/unicharutil/util/nsSpecialCasingData.cpp @@ -6,8 +6,8 @@ by genSpecialCasingData.pl - do not edit! */ #include "nsSpecialCasingData.h" -#include "mozilla/ArrayUtils.h" // for ArrayLength #include <stdlib.h> // for bsearch +#include <array> /* SpecialCasing-16.0.0.txt */ /* Date: 2024-05-10, 22:49:00 GMT */ diff --git a/intl/unicharutil/util/nsUnicodeProperties.cpp b/intl/unicharutil/util/nsUnicodeProperties.cpp @@ -7,7 +7,6 @@ #include "nsUnicodeProperties.h" #include "nsUnicodePropertyData.cpp" -#include "mozilla/ArrayUtils.h" #include "mozilla/HashTable.h" #include "mozilla/intl/Segmenter.h" diff --git a/ipc/glue/IPCMessageUtilsSpecializations.h b/ipc/glue/IPCMessageUtilsSpecializations.h @@ -51,8 +51,7 @@ // XXX Includes that are only required by implementations which could be moved // to the cpp file. -#include "base/string_util.h" // for StringPrintf -#include "mozilla/ArrayUtils.h" // for ArrayLength +#include "base/string_util.h" // for StringPrintf #ifdef _MSC_VER # pragma warning(disable : 4800) diff --git a/ipc/glue/URIUtils.cpp b/ipc/glue/URIUtils.cpp @@ -6,7 +6,6 @@ #include "URIUtils.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/dom/BlobURL.h" #include "mozilla/net/DefaultURI.h" diff --git a/ipc/glue/WindowsMessageLoop.cpp b/ipc/glue/WindowsMessageLoop.cpp @@ -14,7 +14,6 @@ #include "nsString.h" #include "WinUtils.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/dom/JSExecutionManager.h" #include "mozilla/gfx/Logging.h" #include "mozilla/ipc/ProtocolUtils.h" diff --git a/ipc/mscom/Utils.cpp b/ipc/mscom/Utils.cpp @@ -9,7 +9,6 @@ # include "mozilla/dom/ContentChild.h" #endif -#include "mozilla/ArrayUtils.h" #include "mozilla/mscom/COMWrappers.h" #include "mozilla/DebugOnly.h" #include "mozilla/mscom/Utils.h" diff --git a/js/src/shell/OSObject.cpp b/js/src/shell/OSObject.cpp @@ -8,7 +8,6 @@ #include "shell/OSObject.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/ScopeExit.h" #include "mozilla/TextUtils.h" diff --git a/js/src/vm/JSFunction.cpp b/js/src/vm/JSFunction.cpp @@ -10,7 +10,6 @@ #include "vm/JSFunction-inl.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Maybe.h" #include "mozilla/Range.h" diff --git a/js/xpconnect/loader/ScriptPreloader.cpp b/js/xpconnect/loader/ScriptPreloader.cpp @@ -13,7 +13,6 @@ #include "mozilla/URLPreloader.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Components.h" #include "mozilla/DebugOnly.h" #include "mozilla/FileUtils.h" diff --git a/js/xpconnect/loader/URLPreloader.cpp b/js/xpconnect/loader/URLPreloader.cpp @@ -8,7 +8,6 @@ #include "mozilla/URLPreloader.h" #include "mozilla/loader/AutoMemMap.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/FileUtils.h" #include "mozilla/IOBuffers.h" diff --git a/js/xpconnect/loader/mozJSModuleLoader.cpp b/js/xpconnect/loader/mozJSModuleLoader.cpp @@ -7,7 +7,6 @@ #include "ScriptLoadRequest.h" #include "mozilla/Assertions.h" // MOZ_ASSERT, MOZ_ASSERT_IF #include "mozilla/Attributes.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/RefPtr.h" // RefPtr, mozilla::StaticRefPtr #include "mozilla/Utf8.h" // mozilla::Utf8Unit diff --git a/js/xpconnect/src/XPCConvert.cpp b/js/xpconnect/src/XPCConvert.cpp @@ -6,7 +6,6 @@ /* Data conversion between native and JavaScript types. */ -#include "mozilla/ArrayUtils.h" #include "mozilla/Range.h" #include "mozilla/Sprintf.h" diff --git a/js/xpconnect/src/xpcprivate.h b/js/xpconnect/src/xpcprivate.h @@ -68,7 +68,6 @@ #ifndef xpcprivate_h___ #define xpcprivate_h___ -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/Atomics.h" #include "mozilla/Attributes.h" diff --git a/layout/base/PresShell.cpp b/layout/base/PresShell.cpp @@ -30,7 +30,6 @@ #include "js/GCAPI.h" #include "mozilla/AccessibleCaretEventHub.h" #include "mozilla/AnimationEventDispatcher.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/Attributes.h" #include "mozilla/CaretAssociationHint.h" diff --git a/layout/base/nsLayoutUtils.cpp b/layout/base/nsLayoutUtils.cpp @@ -33,7 +33,6 @@ #include "imgIContainer.h" #include "imgIRequest.h" #include "mozilla/AccessibleCaretEventHub.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Baseline.h" #include "mozilla/BasicEvents.h" #include "mozilla/ClearOnShutdown.h" diff --git a/layout/base/nsLayoutUtils.h b/layout/base/nsLayoutUtils.h @@ -13,7 +13,6 @@ #include "LayoutConstants.h" #include "Units.h" #include "gfxPoint.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/LayoutStructs.h" #include "mozilla/LookAndFeel.h" #include "mozilla/Maybe.h" diff --git a/layout/base/nsPresArena.cpp b/layout/base/nsPresArena.cpp @@ -11,7 +11,6 @@ #include <inttypes.h> -#include "mozilla/ArrayUtils.h" #include "mozilla/ComputedStyle.h" #include "mozilla/ComputedStyleInlines.h" #include "mozilla/Poison.h" diff --git a/layout/base/nsPresContext.cpp b/layout/base/nsPresContext.cpp @@ -8,7 +8,6 @@ #include "nsPresContext.h" -#include "mozilla/ArrayUtils.h" #include "nsPresContextInlines.h" #if defined(MOZ_WIDGET_ANDROID) # include "mozilla/AsyncEventDispatcher.h" diff --git a/layout/base/nsRefreshDriver.cpp b/layout/base/nsRefreshDriver.cpp @@ -38,7 +38,6 @@ #include "imgRequest.h" #include "jsapi.h" #include "mozilla/AnimationEventDispatcher.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/AutoRestore.h" #include "mozilla/BasePrincipal.h" diff --git a/layout/generic/MathMLTextRunFactory.cpp b/layout/generic/MathMLTextRunFactory.cpp @@ -6,7 +6,6 @@ #include "MathMLTextRunFactory.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/BinarySearch.h" #include "mozilla/ComputedStyle.h" #include "mozilla/ComputedStyleInlines.h" diff --git a/layout/generic/TextOverflow.cpp b/layout/generic/TextOverflow.cpp @@ -11,7 +11,6 @@ // Please maintain alphabetical order below #include "TextDrawTarget.h" #include "gfxContext.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Likely.h" #include "mozilla/PresShell.h" #include "mozilla/ScrollContainerFrame.h" diff --git a/layout/inspector/InspectorUtils.cpp b/layout/inspector/InspectorUtils.cpp @@ -10,7 +10,6 @@ #include "Units.h" #include "gfxTextRun.h" #include "inLayoutUtils.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/DeclarationBlock.h" #include "mozilla/EventStateManager.h" #include "mozilla/PresShell.h" diff --git a/layout/painting/ActiveLayerTracker.cpp b/layout/painting/ActiveLayerTracker.cpp @@ -8,7 +8,6 @@ #include "gfx2DGlue.h" #include "mozilla/AnimationUtils.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/EffectSet.h" #include "mozilla/MotionPathUtils.h" #include "mozilla/PodOperations.h" diff --git a/layout/painting/nsCSSRendering.cpp b/layout/painting/nsCSSRendering.cpp @@ -23,7 +23,6 @@ #include "gfxGradientCache.h" #include "gfxUtils.h" #include "imgIContainer.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/ComputedStyle.h" #include "mozilla/DebugOnly.h" #include "mozilla/HashFunctions.h" diff --git a/layout/painting/nsCSSRenderingBorders.cpp b/layout/painting/nsCSSRenderingBorders.cpp @@ -15,7 +15,6 @@ #include "gfx2DGlue.h" #include "gfxGradientCache.h" #include "gfxUtils.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/ProfilerLabels.h" #include "mozilla/Range.h" #include "mozilla/gfx/2D.h" diff --git a/layout/painting/nsCSSRenderingGradients.cpp b/layout/painting/nsCSSRenderingGradients.cpp @@ -15,7 +15,6 @@ #include "gfxContext.h" #include "gfxGradientCache.h" #include "gfxUtils.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/ComputedStyle.h" #include "mozilla/DebugOnly.h" #include "mozilla/MathAlgorithms.h" diff --git a/layout/style/Loader.cpp b/layout/style/Loader.cpp @@ -10,7 +10,6 @@ #include "MainThreadUtils.h" #include "ReferrerInfo.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/AsyncEventDispatcher.h" #include "mozilla/AutoRestore.h" #include "mozilla/ConsoleReportCollector.h" diff --git a/layout/style/StyleAnimationValue.cpp b/layout/style/StyleAnimationValue.cpp @@ -11,7 +11,6 @@ #include "gfx2DGlue.h" #include "gfxMatrix.h" #include "gfxQuaternion.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/ComputedStyle.h" #include "mozilla/ComputedStyleInlines.h" #include "mozilla/Likely.h" diff --git a/layout/style/nsCSSAnonBoxes.cpp b/layout/style/nsCSSAnonBoxes.cpp @@ -8,7 +8,6 @@ #include "nsCSSAnonBoxes.h" -#include "mozilla/ArrayUtils.h" #include "nsGkAtomConsts.h" #include "nsStaticAtomUtils.h" diff --git a/layout/style/nsCSSProps.cpp b/layout/style/nsCSSProps.cpp @@ -12,7 +12,6 @@ #include "nsCSSProps.h" #include "gfxPlatform.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Casting.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/LookAndFeel.h" // for system colors diff --git a/layout/style/nsCSSPseudoElements.cpp b/layout/style/nsCSSPseudoElements.cpp @@ -8,7 +8,6 @@ #include "nsCSSPseudoElements.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/ServoBindings.h" #include "nsCSSAnonBoxes.h" #include "nsDOMString.h" diff --git a/layout/style/nsComputedDOMStyle.cpp b/layout/style/nsComputedDOMStyle.cpp @@ -11,7 +11,6 @@ #include <algorithm> #include "mozilla/AppUnits.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/ComputedStyle.h" #include "mozilla/ComputedStyleInlines.h" #include "mozilla/EffectSet.h" diff --git a/layout/style/test/ListCSSProperties.cpp b/layout/style/test/ListCSSProperties.cpp @@ -9,7 +9,7 @@ #include <stdlib.h> #include <string.h> -#include "mozilla/ArrayUtils.h" +#include <array> // Do not consider properties not valid in style rules #define CSS_PROP_LIST_EXCLUDE_NOT_IN_STYLE diff --git a/layout/svg/SVGGeometryFrame.cpp b/layout/svg/SVGGeometryFrame.cpp @@ -14,7 +14,6 @@ #include "gfxContext.h" #include "gfxPlatform.h" #include "gfxUtils.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/PresShell.h" #include "mozilla/RefPtr.h" #include "mozilla/SVGContentUtils.h" diff --git a/media/psshparser/gtest/TestPsshParser.cpp b/media/psshparser/gtest/TestPsshParser.cpp @@ -10,7 +10,6 @@ #include <vector> #include "psshparser/PsshParser.h" -#include "mozilla/ArrayUtils.h" using namespace std; diff --git a/memory/build/mozjemalloc.cpp b/memory/build/mozjemalloc.cpp @@ -138,7 +138,6 @@ #include "mozilla/Atomics.h" #include "mozilla/Alignment.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/CheckedInt.h" #include "mozilla/DebugOnly.h" diff --git a/mfbt/WeakPtr.h b/mfbt/WeakPtr.h @@ -71,7 +71,6 @@ #ifndef mozilla_WeakPtr_h #define mozilla_WeakPtr_h -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/Attributes.h" #include "mozilla/Maybe.h" diff --git a/mfbt/tests/TestAlgorithm.cpp b/mfbt/tests/TestAlgorithm.cpp @@ -5,7 +5,6 @@ * You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "mozilla/Algorithm.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include <iterator> diff --git a/mfbt/tests/TestEnumeratedArray.cpp b/mfbt/tests/TestEnumeratedArray.cpp @@ -4,7 +4,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/ArrayUtils.h" #include "mozilla/EnumeratedArray.h" #include "mozilla/EnumTypeTraits.h" diff --git a/mfbt/tests/TestSplayTree.cpp b/mfbt/tests/TestSplayTree.cpp @@ -4,10 +4,11 @@ * 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/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/SplayTree.h" +#include <array> + using mozilla::SplayTree; using mozilla::SplayTreeNode; diff --git a/mfbt/tests/TestUtf8.cpp b/mfbt/tests/TestUtf8.cpp @@ -8,7 +8,6 @@ #include "mozilla/Utf8.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/EnumSet.h" #include "mozilla/IntegerRange.h" diff --git a/modules/libpref/Preferences.cpp b/modules/libpref/Preferences.cpp @@ -17,7 +17,6 @@ #include "mozilla/AppShutdown.h" #include "mozilla/ArenaAllocatorExtensions.h" #include "mozilla/ArenaAllocator.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Attributes.h" #include "mozilla/Components.h" #include "mozilla/dom/PContent.h" diff --git a/modules/libpref/test/gtest/Parser.cpp b/modules/libpref/test/gtest/Parser.cpp @@ -5,7 +5,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "gtest/gtest.h" -#include "mozilla/ArrayUtils.h" #include "Preferences.h" using namespace mozilla; diff --git a/mozglue/baseprofiler/core/platform.cpp b/mozglue/baseprofiler/core/platform.cpp @@ -37,7 +37,6 @@ #include <string_view> // #include "memory_hooks.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/AutoProfilerLabel.h" #include "mozilla/BaseAndGeckoProfilerDetail.h" #include "mozilla/BaseProfilerDetail.h" diff --git a/mozglue/misc/NativeNt.h b/mozglue/misc/NativeNt.h @@ -15,7 +15,6 @@ #include <algorithm> #include <utility> -#include "mozilla/ArrayUtils.h" #include "mozilla/Attributes.h" #include "mozilla/CheckedArithmetic.h" #include "mozilla/DebugOnly.h" diff --git a/mozglue/misc/StackWalk.cpp b/mozglue/misc/StackWalk.cpp @@ -7,7 +7,6 @@ /* API for getting a stack trace of the C/C++ stack on the current thread */ #include "mozilla/Array.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Atomics.h" #include "mozilla/Attributes.h" #include "mozilla/StackWalk.h" @@ -108,7 +107,6 @@ class FrameSkipper { # include <process.h> # include <stdio.h> # include <malloc.h> -# include "mozilla/ArrayUtils.h" # include "mozilla/Atomics.h" # include "mozilla/StackWalk_windows.h" # include "mozilla/WindowsVersion.h" diff --git a/mozglue/misc/decimal/moz-decimal-utils.h b/mozglue/misc/decimal/moz-decimal-utils.h @@ -11,7 +11,6 @@ // not include it into any file other than Decimal.cpp. #include "double-conversion/double-conversion.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Casting.h" #include "mozilla/FloatingPoint.h" #include "mozilla/Span.h" diff --git a/mozglue/tests/gtest/TestFmt.cpp b/mozglue/tests/gtest/TestFmt.cpp @@ -7,7 +7,6 @@ #include "gtest/gtest.h" #include "fmt/format.h" #include "fmt/xchar.h" -#include "mozilla/ArrayUtils.h" #include "nsTArray.h" #include "nsFmtString.h" #include "nsString.h" diff --git a/netwerk/base/nsProtocolProxyService.cpp b/netwerk/base/nsProtocolProxyService.cpp @@ -5,7 +5,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "SimpleChannel.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Attributes.h" #include "mozilla/AutoRestore.h" diff --git a/netwerk/dns/DNS.cpp b/netwerk/dns/DNS.cpp @@ -6,7 +6,6 @@ #include "mozilla/net/DNS.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/mozalloc.h" #include "mozilla/StaticPrefs_network.h" diff --git a/netwerk/dns/nsEffectiveTLDService.cpp b/netwerk/dns/nsEffectiveTLDService.cpp @@ -8,7 +8,6 @@ // complete description of the expected file format and parsing rules, see // http://wiki.mozilla.org/Gecko:Effective_TLD_Service -#include "mozilla/ArrayUtils.h" #include "mozilla/Components.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/HashFunctions.h" diff --git a/netwerk/dns/nsIDNService.cpp b/netwerk/dns/nsIDNService.cpp @@ -15,7 +15,6 @@ #include "nsUnicharUtils.h" #include "nsUnicodeProperties.h" #include "harfbuzz/hb.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Casting.h" #include "mozilla/StaticPrefs_network.h" #include "mozilla/TextUtils.h" diff --git a/netwerk/protocol/about/nsAboutProtocolHandler.cpp b/netwerk/protocol/about/nsAboutProtocolHandler.cpp @@ -4,7 +4,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "base/basictypes.h" -#include "mozilla/ArrayUtils.h" #include "nsAboutProtocolHandler.h" #include "nsIURI.h" diff --git a/netwerk/streamconv/converters/nsDirIndexParser.cpp b/netwerk/streamconv/converters/nsDirIndexParser.cpp @@ -7,7 +7,6 @@ #include "nsDirIndexParser.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/Encoding.h" #include "mozilla/StaticPtr.h" diff --git a/netwerk/wifi/nsWifiAccessPoint.h b/netwerk/wifi/nsWifiAccessPoint.h @@ -11,7 +11,6 @@ #include "nsString.h" #include "nsCOMArray.h" -#include "mozilla/ArrayUtils.h" // ArrayLength #include "mozilla/Attributes.h" #include "mozilla/Sprintf.h" diff --git a/parser/html/nsHtml5NamedCharacters.cpp b/parser/html/nsHtml5NamedCharacters.cpp @@ -22,7 +22,6 @@ #define nsHtml5NamedCharacters_cpp_ #include "jArray.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Logging.h" #include "nsDebug.h" #include "nscore.h" diff --git a/parser/htmlparser/nsExpatDriver.cpp b/parser/htmlparser/nsExpatDriver.cpp @@ -29,7 +29,6 @@ #include "nsXPCOMCIDInternal.h" #include "nsUnicharInputStream.h" #include "nsContentUtils.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/BasePrincipal.h" #include "mozilla/IntegerTypeTraits.h" #include "mozilla/NullPrincipal.h" diff --git a/security/manager/ssl/AppTrustDomain.cpp b/security/manager/ssl/AppTrustDomain.cpp @@ -13,7 +13,6 @@ #include "certt.h" // } #include "certdb.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Casting.h" #include "mozilla/Logging.h" #include "mozilla/Preferences.h" diff --git a/security/manager/ssl/EnterpriseRoots.cpp b/security/manager/ssl/EnterpriseRoots.cpp @@ -7,7 +7,6 @@ #include "EnterpriseRoots.h" #include "PKCS11ModuleDB.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/IntegerPrintfMacros.h" #include "mozilla/Casting.h" #include "mozilla/Logging.h" diff --git a/security/manager/ssl/PublicKeyPinningService.cpp b/security/manager/ssl/PublicKeyPinningService.cpp @@ -5,7 +5,6 @@ #include "PublicKeyPinningService.h" #include "RootCertificateTelemetryUtils.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Base64.h" #include "mozilla/BinarySearch.h" #include "mozilla/Casting.h" diff --git a/security/manager/ssl/RootCertificateTelemetryUtils.cpp b/security/manager/ssl/RootCertificateTelemetryUtils.cpp @@ -9,7 +9,6 @@ #include "PKCS11ModuleDB.h" #include "RootHashes.inc" // Note: Generated by genRootCAHashes.js #include "ScopedNSSTypes.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Logging.h" #include "nsINSSComponent.h" #include "nsServiceManagerUtils.h" diff --git a/security/manager/ssl/nsNSSCallbacks.cpp b/security/manager/ssl/nsNSSCallbacks.cpp @@ -10,7 +10,6 @@ #include "PSMRunnable.h" #include "ScopedNSSTypes.h" #include "SharedCertVerifier.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/Casting.h" #include "mozilla/Logging.h" diff --git a/security/manager/ssl/nsNSSComponent.cpp b/security/manager/ssl/nsNSSComponent.cpp @@ -19,7 +19,6 @@ #include "certdb.h" #include "mozilla/AppShutdown.h" #include "mozilla/Atomics.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/Base64.h" #include "mozilla/Casting.h" diff --git a/security/manager/ssl/tests/unit/tlsserver/cmd/GenerateOCSPResponse.cpp b/security/manager/ssl/tests/unit/tlsserver/cmd/GenerateOCSPResponse.cpp @@ -13,8 +13,6 @@ #include <string> #include <vector> -#include "mozilla/ArrayUtils.h" - #include "cert.h" #include "nspr.h" #include "nss.h" diff --git a/security/sandbox/linux/SandboxInfo.cpp b/security/sandbox/linux/SandboxInfo.cpp @@ -18,7 +18,6 @@ #include "base/posix/eintr_wrapper.h" #include "mozilla/Assertions.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/SandboxSettings.h" #include "sandbox/linux/system_headers/linux_seccomp.h" #include "sandbox/linux/system_headers/linux_syscalls.h" diff --git a/security/sandbox/linux/SandboxProfiler.h b/security/sandbox/linux/SandboxProfiler.h @@ -19,8 +19,6 @@ #include "mozilla/ProfileChunkedBuffer.h" #include "mozilla/ProfilerState.h" -#include "mozilla/ArrayUtils.h" - #include "mozilla/BoundedMPSCQueue.h" #if defined(HAVE_REPORT_UPROFILER_PARENT) && \ diff --git a/security/sandbox/linux/launch/SandboxLaunch.cpp b/security/sandbox/linux/launch/SandboxLaunch.cpp @@ -25,7 +25,6 @@ #include "base/eintr_wrapper.h" #include "base/strings/safe_sprintf.h" #include "mozilla/Array.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/Attributes.h" #include "mozilla/Preferences.h" diff --git a/storage/SQLCollations.cpp b/storage/SQLCollations.cpp @@ -4,7 +4,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/ArrayUtils.h" #include "mozilla/intl/Collator.h" #include "SQLCollations.h" diff --git a/storage/mozStorageSQLFunctions.cpp b/storage/mozStorageSQLFunctions.cpp @@ -4,8 +4,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/ArrayUtils.h" - #include "mozStorageSQLFunctions.h" #include "nsTArray.h" #include "nsUnicharUtils.h" diff --git a/storage/test/gtest/test_binding_params.cpp b/storage/test/gtest/test_binding_params.cpp @@ -6,7 +6,6 @@ #include "storage_test_harness.h" -#include "mozilla/ArrayUtils.h" #include "mozStorageHelper.h" using namespace mozilla; diff --git a/toolkit/components/aboutthirdparty/tests/gtest/TestAboutThirdParty.cpp b/toolkit/components/aboutthirdparty/tests/gtest/TestAboutThirdParty.cpp @@ -8,7 +8,6 @@ #include "../../AboutThirdPartyUtils.h" #include "mozilla/AboutThirdParty.h" -#include "mozilla/ArrayUtils.h" #include "nsTArray.h" using namespace mozilla; diff --git a/toolkit/components/backgroundhangmonitor/BackgroundHangMonitor.cpp b/toolkit/components/backgroundhangmonitor/BackgroundHangMonitor.cpp @@ -12,7 +12,6 @@ #include "GeckoProfiler.h" #include "HangDetails.h" #include "ThreadStackHelper.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/CPUUsageWatcher.h" #include "mozilla/LinkedList.h" #include "mozilla/Monitor.h" diff --git a/toolkit/components/contentanalysis/tests/gtest/TestContentAnalysisAgent.cpp b/toolkit/components/contentanalysis/tests/gtest/TestContentAnalysisAgent.cpp @@ -4,7 +4,6 @@ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ #include "gtest/gtest.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/CmdLineAndEnvUtils.h" #include "content_analysis/sdk/analysis_client.h" diff --git a/toolkit/components/contentanalysis/tests/gtest/TestContentAnalysisMisbehaving.cpp b/toolkit/components/contentanalysis/tests/gtest/TestContentAnalysisMisbehaving.cpp @@ -4,7 +4,6 @@ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ #include "gtest/gtest.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/CmdLineAndEnvUtils.h" #include "content_analysis/sdk/analysis_client.h" diff --git a/toolkit/components/mediasniffer/nsMediaSniffer.cpp b/toolkit/components/mediasniffer/nsMediaSniffer.cpp @@ -5,7 +5,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "ADTSDemuxer.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Logging.h" #include "mozilla/ModuleUtils.h" #include "mozilla/ScopeExit.h" diff --git a/toolkit/components/places/Database.cpp b/toolkit/components/places/Database.cpp @@ -2,7 +2,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/ArrayUtils.h" #include "mozilla/Attributes.h" #include "mozilla/DebugOnly.h" #include "mozilla/ScopeExit.h" diff --git a/toolkit/components/places/nsFaviconService.cpp b/toolkit/components/places/nsFaviconService.cpp @@ -25,7 +25,6 @@ #include "plbase64.h" #include "nsIClassInfoImpl.h" #include "mozilla/AppShutdown.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/LoadInfo.h" #include "mozilla/NullPrincipal.h" #include "mozilla/Preferences.h" diff --git a/toolkit/components/remote/nsXRemoteClient.cpp b/toolkit/components/remote/nsXRemoteClient.cpp @@ -7,7 +7,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "nsDebug.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/IntegerPrintfMacros.h" #include "mozilla/Sprintf.h" #include "nsXRemoteClient.h" diff --git a/toolkit/components/remote/nsXRemoteServer.cpp b/toolkit/components/remote/nsXRemoteServer.cpp @@ -5,8 +5,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/ArrayUtils.h" - #include "nsXRemoteServer.h" #include "nsCOMPtr.h" #include "nsICommandLine.h" diff --git a/toolkit/components/reputationservice/ApplicationReputation.cpp b/toolkit/components/reputationservice/ApplicationReputation.cpp @@ -27,7 +27,6 @@ #include "nsIX509Cert.h" #include "nsIX509CertDB.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/BasePrincipal.h" #include "mozilla/Components.h" #include "mozilla/ErrorNames.h" diff --git a/toolkit/components/reputationservice/test/gtest/TestExecutableLists.cpp b/toolkit/components/reputationservice/test/gtest/TestExecutableLists.cpp @@ -2,7 +2,6 @@ * http://creativecommons.org/publicdomain/zero/3.0/ */ #include "gtest/gtest.h" -#include "mozilla/ArrayUtils.h" #include "nsLocalFileCommon.h" #include "ApplicationReputation.h" diff --git a/toolkit/components/terminator/nsTerminator.cpp b/toolkit/components/terminator/nsTerminator.cpp @@ -38,7 +38,6 @@ #endif #include "mozilla/AppShutdown.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Atomics.h" #include "mozilla/DebugOnly.h" #include "mozilla/IntentionalCrash.h" diff --git a/toolkit/components/url-classifier/LookupCache.cpp b/toolkit/components/url-classifier/LookupCache.cpp @@ -8,7 +8,6 @@ #include "HashStore.h" #include "nsIFileStreams.h" #include "nsISeekableStream.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/glean/UrlClassifierMetrics.h" #include "mozilla/Logging.h" #include "nsNetUtil.h" diff --git a/toolkit/components/url-classifier/tests/gtest/TestChunkSet.cpp b/toolkit/components/url-classifier/tests/gtest/TestChunkSet.cpp @@ -9,7 +9,6 @@ #include <set> #include "ChunkSet.h" -#include "mozilla/ArrayUtils.h" #include "Common.h" diff --git a/toolkit/components/url-classifier/tests/gtest/TestRiceDeltaDecoder.cpp b/toolkit/components/url-classifier/tests/gtest/TestRiceDeltaDecoder.cpp @@ -3,7 +3,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/ArrayUtils.h" #include "RiceDeltaDecoder.h" #include "Common.h" diff --git a/toolkit/crashreporter/nsExceptionHandler.cpp b/toolkit/crashreporter/nsExceptionHandler.cpp @@ -16,7 +16,6 @@ #include "nsIFileStreams.h" #include "nsNetUtil.h" #include "nsString.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/DebugOnly.h" #include "mozilla/EnumeratedRange.h" #include "mozilla/Services.h" diff --git a/toolkit/mozapps/defaultagent/DefaultBrowser.cpp b/toolkit/mozapps/defaultagent/DefaultBrowser.cpp @@ -13,7 +13,6 @@ #include "EventLog.h" #include "Registry.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/RefPtr.h" #include "mozilla/Try.h" #include "mozilla/WinHeaderOnlyUtils.h" diff --git a/toolkit/mozapps/defaultagent/SetDefaultBrowser.cpp b/toolkit/mozapps/defaultagent/SetDefaultBrowser.cpp @@ -8,7 +8,6 @@ #include <shlobj.h> // for SHChangeNotify and IApplicationAssociationRegistration #include <timeapi.h> -#include "mozilla/ArrayUtils.h" #include "mozilla/CmdLineAndEnvUtils.h" #include "mozilla/RefPtr.h" #include "mozilla/Result.h" diff --git a/toolkit/mozapps/defaultagent/Telemetry.cpp b/toolkit/mozapps/defaultagent/Telemetry.cpp @@ -23,7 +23,6 @@ #include "Registry.h" #include "json/json.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/CmdLineAndEnvUtils.h" #include "mozilla/glean/ToolkitMozappsDefaultagentMetrics.h" #include "mozilla/glean/GleanPings.h" diff --git a/toolkit/mozapps/update/tests/TestAUSReadStrings.cpp b/toolkit/mozapps/update/tests/TestAUSReadStrings.cpp @@ -26,7 +26,6 @@ #include "common/readstrings.h" #include "common/updatererrors.h" #include "common/updatedefines.h" -#include "mozilla/ArrayUtils.h" #ifndef MAXPATHLEN # ifdef PATH_MAX diff --git a/toolkit/profile/nsToolkitProfileService.cpp b/toolkit/profile/nsToolkitProfileService.cpp @@ -3,7 +3,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/ArrayUtils.h" #include "mozilla/Preferences.h" #include "mozilla/ErrorResult.h" #include "mozilla/ScopeExit.h" diff --git a/toolkit/system/windowsproxy/nsWindowsSystemProxySettings.cpp b/toolkit/system/windowsproxy/nsWindowsSystemProxySettings.cpp @@ -7,7 +7,6 @@ #include <ras.h> #include <wininet.h> -#include "mozilla/ArrayUtils.h" #include "mozilla/Attributes.h" #include "nsISystemProxySettings.h" #include "mozilla/Components.h" diff --git a/toolkit/xre/LauncherRegistryInfo.cpp b/toolkit/xre/LauncherRegistryInfo.cpp @@ -7,7 +7,6 @@ #include "LauncherRegistryInfo.h" #include "commonupdatedir.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/NativeNt.h" #include "mozilla/UniquePtr.h" diff --git a/toolkit/xre/dllservices/ModuleEvaluator.cpp b/toolkit/xre/dllservices/ModuleEvaluator.cpp @@ -12,7 +12,6 @@ #include <windows.h> #include <shlobj.h> -#include "mozilla/ArrayUtils.h" #include "mozilla/ModuleVersionInfo.h" #include "mozilla/UniquePtr.h" #include "mozilla/WinDllServices.h" diff --git a/toolkit/xre/dllservices/mozglue/Authenticode.cpp b/toolkit/xre/dllservices/mozglue/Authenticode.cpp @@ -6,7 +6,6 @@ #include "Authenticode.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/DynamicallyLinkedFunctionPtr.h" #include "mozilla/ScopeExit.h" diff --git a/toolkit/xre/dllservices/mozglue/WindowsDllBlocklistCommon.h b/toolkit/xre/dllservices/mozglue/WindowsDllBlocklistCommon.h @@ -7,7 +7,6 @@ #ifndef mozilla_WindowsDllBlocklistCommon_h #define mozilla_WindowsDllBlocklistCommon_h -#include "mozilla/ArrayUtils.h" #include "mozilla/WindowsDllBlocklistInfo.h" #if !defined(DLL_BLOCKLIST_STRING_TYPE) diff --git a/toolkit/xre/dllservices/mozglue/nsWindowsDllInterceptor.h b/toolkit/xre/dllservices/mozglue/nsWindowsDllInterceptor.h @@ -13,7 +13,6 @@ #include <utility> -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/Atomics.h" #include "mozilla/Attributes.h" diff --git a/toolkit/xre/dllservices/tests/TestDllInterceptorCrossProcess.cpp b/toolkit/xre/dllservices/tests/TestDllInterceptorCrossProcess.cpp @@ -5,7 +5,6 @@ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ #include "mozilla/Attributes.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/CmdLineAndEnvUtils.h" #include "nsWindowsDllInterceptor.h" #include "nsWindowsHelpers.h" diff --git a/toolkit/xre/dllservices/tests/gtest/TestDLLBlocklist.cpp b/toolkit/xre/dllservices/tests/gtest/TestDLLBlocklist.cpp @@ -14,7 +14,6 @@ #include "gtest/gtest.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Char16.h" #include "mozilla/gtest/MozAssertions.h" #include "mozilla/Services.h" diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp @@ -8,7 +8,6 @@ #include "mozilla/ipc/GeckoChildProcessHost.h" #include "mozilla/AppShutdown.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/Attributes.h" #include "mozilla/Components.h" diff --git a/toolkit/xre/test/gtest/TestGeckoArgs.cpp b/toolkit/xre/test/gtest/TestGeckoArgs.cpp @@ -5,7 +5,6 @@ #include "gtest/gtest.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/GeckoArgs.h" using namespace mozilla; diff --git a/tools/fuzzing/interface/harness/FuzzerTestHarness.h b/tools/fuzzing/interface/harness/FuzzerTestHarness.h @@ -12,7 +12,6 @@ #ifndef FuzzerTestHarness_h__ #define FuzzerTestHarness_h__ -#include "mozilla/ArrayUtils.h" #include "mozilla/Attributes.h" #include "mozilla/IntegerPrintfMacros.h" diff --git a/tools/profiler/lul/LulMain.cpp b/tools/profiler/lul/LulMain.cpp @@ -19,7 +19,6 @@ #include "LulCommonExt.h" #include "LulElfExt.h" #include "LulMainInt.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/CheckedInt.h" #include "mozilla/DebugOnly.h" diff --git a/uriloader/exthandler/nsExternalHelperAppService.cpp b/uriloader/exthandler/nsExternalHelperAppService.cpp @@ -7,7 +7,6 @@ #include "base/basictypes.h" /* This must occur *after* base/basictypes.h to avoid typedefs conflicts. */ -#include "mozilla/ArrayUtils.h" #include "mozilla/Base64.h" #include "mozilla/ResultExtensions.h" diff --git a/widget/GfxInfoBase.cpp b/widget/GfxInfoBase.cpp @@ -5,8 +5,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/ArrayUtils.h" - #include "GfxInfoBase.h" #include <mutex> // std::call_once diff --git a/widget/android/nsAppShell.cpp b/widget/android/nsAppShell.cpp @@ -25,7 +25,6 @@ #include "nsCategoryManagerUtils.h" #include "mozilla/dom/GeolocationPosition.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/AppShutdown.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/Components.h" diff --git a/widget/cocoa/GfxInfo.mm b/widget/cocoa/GfxInfo.mm @@ -6,8 +6,6 @@ #include <OpenGL/OpenGL.h> #include <OpenGL/CGLRenderers.h> -#include "mozilla/ArrayUtils.h" - #include "GfxInfo.h" #include "nsUnicharUtils.h" #include "nsExceptionHandler.h" diff --git a/widget/cocoa/TextInputHandler.mm b/widget/cocoa/TextInputHandler.mm @@ -10,7 +10,6 @@ #include "mozilla/Logging.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/AutoRestore.h" #include "mozilla/MacStringHelpers.h" #include "mozilla/MiscEvents.h" diff --git a/widget/cocoa/nsPrintDialogX.mm b/widget/cocoa/nsPrintDialogX.mm @@ -3,7 +3,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/ArrayUtils.h" #include "mozilla/gfx/PrintTargetCG.h" #include "mozilla/Preferences.h" diff --git a/widget/gtk/DBusMenu.cpp b/widget/gtk/DBusMenu.cpp @@ -6,7 +6,6 @@ #include "DBusMenu.h" #include "prlink.h" #include "nsThreadUtils.h" -#include "mozilla/ArrayUtils.h" namespace mozilla::widget { diff --git a/widget/gtk/NativeKeyBindings.cpp b/widget/gtk/NativeKeyBindings.cpp @@ -3,7 +3,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/ArrayUtils.h" #include "mozilla/MathAlgorithms.h" #include "mozilla/Maybe.h" #include "mozilla/NativeKeyBindingsType.h" diff --git a/widget/gtk/nsClipboard.cpp b/widget/gtk/nsClipboard.cpp @@ -5,8 +5,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/ArrayUtils.h" - #include "nsArrayUtils.h" #include "nsClipboard.h" #if defined(MOZ_X11) diff --git a/widget/gtk/nsClipboardX11.cpp b/widget/gtk/nsClipboardX11.cpp @@ -5,8 +5,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/ArrayUtils.h" - #include "AsyncGtkClipboardRequest.h" #include "nsClipboardX11.h" #include "mozilla/RefPtr.h" diff --git a/widget/gtk/nsGtkKeyUtils.cpp b/widget/gtk/nsGtkKeyUtils.cpp @@ -31,7 +31,6 @@ #include "nsServiceManagerUtils.h" #include "nsWindow.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Maybe.h" #include "mozilla/MouseEvents.h" #include "mozilla/StaticPrefs_dom.h" diff --git a/widget/gtk/nsPrintDialogGTK.cpp b/widget/gtk/nsPrintDialogGTK.cpp @@ -7,7 +7,6 @@ #include <gtk/gtkunixprint.h> #include <stdlib.h> -#include "mozilla/ArrayUtils.h" #include "mozilla/Services.h" #include "MozContainer.h" diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp @@ -28,7 +28,6 @@ #include "GtkCompositorWidget.h" #include "imgIContainer.h" #include "InputData.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/Components.h" #include "mozilla/GRefPtr.h" diff --git a/widget/nsCUPSShim.cpp b/widget/nsCUPSShim.cpp @@ -7,7 +7,6 @@ #include "nsDebug.h" #include "nsString.h" #include "nsCUPSShim.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Logging.h" #include "prlink.h" diff --git a/widget/nsIWidget.cpp b/widget/nsIWidget.cpp @@ -16,7 +16,6 @@ #include "TouchEvents.h" #include "X11UndefineNone.h" #include "base/thread.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Attributes.h" #include "mozilla/GlobalKeyListener.h" #include "mozilla/IMEStateManager.h" diff --git a/widget/nsXPLookAndFeel.cpp b/widget/nsXPLookAndFeel.cpp @@ -3,8 +3,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/ArrayUtils.h" - #include "mozilla/LookAndFeel.h" #include "mozilla/RWLock.h" #include "nscore.h" diff --git a/widget/windows/GfxInfo.cpp b/widget/windows/GfxInfo.cpp @@ -22,7 +22,6 @@ #include "mozilla/gfx/DeviceManagerDx.h" #include "mozilla/gfx/Logging.h" #include "mozilla/SSE.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/widget/WinRegistry.h" #include "mozilla/WindowsProcessMitigations.h" diff --git a/widget/windows/TaskbarWindowPreview.cpp b/widget/windows/TaskbarWindowPreview.cpp @@ -5,8 +5,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/ArrayUtils.h" - #include <nsITaskbarPreviewController.h> #include "TaskbarWindowPreview.h" #include "WindowHook.h" diff --git a/widget/windows/WinUtils.cpp b/widget/windows/WinUtils.cpp @@ -16,7 +16,6 @@ #include "nsWindowDefs.h" #include "InputDeviceUtils.h" #include "KeyboardLayout.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/BackgroundHangMonitor.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/StaticPrefs_widget.h" diff --git a/widget/windows/nsColorPicker.cpp b/widget/windows/nsColorPicker.cpp @@ -9,7 +9,6 @@ #include <algorithm> #include <shlwapi.h> -#include "mozilla/ArrayUtils.h" #include "mozilla/AutoRestore.h" #include "mozilla/dom/BrowsingContext.h" #include "mozilla/dom/CanonicalBrowsingContext.h" diff --git a/widget/windows/nsDataObj.cpp b/widget/windows/nsDataObj.cpp @@ -3,7 +3,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/ArrayUtils.h" #include "mozilla/TextUtils.h" #include <ole2.h> diff --git a/widget/windows/nsDeviceContextSpecWin.cpp b/widget/windows/nsDeviceContextSpecWin.cpp @@ -5,7 +5,6 @@ #include "nsDeviceContextSpecWin.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/gfx/PrintPromise.h" #include "mozilla/gfx/PrintTargetPDF.h" #include "mozilla/gfx/PrintTargetWindows.h" diff --git a/widget/windows/nsPrintSettingsWin.cpp b/widget/windows/nsPrintSettingsWin.cpp @@ -4,7 +4,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "nsPrintSettingsWin.h" -#include "mozilla/ArrayUtils.h" #include "nsCRT.h" #include "nsDeviceContextSpecWin.h" #include "nsPrintSettingsImpl.h" diff --git a/xpcom/base/CycleCollectedJSContext.cpp b/xpcom/base/CycleCollectedJSContext.cpp @@ -15,7 +15,6 @@ #include "js/GCAPI.h" #include "js/Utility.h" #include "jsapi.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/AsyncEventDispatcher.h" #include "mozilla/AutoRestore.h" #include "mozilla/CycleCollectedJSRuntime.h" diff --git a/xpcom/base/CycleCollectedJSRuntime.cpp b/xpcom/base/CycleCollectedJSRuntime.cpp @@ -69,7 +69,6 @@ #include "js/ShadowRealmCallbacks.h" #include "js/SliceBudget.h" #include "jsfriendapi.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/AutoRestore.h" #include "mozilla/CycleCollectedJSContext.h" #include "mozilla/DebuggerOnGCRunnable.h" diff --git a/xpcom/base/ErrorNames.cpp b/xpcom/base/ErrorNames.cpp @@ -4,7 +4,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/ArrayUtils.h" #include "mozilla/ErrorNames.h" #include "nsString.h" #include "prerror.h" diff --git a/xpcom/base/nsCycleCollector.cpp b/xpcom/base/nsCycleCollector.cpp @@ -151,7 +151,6 @@ #include "base/process_util.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/AutoRestore.h" #include "mozilla/CycleCollectedJSContext.h" #include "mozilla/CycleCollectedJSRuntime.h" diff --git a/xpcom/base/nsSystemInfo.cpp b/xpcom/base/nsSystemInfo.cpp @@ -4,8 +4,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/ArrayUtils.h" - #include "nsAppRunner.h" #include "nsSystemInfo.h" #include "prsystem.h" diff --git a/xpcom/build/PoisonIOInterposerMac.cpp b/xpcom/build/PoisonIOInterposerMac.cpp @@ -10,7 +10,6 @@ # include "mach_override.h" #endif -#include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/DebugOnly.h" #include "mozilla/IOInterposer.h" diff --git a/xpcom/build/nsXULAppAPI.h b/xpcom/build/nsXULAppAPI.h @@ -8,7 +8,6 @@ #define _nsXULAppAPI_h__ #include "js/TypeDecls.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/ProcessType.h" #include "mozilla/TimeStamp.h" #include "nscore.h" diff --git a/xpcom/components/ManifestParser.cpp b/xpcom/components/ManifestParser.cpp @@ -4,7 +4,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/ArrayUtils.h" #include "mozilla/Printf.h" #include "mozilla/UniquePtr.h" diff --git a/xpcom/ds/nsStaticAtomUtils.h b/xpcom/ds/nsStaticAtomUtils.h @@ -9,7 +9,6 @@ #include <stdint.h> #include "nsAtom.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Maybe.h" // This class holds basic operations on arrays of static atoms. diff --git a/xpcom/io/Base64.cpp b/xpcom/io/Base64.cpp @@ -6,7 +6,6 @@ #include "Base64.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/UniquePtrExtensions.h" #include "nsIInputStream.h" #include "nsString.h" diff --git a/xpcom/io/nsDirectoryService.cpp b/xpcom/io/nsDirectoryService.cpp @@ -4,8 +4,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/ArrayUtils.h" - #include "nsArrayEnumerator.h" #include "nsCOMArray.h" #include "nsCOMPtr.h" diff --git a/xpcom/io/nsEscape.cpp b/xpcom/io/nsEscape.cpp @@ -6,7 +6,6 @@ #include "nsEscape.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/BinarySearch.h" #include "mozilla/CheckedInt.h" #include "mozilla/TextUtils.h" diff --git a/xpcom/io/nsLocalFileUnix.cpp b/xpcom/io/nsLocalFileUnix.cpp @@ -10,7 +10,6 @@ #include "nsLocalFile.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/Attributes.h" #include "mozilla/CheckedInt.h" #include "mozilla/DebugOnly.h" diff --git a/xpcom/io/nsLocalFileWin.cpp b/xpcom/io/nsLocalFileWin.cpp @@ -4,7 +4,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/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/DebugOnly.h" #include "mozilla/Maybe.h" diff --git a/xpcom/reflect/xptinfo/xptinfo.cpp b/xpcom/reflect/xptinfo/xptinfo.cpp @@ -8,7 +8,6 @@ #include "nsISupports.h" #include "mozilla/dom/DOMJSClass.h" #include "mozilla/dom/BindingUtils.h" -#include "mozilla/ArrayUtils.h" #include "jsfriendapi.h" #include "js/Symbol.h" diff --git a/xpcom/rust/gtest/bench-collections/Bench.cpp b/xpcom/rust/gtest/bench-collections/Bench.cpp @@ -48,7 +48,6 @@ #include "gtest/gtest.h" #include "gtest/MozGTestBench.h" // For MOZ_GTEST_BENCH #include "mozilla/AllocPolicy.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/HashFunctions.h" #include "mozilla/HashTable.h" #include "mozilla/StaticMutex.h" diff --git a/xpcom/tests/TestHarness.h b/xpcom/tests/TestHarness.h @@ -12,7 +12,6 @@ #ifndef TestHarness_h__ #define TestHarness_h__ -#include "mozilla/ArrayUtils.h" #include "mozilla/Attributes.h" #include "prenv.h" diff --git a/xpcom/tests/gtest/TestAtoms.cpp b/xpcom/tests/gtest/TestAtoms.cpp @@ -4,8 +4,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/ArrayUtils.h" - #include "nsAtom.h" #include "nsString.h" #include "UTFStrings.h" diff --git a/xpcom/tests/gtest/TestDeadlockDetector.cpp b/xpcom/tests/gtest/TestDeadlockDetector.cpp @@ -4,8 +4,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/ArrayUtils.h" - #include "prthread.h" #include "nsCOMPtr.h" diff --git a/xpcom/tests/gtest/TestEscape.cpp b/xpcom/tests/gtest/TestEscape.cpp @@ -6,7 +6,6 @@ #include "nsEscape.h" #include "gtest/gtest.h" -#include "mozilla/ArrayUtils.h" #include "nsNetUtil.h" using namespace mozilla; diff --git a/xpcom/tests/gtest/TestNSPRLogModulesParser.cpp b/xpcom/tests/gtest/TestNSPRLogModulesParser.cpp @@ -5,7 +5,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "NSPRLogModulesParser.h" -#include "mozilla/ArrayUtils.h" #include "gtest/gtest.h" using namespace mozilla; diff --git a/xpcom/tests/gtest/TestObserverArray.cpp b/xpcom/tests/gtest/TestObserverArray.cpp @@ -6,7 +6,6 @@ #include "nsTObserverArray.h" #include "gtest/gtest.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/UniquePtr.h" using namespace mozilla; diff --git a/xpcom/tests/gtest/TestTArray.cpp b/xpcom/tests/gtest/TestTArray.cpp @@ -6,7 +6,6 @@ #include "nsTArray.h" #include "gtest/gtest.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/RefPtr.h" #include "nsTHashMap.h" diff --git a/xpcom/tests/gtest/TestTArray2.cpp b/xpcom/tests/gtest/TestTArray2.cpp @@ -4,7 +4,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/ArrayUtils.h" #include "mozilla/TimeStamp.h" #include <stdlib.h> diff --git a/xpcom/tests/gtest/TestUTF.cpp b/xpcom/tests/gtest/TestUTF.cpp @@ -4,8 +4,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/ArrayUtils.h" - #include <stdio.h> #include <stdlib.h> #include "nsString.h" diff --git a/xpcom/threads/TimerThread.cpp b/xpcom/threads/TimerThread.cpp @@ -15,7 +15,6 @@ #include "mozilla/Services.h" #include "mozilla/ChaosMode.h" #include "mozilla/ArenaAllocator.h" -#include "mozilla/ArrayUtils.h" #include "mozilla/OperatorNewExtensions.h" #include "mozilla/StaticPrefs_timer.h" diff --git a/xpcom/threads/nsProcessCommon.cpp b/xpcom/threads/nsProcessCommon.cpp @@ -12,8 +12,6 @@ ***************************************************************************** */ -#include "mozilla/ArrayUtils.h" - #include "nsCOMPtr.h" #include "nsIFile.h" #include "nsProcess.h"