tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 9b6eb9c7f99ae18c2c353feb4fbc65da39ec3ef4
parent 188bc6cd14cb596979b52c1939b8b6fb110637a7
Author: serge-sans-paille <sguelton@mozilla.com>
Date:   Fri, 24 Oct 2025 06:48:00 +0000

Bug 1996048 - Remove unused inclusion of UniquePtr.h or UniquePtrExtensions.h r=emilio,media-playback-reviewers,profiler-reviewers,win-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,gstoll,mstange,TYLin,chunmin

Differential Revision: https://phabricator.services.mozilla.com/D269782

Diffstat:
Mdom/fs/test/gtest/FileSystemMocks.h | 1-
Mdom/fs/test/gtest/child/TestFileSystemBackgroundRequestHandler.cpp | 1-
Mdom/indexedDB/ActorsParentCommon.h | 1-
Mdom/indexedDB/SchemaUpgrades.cpp | 1-
Mdom/media/MediaManager.h | 1-
Mdom/media/Tracing.h | 1-
Mdom/media/eme/mediadrm/MediaDrmRemoteCDMParent.h | 1-
Mdom/media/gtest/TestAudioDeviceEnumerator.cpp | 1-
Mdom/media/gtest/TestAudioInputProcessing.cpp | 1-
Mdom/media/gtest/TestGroupId.cpp | 1-
Mdom/media/mediasource/SourceBuffer.h | 1-
Mdom/media/platforms/ffmpeg/ffvpx/D3D11TextureWrapper.h | 1-
Mdom/media/systemservices/objc_video_capture/video_capture_avfoundation.mm | 1-
Mdom/media/webcodecs/AudioEncoder.h | 1-
Mdom/media/webrtc/RTCCertificate.cpp | 1-
Mdom/media/webrtc/sdp/RsdparsaSdp.cpp | 1-
Mdom/media/webrtc/sdp/Sdp.h | 1-
Mdom/media/webrtc/sdp/SdpAttributeList.h | 1-
Mdom/media/webrtc/transportbridge/MediaPipeline.cpp | 1-
Mdom/navigation/Navigation.cpp | 1-
Mdom/quota/ActorsParent.cpp | 1-
Mdom/security/nsCSPParser.h | 1-
Mdom/serviceworkers/FetchEventOpChild.cpp | 1-
Mdom/serviceworkers/FetchEventOpProxyChild.cpp | 1-
Mdom/serviceworkers/FetchEventOpProxyParent.cpp | 1-
Mdom/storage/SessionStorageCache.h | 1-
Mdom/svg/SVGFEConvolveMatrixElement.cpp | 2--
Mdom/system/linux/GeoclueLocationProvider.cpp | 1-
Mdom/system/linux/PortalLocationProvider.cpp | 1-
Mdom/workers/loader/WorkerModuleLoader.h | 1-
Mdom/worklet/WorkletThread.h | 1-
Mdom/xslt/xpath/XPathEvaluator.cpp | 1-
Mdom/xslt/xpath/txExprParser.cpp | 1-
Mdom/xslt/xslt/txPatternParser.cpp | 1-
Mdom/xslt/xslt/txStylesheetCompileHandlers.cpp | 1-
Mdom/xslt/xslt/txStylesheetCompiler.cpp | 1-
Mdom/xslt/xslt/txUnknownHandler.cpp | 1-
Mdom/xslt/xslt/txXSLTFunctions.h | 1-
Mextensions/auth/nsHttpNegotiateAuth.cpp | 1-
Mextensions/spellcheck/ipc/RemoteSpellCheckEngineChild.cpp | 1-
Mgfx/2d/DrawEventRecorder.cpp | 1-
Mgfx/2d/DrawTargetCairo.cpp | 1-
Mgfx/2d/DrawTargetRecording.cpp | 1-
Mgfx/2d/PathSkia.cpp | 1-
Mgfx/gl/ScopedGLHelpers.cpp | 2--
Mgfx/gl/ScopedGLHelpers.h | 1-
Mgfx/ipc/CanvasManagerParent.h | 1-
Mgfx/ipc/GPUProcessManager.h | 1-
Mgfx/layers/BSPTree.h | 1-
Mgfx/layers/MacIOSurfaceImage.cpp | 1-
Mgfx/layers/apz/test/gtest/TestWRScrollData.cpp | 1-
Mgfx/layers/composite/FrameUniformityData.h | 1-
Mgfx/layers/d3d11/TextureHostWrapperD3D11.h | 1-
Mgfx/layers/ipc/CompositorManagerParent.cpp | 1-
Mgfx/layers/ipc/ContentCompositorBridgeParent.h | 1-
Mgfx/layers/wr/AsyncImagePipelineManager.h | 1-
Mgfx/thebes/COLRFonts.h | 1-
Mgfx/thebes/gfxFcPlatformFontList.h | 1-
Mgfx/thebes/gfxFontUtils.h | 1-
Mgfx/webrender_bindings/RenderCompositor.h | 1-
Mgfx/webrender_bindings/RendererOGL.h | 1-
Mgfx/webrender_bindings/RendererScreenshotGrabber.h | 1-
Mgfx/wgpu_bindings/wgpu.h | 1-
Mhal/HalTypes.h | 1-
Mimage/SourceBuffer.h | 1-
Mimage/decoders/icon/win/nsIconChannel.cpp | 1-
Mintl/locale/MozLocaleBindings.h | 2--
Mintl/lwbrk/nsComplexBreaker.cpp | 1-
Mipc/glue/CrashReporterHost.h | 1-
Mipc/glue/Endpoint.h | 1-
Mipc/glue/IPDLParamTraits.h | 1-
Mipc/glue/MessageChannel.cpp | 1-
Mipc/glue/ProcessUtils_common.cpp | 1-
Mipc/glue/UtilityMediaServiceParent.h | 1-
Mipc/glue/UtilityProcessChild.h | 1-
Mjs/src/builtin/intl/DurationFormat.cpp | 1-
Mjs/src/jsapi-tests/testGCHeapBarriers.cpp | 1-
Mjs/xpconnect/src/XPCJSRuntime.cpp | 1-
Mjs/xpconnect/src/XPCSelfHostedShmem.h | 2--
Mlayout/base/nsIDocumentViewerPrint.h | 1-
Mlayout/generic/TextOverflow.h | 1-
Mlayout/generic/nsRubyTextContainerFrame.cpp | 1-
Mlayout/inspector/InspectorUtils.h | 1-
Mlayout/printing/nsPrintData.h | 1-
Mlayout/style/Loader.h | 1-
Mlayout/style/StyleAnimationValue.cpp | 1-
Mlayout/style/nsComputedDOMStyle.h | 1-
Mlayout/style/nsStyleStruct.h | 1-
Mlayout/xul/nsSplitterFrame.cpp | 1-
Mmemory/build/mozjemalloc.cpp | 1-
Mmodules/libjar/nsJARInputStream.cpp | 1-
Mmodules/libpref/Preferences.cpp | 1-
Mmozglue/baseprofiler/core/ProfiledThreadData.h | 1-
Mmozglue/baseprofiler/core/ProfilingStack.cpp | 2--
Mmozglue/baseprofiler/core/RegisteredThread.h | 2--
Mmozglue/linker/ElfLoader.h | 1-
Mmozglue/static/Compression.h | 1-
Mnetwerk/dns/nsHostResolver.h | 1-
Mnetwerk/ipc/SocketProcessHost.h | 1-
Mnetwerk/protocol/http/DnsAndConnectSocket.h | 1-
Mnetwerk/protocol/http/Http3Session.h | 1-
Mnetwerk/protocol/http/HttpChannelChild.h | 1-
Mnetwerk/protocol/http/HttpChannelParent.cpp | 1-
Mnetwerk/protocol/http/nsHttpNTLMAuth.cpp | 1-
Mnetwerk/sctp/datachannel/DataChannel.h | 1-
Mnetwerk/test/gtest/TestCacheIndex.cpp | 1-
Mparser/html/nsParserUtils.cpp | 1-
Mparser/htmlparser/CParserContext.h | 1-
Msecurity/manager/ssl/AppSignatureVerification.cpp | 1-
Msecurity/manager/ssl/ScopedNSSTypes.h | 1-
Msecurity/manager/ssl/nsNSSCertHelper.cpp | 1-
Msecurity/manager/ssl/nsNSSCertificateDB.h | 1-
Msecurity/manager/ssl/nsNSSIOLayer.h | 1-
Msecurity/sandbox/common/test/SandboxTestingChildTests.h | 1-
Msecurity/sandbox/linux/SandboxOpenedFiles.h | 1-
Msecurity/sandbox/linux/SandboxProfiler.h | 1-
Mstartupcache/StartupCacheUtils.h | 1-
Mtoolkit/components/backgroundhangmonitor/ThreadStackHelper.cpp | 1-
Mtoolkit/components/backgroundtasks/BackgroundTasks.cpp | 1-
Mtoolkit/components/extensions/NativeMessagingPortal.cpp | 1-
Mtoolkit/components/uniffi-bindgen-gecko-js/src/templates/cpp/UniFFIScaffolding.cpp | 1-
Mtoolkit/components/url-classifier/Classifier.cpp | 1-
Mtoolkit/mozapps/defaultagent/tests/gtest/CacheTest.cpp | 1-
Mtoolkit/mozapps/defaultagent/tests/gtest/SetDefaultBrowserTest.cpp | 1-
Mtoolkit/system/gnome/nsAlertsIconListener.cpp | 1-
Mtoolkit/system/gnome/nsGIOService.cpp | 1-
Mtoolkit/xre/AssembleCmdLine.h | 2--
Mtoolkit/xre/MacLaunchHelper.mm | 1-
Mtoolkit/xre/dllservices/mozglue/LoaderObserver.h | 1-
Mtoolkit/xre/dllservices/mozglue/nsWindowsDllInterceptor.h | 1-
Mtools/profiler/core/ProfilerBacktrace.h | 1-
Mtools/profiler/core/ProfilerCPUFreq.h | 1-
Muriloader/exthandler/win/nsOSHelperAppService.cpp | 1-
Mview/nsView.h | 1-
Mwidget/android/AndroidBridge.cpp | 1-
Mwidget/android/jni/Utils.h | 2--
Mwidget/android/nsWindow.h | 1-
Mwidget/cocoa/nsChildView.h | 1-
Mwidget/cocoa/nsMenuBarX.h | 1-
Mwidget/gtk/AsyncDBus.cpp | 1-
Mwidget/gtk/MPRISServiceHandler.cpp | 1-
Mwidget/gtk/WaylandVsyncSource.cpp | 1-
Mwidget/gtk/nsClipboard.h | 1-
Mwidget/gtk/nsUserIdleServiceGTK.cpp | 1-
Mwidget/gtk/nsWindow.cpp | 1-
Mwidget/nsDragServiceProxy.cpp | 1-
Mwidget/uikit/GfxInfo.h | 1-
Mwidget/windows/filedialog/WinFileDialogCommands.cpp | 1-
Mwidget/windows/nsWindowGfx.cpp | 1-
Mxpcom/base/DebuggerOnGCRunnable.h | 1-
Mxpcom/build/FileLocation.cpp | 2--
Mxpcom/build/XPCOMInit.cpp | 1-
Mxpcom/build/XREChildData.h | 2--
Mxpcom/components/ManifestParser.cpp | 1-
Mxpcom/components/nsComponentManager.h | 1-
Mxpcom/ds/CycleCollectedUniquePtr.h | 1-
Mxpcom/ds/nsTHashMap.h | 1-
Mxpcom/tests/gtest/TestLogCommandLineHandler.cpp | 2--
Mxpcom/threads/WinHandleWatcher.h | 1-
Mxpcom/threads/nsThread.h | 1-
160 files changed, 0 insertions(+), 171 deletions(-)

diff --git a/dom/fs/test/gtest/FileSystemMocks.h b/dom/fs/test/gtest/FileSystemMocks.h @@ -19,7 +19,6 @@ #include "jsapi.h" #include "mozilla/ErrorResult.h" #include "mozilla/ScopeExit.h" -#include "mozilla/UniquePtr.h" #include "mozilla/dom/BindingDeclarations.h" #include "mozilla/dom/BindingUtils.h" #include "mozilla/dom/DOMException.h" diff --git a/dom/fs/test/gtest/child/TestFileSystemBackgroundRequestHandler.cpp b/dom/fs/test/gtest/child/TestFileSystemBackgroundRequestHandler.cpp @@ -8,7 +8,6 @@ #include "FileSystemMocks.h" #include "gtest/gtest.h" #include "mozilla/SpinEventLoopUntil.h" -#include "mozilla/UniquePtr.h" #include "mozilla/dom/FileSystemManager.h" #include "mozilla/dom/FileSystemManagerChild.h" #include "mozilla/dom/PFileSystemManager.h" diff --git a/dom/indexedDB/ActorsParentCommon.h b/dom/indexedDB/ActorsParentCommon.h @@ -18,7 +18,6 @@ #include "ErrorList.h" #include "mozilla/Result.h" #include "mozilla/Span.h" -#include "mozilla/UniquePtr.h" #include "mozilla/UniquePtrExtensions.h" #include "mozilla/dom/indexedDB/Key.h" #include "nsISupports.h" diff --git a/dom/indexedDB/SchemaUpgrades.cpp b/dom/indexedDB/SchemaUpgrades.cpp @@ -45,7 +45,6 @@ #include "mozilla/RefPtr.h" #include "mozilla/SchedulerGroup.h" #include "mozilla/Span.h" -#include "mozilla/UniquePtr.h" #include "mozilla/dom/ScriptSettings.h" #include "mozilla/dom/indexedDB/IDBResult.h" #include "mozilla/dom/indexedDB/Key.h" diff --git a/dom/media/MediaManager.h b/dom/media/MediaManager.h @@ -13,7 +13,6 @@ #include "mozilla/Logging.h" #include "mozilla/Preferences.h" #include "mozilla/StaticPtr.h" -#include "mozilla/UniquePtr.h" #include "mozilla/dom/GetUserMediaRequest.h" #include "mozilla/dom/MediaStreamBinding.h" #include "mozilla/dom/MediaStreamError.h" diff --git a/dom/media/Tracing.h b/dom/media/Tracing.h @@ -13,7 +13,6 @@ #include "AsyncLogger.h" #include "mozilla/Attributes.h" -#include "mozilla/UniquePtr.h" #if defined(_MSC_VER) // MSVC diff --git a/dom/media/eme/mediadrm/MediaDrmRemoteCDMParent.h b/dom/media/eme/mediadrm/MediaDrmRemoteCDMParent.h @@ -16,7 +16,6 @@ #include "mozilla/Mutex.h" #include "mozilla/RemoteCDMParent.h" #include "mozilla/StaticPtr.h" -#include "mozilla/UniquePtr.h" namespace mozilla { diff --git a/dom/media/gtest/TestAudioDeviceEnumerator.cpp b/dom/media/gtest/TestAudioDeviceEnumerator.cpp @@ -11,7 +11,6 @@ #include "gtest/gtest-printers.h" #include "gtest/gtest.h" #include "mozilla/Attributes.h" -#include "mozilla/UniquePtr.h" #include "mozilla/media/MediaUtils.h" #include "nsTArray.h" diff --git a/dom/media/gtest/TestAudioInputProcessing.cpp b/dom/media/gtest/TestAudioInputProcessing.cpp @@ -14,7 +14,6 @@ #include "libwebrtcglue/WebrtcEnvironmentWrapper.h" #include "mozilla/Attributes.h" #include "mozilla/NullPrincipal.h" -#include "mozilla/UniquePtr.h" #include "nsContentUtils.h" #include "nsTArray.h" diff --git a/dom/media/gtest/TestGroupId.cpp b/dom/media/gtest/TestGroupId.cpp @@ -10,7 +10,6 @@ #include "gtest/gtest-printers.h" #include "gtest/gtest.h" #include "mozilla/Attributes.h" -#include "mozilla/UniquePtr.h" #include "nsTArray.h" #include "webrtc/MediaEngineFake.h" diff --git a/dom/media/mediasource/SourceBuffer.h b/dom/media/mediasource/SourceBuffer.h @@ -17,7 +17,6 @@ #include "mozilla/Attributes.h" #include "mozilla/DOMEventTargetHelper.h" #include "mozilla/MozPromise.h" -#include "mozilla/UniquePtr.h" #include "mozilla/dom/SourceBufferBinding.h" #include "mozilla/dom/TypedArray.h" #include "mozilla/mozalloc.h" diff --git a/dom/media/platforms/ffmpeg/ffvpx/D3D11TextureWrapper.h b/dom/media/platforms/ffmpeg/ffvpx/D3D11TextureWrapper.h @@ -9,7 +9,6 @@ #include <functional> -#include "mozilla/UniquePtr.h" #include "mozilla/gfx/Types.h" struct AVFrame; diff --git a/dom/media/systemservices/objc_video_capture/video_capture_avfoundation.mm b/dom/media/systemservices/objc_video_capture/video_capture_avfoundation.mm @@ -20,7 +20,6 @@ #include "modules/video_capture/video_capture_defines.h" #include "mozilla/Assertions.h" #include "mozilla/Monitor.h" -#include "mozilla/UniquePtr.h" #include "rtc_base/time_utils.h" using namespace mozilla; diff --git a/dom/media/webcodecs/AudioEncoder.h b/dom/media/webcodecs/AudioEncoder.h @@ -12,7 +12,6 @@ #include "js/TypeDecls.h" #include "mozilla/ErrorResult.h" #include "mozilla/RefPtr.h" -#include "mozilla/UniquePtr.h" #include "mozilla/dom/AudioData.h" #include "mozilla/dom/BindingDeclarations.h" #include "mozilla/dom/EncoderTemplate.h" diff --git a/dom/media/webrtc/RTCCertificate.cpp b/dom/media/webrtc/RTCCertificate.cpp @@ -23,7 +23,6 @@ #include "mozilla/ErrorResult.h" #include "mozilla/MacroForEach.h" #include "mozilla/OwningNonNull.h" -#include "mozilla/UniquePtr.h" #include "mozilla/dom/BindingDeclarations.h" #include "mozilla/dom/CryptoBuffer.h" #include "mozilla/dom/CryptoKey.h" diff --git a/dom/media/webrtc/sdp/RsdparsaSdp.cpp b/dom/media/webrtc/sdp/RsdparsaSdp.cpp @@ -9,7 +9,6 @@ #include <cstdlib> #include "mozilla/Assertions.h" -#include "mozilla/UniquePtr.h" #include "nsError.h" #include "sdp/RsdparsaSdpInc.h" #include "sdp/RsdparsaSdpMediaSection.h" diff --git a/dom/media/webrtc/sdp/Sdp.h b/dom/media/webrtc/sdp/Sdp.h @@ -68,7 +68,6 @@ #include <vector> #include "mozilla/Maybe.h" -#include "mozilla/UniquePtr.h" #include "sdp/SdpAttributeList.h" #include "sdp/SdpEnum.h" #include "sdp/SdpMediaSection.h" diff --git a/dom/media/webrtc/sdp/SdpAttributeList.h b/dom/media/webrtc/sdp/SdpAttributeList.h @@ -8,7 +8,6 @@ #define _SDPATTRIBUTELIST_H_ #include "mozilla/Attributes.h" -#include "mozilla/UniquePtr.h" #include "sdp/SdpAttribute.h" namespace mozilla { diff --git a/dom/media/webrtc/transportbridge/MediaPipeline.cpp b/dom/media/webrtc/transportbridge/MediaPipeline.cpp @@ -46,7 +46,6 @@ #include "mozilla/StaticPrefs_media.h" #include "mozilla/TaskQueue.h" #include "mozilla/UniquePtr.h" -#include "mozilla/UniquePtrExtensions.h" #include "mozilla/dom/Document.h" #include "mozilla/dom/RTCStatsReportBinding.h" #include "mozilla/gfx/Point.h" diff --git a/dom/navigation/Navigation.cpp b/dom/navigation/Navigation.cpp @@ -13,7 +13,6 @@ #include "mozilla/HoldDropJSObjects.h" #include "mozilla/Logging.h" #include "mozilla/StaticPrefs_dom.h" -#include "mozilla/UniquePtr.h" #include "mozilla/dom/DOMException.h" #include "mozilla/dom/Document.h" #include "mozilla/dom/ErrorEvent.h" diff --git a/dom/quota/ActorsParent.cpp b/dom/quota/ActorsParent.cpp @@ -81,7 +81,6 @@ #include "mozilla/SystemPrincipal.h" #include "mozilla/TextUtils.h" #include "mozilla/TimeStamp.h" -#include "mozilla/UniquePtr.h" #include "mozilla/Variant.h" #include "mozilla/dom/FileSystemQuotaClientFactory.h" #include "mozilla/dom/FlippedOnce.h" diff --git a/dom/security/nsCSPParser.h b/dom/security/nsCSPParser.h @@ -8,7 +8,6 @@ #define nsCSPParser_h___ #include "PolicyTokenizer.h" -#include "mozilla/UniquePtr.h" #include "nsCSPContext.h" #include "nsCSPUtils.h" #include "nsIURI.h" diff --git a/dom/serviceworkers/FetchEventOpChild.cpp b/dom/serviceworkers/FetchEventOpChild.cpp @@ -14,7 +14,6 @@ #include "mozilla/LoadInfo.h" #include "mozilla/Services.h" #include "mozilla/StaticPrefs_dom.h" -#include "mozilla/UniquePtr.h" #include "mozilla/dom/FetchService.h" #include "mozilla/dom/InternalHeaders.h" #include "mozilla/dom/InternalResponse.h" diff --git a/dom/serviceworkers/FetchEventOpProxyChild.cpp b/dom/serviceworkers/FetchEventOpProxyChild.cpp @@ -10,7 +10,6 @@ #include "mozilla/Assertions.h" #include "mozilla/RefPtr.h" -#include "mozilla/UniquePtr.h" #include "mozilla/dom/FetchTypes.h" #include "mozilla/dom/InternalRequest.h" #include "mozilla/dom/InternalResponse.h" diff --git a/dom/serviceworkers/FetchEventOpProxyParent.cpp b/dom/serviceworkers/FetchEventOpProxyParent.cpp @@ -13,7 +13,6 @@ #include "mozilla/RemoteLazyInputStreamStorage.h" #include "mozilla/ResultExtensions.h" #include "mozilla/Try.h" -#include "mozilla/UniquePtr.h" #include "mozilla/dom/FetchEventOpParent.h" #include "mozilla/dom/FetchTypes.h" #include "mozilla/dom/InternalResponse.h" diff --git a/dom/storage/SessionStorageCache.h b/dom/storage/SessionStorageCache.h @@ -7,7 +7,6 @@ #ifndef mozilla_dom_SessionStorageCache_h #define mozilla_dom_SessionStorageCache_h -#include "mozilla/UniquePtr.h" #include "mozilla/dom/LSWriteOptimizerImpl.h" #include "nsTHashMap.h" diff --git a/dom/svg/SVGFEConvolveMatrixElement.cpp b/dom/svg/SVGFEConvolveMatrixElement.cpp @@ -11,8 +11,6 @@ #include "DOMSVGAnimatedNumberList.h" #include "mozilla/SVGFilterInstance.h" #include "mozilla/SVGUtils.h" -#include "mozilla/UniquePtr.h" -#include "mozilla/UniquePtrExtensions.h" #include "mozilla/dom/BindContext.h" #include "mozilla/dom/Document.h" #include "mozilla/dom/SVGFEConvolveMatrixElementBinding.h" diff --git a/dom/system/linux/GeoclueLocationProvider.cpp b/dom/system/linux/GeoclueLocationProvider.cpp @@ -18,7 +18,6 @@ #include "mozilla/Logging.h" #include "mozilla/ScopeExit.h" #include "mozilla/StaticPrefs_geo.h" -#include "mozilla/UniquePtrExtensions.h" #include "mozilla/WeakPtr.h" #include "mozilla/XREAppData.h" #include "mozilla/dom/GeolocationPosition.h" diff --git a/dom/system/linux/PortalLocationProvider.cpp b/dom/system/linux/PortalLocationProvider.cpp @@ -14,7 +14,6 @@ #include "mozilla/FloatingPoint.h" #include "mozilla/GUniquePtr.h" #include "mozilla/Logging.h" -#include "mozilla/UniquePtrExtensions.h" #include "mozilla/XREAppData.h" #include "mozilla/dom/GeolocationPositionErrorBinding.h" #include "prtime.h" diff --git a/dom/workers/loader/WorkerModuleLoader.h b/dom/workers/loader/WorkerModuleLoader.h @@ -9,7 +9,6 @@ #include "js/loader/ModuleLoaderBase.h" #include "js/loader/ScriptFetchOptions.h" -#include "mozilla/UniquePtr.h" #include "mozilla/dom/SerializedStackHolder.h" namespace mozilla::dom::workerinternals::loader { diff --git a/dom/worklet/WorkletThread.h b/dom/worklet/WorkletThread.h @@ -10,7 +10,6 @@ #include "mozilla/Attributes.h" #include "mozilla/CondVar.h" #include "mozilla/RefPtr.h" -#include "mozilla/UniquePtr.h" #include "mozilla/dom/WorkletImpl.h" #include "nsIObserver.h" #include "nsThread.h" diff --git a/dom/xslt/xpath/XPathEvaluator.cpp b/dom/xslt/xpath/XPathEvaluator.cpp @@ -8,7 +8,6 @@ #include <utility> #include "XPathResult.h" -#include "mozilla/UniquePtrExtensions.h" #include "mozilla/dom/BindingUtils.h" #include "mozilla/dom/Document.h" #include "mozilla/dom/XPathEvaluatorBinding.h" diff --git a/dom/xslt/xpath/txExprParser.cpp b/dom/xslt/xpath/txExprParser.cpp @@ -13,7 +13,6 @@ #include <utility> -#include "mozilla/UniquePtrExtensions.h" #include "nsError.h" #include "nsGkAtoms.h" #include "txExpr.h" diff --git a/dom/xslt/xslt/txPatternParser.cpp b/dom/xslt/xslt/txPatternParser.cpp @@ -5,7 +5,6 @@ #include "txPatternParser.h" -#include "mozilla/UniquePtrExtensions.h" #include "nsError.h" #include "nsGkAtoms.h" #include "txExprLexer.h" diff --git a/dom/xslt/xslt/txStylesheetCompileHandlers.cpp b/dom/xslt/xslt/txStylesheetCompileHandlers.cpp @@ -8,7 +8,6 @@ #include <utility> #include "mozilla/FloatingPoint.h" -#include "mozilla/UniquePtrExtensions.h" #include "nsGkAtoms.h" #include "nsStringFlags.h" #include "nsStringIterator.h" diff --git a/dom/xslt/xslt/txStylesheetCompiler.cpp b/dom/xslt/xslt/txStylesheetCompiler.cpp @@ -8,7 +8,6 @@ #include <utility> #include "mozilla/UniquePtr.h" -#include "mozilla/UniquePtrExtensions.h" #include "nsGkAtoms.h" #include "nsServiceManagerUtils.h" #include "nsTArray.h" diff --git a/dom/xslt/xslt/txUnknownHandler.cpp b/dom/xslt/xslt/txUnknownHandler.cpp @@ -7,7 +7,6 @@ #include <utility> -#include "mozilla/UniquePtrExtensions.h" #include "nsGkAtoms.h" #include "txExecutionState.h" #include "txStringUtils.h" diff --git a/dom/xslt/xslt/txXSLTFunctions.h b/dom/xslt/xslt/txXSLTFunctions.h @@ -6,7 +6,6 @@ #ifndef TRANSFRMX_XSLT_FUNCTIONS_H #define TRANSFRMX_XSLT_FUNCTIONS_H -#include "mozilla/UniquePtr.h" #include "txExpr.h" #include "txNamespaceMap.h" #include "txXMLUtils.h" diff --git a/extensions/auth/nsHttpNegotiateAuth.cpp b/extensions/auth/nsHttpNegotiateAuth.cpp @@ -31,7 +31,6 @@ #include "plbase64.h" #include "mozilla/Base64.h" #include "mozilla/Tokenizer.h" -#include "mozilla/UniquePtr.h" #include "mozilla/Sprintf.h" #include "nsIChannel.h" #include "nsNetUtil.h" diff --git a/extensions/spellcheck/ipc/RemoteSpellCheckEngineChild.cpp b/extensions/spellcheck/ipc/RemoteSpellCheckEngineChild.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/UniquePtr.h" #include "RemoteSpellCheckEngineChild.h" namespace mozilla { diff --git a/gfx/2d/DrawEventRecorder.cpp b/gfx/2d/DrawEventRecorder.cpp @@ -6,7 +6,6 @@ #include "DrawEventRecorder.h" -#include "mozilla/UniquePtrExtensions.h" #include "PathRecording.h" #include "RecordingTypes.h" #include "RecordedEventImpl.h" diff --git a/gfx/2d/DrawTargetCairo.cpp b/gfx/2d/DrawTargetCairo.cpp @@ -11,7 +11,6 @@ #include "HelpersCairo.h" #include "BorrowedContext.h" #include "FilterNodeSoftware.h" -#include "mozilla/UniquePtr.h" #include "mozilla/Vector.h" #include "mozilla/StaticPrefs_gfx.h" #include "mozilla/StaticPrefs_print.h" diff --git a/gfx/2d/DrawTargetRecording.cpp b/gfx/2d/DrawTargetRecording.cpp @@ -18,7 +18,6 @@ #include "mozilla/layers/RecordedCanvasEventImpl.h" #include "mozilla/layers/SourceSurfaceSharedData.h" #include "mozilla/layers/TextureRecorded.h" -#include "mozilla/UniquePtr.h" #include "nsXULAppAPI.h" // for XRE_IsContentProcess() #include "RecordingTypes.h" #include "RecordedEventImpl.h" diff --git a/gfx/2d/PathSkia.cpp b/gfx/2d/PathSkia.cpp @@ -7,7 +7,6 @@ #include "PathSkia.h" #include "HelpersSkia.h" #include "PathHelpers.h" -#include "mozilla/UniquePtr.h" #include "skia/include/core/SkPathUtils.h" #include "skia/src/core/SkGeometry.h" diff --git a/gfx/gl/ScopedGLHelpers.cpp b/gfx/gl/ScopedGLHelpers.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/UniquePtr.h" - #include "GLContext.h" #include "ScopedGLHelpers.h" diff --git a/gfx/gl/ScopedGLHelpers.h b/gfx/gl/ScopedGLHelpers.h @@ -7,7 +7,6 @@ #define SCOPEDGLHELPERS_H_ #include "GLDefs.h" -#include "mozilla/UniquePtr.h" namespace mozilla { namespace gl { diff --git a/gfx/ipc/CanvasManagerParent.h b/gfx/ipc/CanvasManagerParent.h @@ -9,7 +9,6 @@ #include "mozilla/gfx/PCanvasManagerParent.h" #include "mozilla/dom/ipc/IdType.h" #include "mozilla/StaticMonitor.h" -#include "mozilla/UniquePtr.h" #include "nsHashtablesFwd.h" #include "nsTArray.h" diff --git a/gfx/ipc/GPUProcessManager.h b/gfx/ipc/GPUProcessManager.h @@ -9,7 +9,6 @@ #include "base/basictypes.h" #include "base/process.h" #include "Units.h" -#include "mozilla/UniquePtr.h" #include "mozilla/dom/ipc/IdType.h" #include "mozilla/gfx/GPUProcessHost.h" #include "mozilla/gfx/PGPUChild.h" diff --git a/gfx/layers/BSPTree.h b/gfx/layers/BSPTree.h @@ -11,7 +11,6 @@ #include <utility> #include "mozilla/ArenaAllocator.h" -#include "mozilla/UniquePtr.h" #include "mozilla/gfx/Polygon.h" #include "nsTArray.h" diff --git a/gfx/layers/MacIOSurfaceImage.cpp b/gfx/layers/MacIOSurfaceImage.cpp @@ -12,7 +12,6 @@ #include "mozilla/layers/MacIOSurfaceTextureClientOGL.h" #include "mozilla/layers/TextureForwarder.h" #include "mozilla/StaticPrefs_layers.h" -#include "mozilla/UniquePtr.h" #include "YCbCrUtils.h" using namespace mozilla::layers; diff --git a/gfx/layers/apz/test/gtest/TestWRScrollData.cpp b/gfx/layers/apz/test/gtest/TestWRScrollData.cpp @@ -13,7 +13,6 @@ #include "mozilla/layers/LayersTypes.h" #include "mozilla/layers/ScrollableLayerGuid.h" #include "mozilla/layers/WebRenderScrollDataWrapper.h" -#include "mozilla/UniquePtr.h" #include "apz/src/APZCTreeManager.h" using mozilla::layers::APZCTreeManager; diff --git a/gfx/layers/composite/FrameUniformityData.h b/gfx/layers/composite/FrameUniformityData.h @@ -11,7 +11,6 @@ #include "js/TypeDecls.h" #include "ipc/IPCMessageUtilsSpecializations.h" #include "mozilla/RefPtr.h" -#include "mozilla/UniquePtr.h" #include "nsTArray.h" namespace mozilla { diff --git a/gfx/layers/d3d11/TextureHostWrapperD3D11.h b/gfx/layers/d3d11/TextureHostWrapperD3D11.h @@ -12,7 +12,6 @@ #include "mozilla/layers/LayersTypes.h" #include "mozilla/layers/TextureHost.h" -#include "mozilla/UniquePtr.h" class nsIThreadPool; struct ID3D11Texture2D; diff --git a/gfx/layers/ipc/CompositorManagerParent.cpp b/gfx/layers/ipc/CompositorManagerParent.cpp @@ -14,7 +14,6 @@ #include "mozilla/layers/CompositorThread.h" #include "mozilla/layers/RemoteTextureMap.h" #include "mozilla/layers/SharedSurfacesParent.h" -#include "mozilla/UniquePtr.h" #include "gfxPlatform.h" #include "VsyncSource.h" diff --git a/gfx/layers/ipc/ContentCompositorBridgeParent.h b/gfx/layers/ipc/ContentCompositorBridgeParent.h @@ -10,7 +10,6 @@ #include "mozilla/ipc/ProtocolUtils.h" #include "mozilla/layers/CompositorBridgeParent.h" #include "mozilla/layers/CompositorThread.h" -#include "mozilla/UniquePtr.h" namespace mozilla::layers { diff --git a/gfx/layers/wr/AsyncImagePipelineManager.h b/gfx/layers/wr/AsyncImagePipelineManager.h @@ -10,7 +10,6 @@ #include <vector> #include "CompositableHost.h" -#include "mozilla/UniquePtrExtensions.h" #include "mozilla/gfx/Point.h" #include "mozilla/layers/RemoteTextureMap.h" #include "mozilla/layers/TextureHost.h" diff --git a/gfx/thebes/COLRFonts.h b/gfx/thebes/COLRFonts.h @@ -7,7 +7,6 @@ #define COLR_FONTS_H #include "mozilla/gfx/2D.h" -#include "mozilla/UniquePtr.h" #include "nsAtom.h" #include "nsTArray.h" #include "nsTHashtable.h" diff --git a/gfx/thebes/gfxFcPlatformFontList.h b/gfx/thebes/gfxFcPlatformFontList.h @@ -11,7 +11,6 @@ #include "mozilla/FontPropertyTypes.h" #include "mozilla/mozalloc.h" #include "mozilla/RefPtr.h" -#include "mozilla/UniquePtr.h" #include "nsClassHashtable.h" #include "nsTHashMap.h" diff --git a/gfx/thebes/gfxFontUtils.h b/gfx/thebes/gfxFontUtils.h @@ -18,7 +18,6 @@ #include "mozilla/EndianUtils.h" #include "mozilla/ServoStyleConstsInlines.h" #include "mozilla/MemoryReporting.h" -#include "mozilla/UniquePtr.h" #include "nsStringFwd.h" #include "nsTArray.h" #include "nscore.h" diff --git a/gfx/webrender_bindings/RenderCompositor.h b/gfx/webrender_bindings/RenderCompositor.h @@ -9,7 +9,6 @@ #include "mozilla/RefPtr.h" #include "mozilla/UniquePtr.h" -#include "mozilla/UniquePtrExtensions.h" #include "mozilla/layers/Fence.h" #include "mozilla/webrender/WebRenderTypes.h" #include "Units.h" diff --git a/gfx/webrender_bindings/RendererOGL.h b/gfx/webrender_bindings/RendererOGL.h @@ -7,7 +7,6 @@ #ifndef MOZILLA_LAYERS_RENDEREROGL_H #define MOZILLA_LAYERS_RENDEREROGL_H -#include "mozilla/UniquePtrExtensions.h" #include "mozilla/layers/CompositorTypes.h" #include "mozilla/gfx/Point.h" #include "mozilla/webrender/RenderThread.h" diff --git a/gfx/webrender_bindings/RendererScreenshotGrabber.h b/gfx/webrender_bindings/RendererScreenshotGrabber.h @@ -6,7 +6,6 @@ #define mozilla_layers_RendererScreenshotGrabber_h #include "mozilla/TimeStamp.h" -#include "mozilla/UniquePtr.h" #include "mozilla/gfx/Point.h" #include "mozilla/layers/ProfilerScreenshots.h" #include "mozilla/webrender/webrender_ffi.h" diff --git a/gfx/wgpu_bindings/wgpu.h b/gfx/wgpu_bindings/wgpu.h @@ -11,7 +11,6 @@ // latter is wrapped in an extern "C" declaration but ends up including // nsString.h (See bug 1784086) #include "nsString.h" -#include "mozilla/UniquePtr.h" // Prelude of types necessary before including wgpu_ffi_generated.h namespace mozilla { diff --git a/hal/HalTypes.h b/hal/HalTypes.h @@ -10,7 +10,6 @@ #include "mozilla/BitSet.h" #include "mozilla/Observer.h" #include "mozilla/TimeStamp.h" -#include "mozilla/UniquePtr.h" namespace mozilla { namespace hal { diff --git a/image/SourceBuffer.h b/image/SourceBuffer.h @@ -19,7 +19,6 @@ #include "mozilla/Mutex.h" #include "mozilla/RefCounted.h" #include "mozilla/RefPtr.h" -#include "mozilla/UniquePtr.h" #include "nsTArray.h" class nsIInputStream; diff --git a/image/decoders/icon/win/nsIconChannel.cpp b/image/decoders/icon/win/nsIconChannel.cpp @@ -8,7 +8,6 @@ #include "mozilla/Monitor.h" #include "mozilla/SyncRunnable.h" #include "mozilla/UniquePtr.h" -#include "mozilla/UniquePtrExtensions.h" #include "mozilla/WindowsProcessMitigations.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/ipc/ByteBuf.h" diff --git a/intl/locale/MozLocaleBindings.h b/intl/locale/MozLocaleBindings.h @@ -8,8 +8,6 @@ #include "mozilla/intl/unic_langid_ffi_generated.h" #include "mozilla/intl/fluent_langneg_ffi_generated.h" -#include "mozilla/UniquePtr.h" - namespace std { template <> diff --git a/intl/lwbrk/nsComplexBreaker.cpp b/intl/lwbrk/nsComplexBreaker.cpp @@ -12,7 +12,6 @@ #include "mozilla/Assertions.h" #include "mozilla/Services.h" #include "mozilla/StaticPtr.h" -#include "mozilla/UniquePtr.h" #include "nsTHashMap.h" #include "nsIObserver.h" #include "nsIObserverService.h" diff --git a/ipc/glue/CrashReporterHost.h b/ipc/glue/CrashReporterHost.h @@ -9,7 +9,6 @@ #include <functional> -#include "mozilla/UniquePtr.h" #include "base/process.h" #include "nsExceptionHandler.h" #include "nsIFile.h" diff --git a/ipc/glue/Endpoint.h b/ipc/glue/Endpoint.h @@ -13,7 +13,6 @@ #include "base/process_util.h" #include "mozilla/Assertions.h" #include "mozilla/Maybe.h" -#include "mozilla/UniquePtr.h" #include "mozilla/ipc/MessageLink.h" #include "mozilla/ipc/ProtocolUtils.h" #include "mozilla/ipc/NodeController.h" diff --git a/ipc/glue/IPDLParamTraits.h b/ipc/glue/IPDLParamTraits.h @@ -9,7 +9,6 @@ #include "chrome/common/ipc_message_utils.h" #include "ipc/IPCMessageUtilsSpecializations.h" -#include "mozilla/UniquePtr.h" #include "mozilla/Variant.h" #include "nsTArray.h" diff --git a/ipc/glue/MessageChannel.cpp b/ipc/glue/MessageChannel.cpp @@ -28,7 +28,6 @@ #include "mozilla/StaticMutex.h" #include "mozilla/glean/IpcMetrics.h" #include "mozilla/TimeStamp.h" -#include "mozilla/UniquePtrExtensions.h" #include "mozilla/dom/ScriptSettings.h" #include "mozilla/ipc/NodeController.h" #include "mozilla/ipc/ProcessChild.h" diff --git a/ipc/glue/ProcessUtils_common.cpp b/ipc/glue/ProcessUtils_common.cpp @@ -11,7 +11,6 @@ #include "mozilla/RefPtr.h" #include "mozilla/dom/RemoteType.h" #include "mozilla/ipc/GeckoChildProcessHost.h" -#include "mozilla/UniquePtrExtensions.h" #include "nsPrintfCString.h" #include "XPCSelfHostedShmem.h" diff --git a/ipc/glue/UtilityMediaServiceParent.h b/ipc/glue/UtilityMediaServiceParent.h @@ -8,7 +8,6 @@ #include "mozilla/PRemoteMediaManagerParent.h" #include "mozilla/ProfilerMarkers.h" -#include "mozilla/UniquePtr.h" #include "mozilla/ipc/Endpoint.h" #include "mozilla/ipc/PUtilityMediaServiceParent.h" diff --git a/ipc/glue/UtilityProcessChild.h b/ipc/glue/UtilityProcessChild.h @@ -8,7 +8,6 @@ #include "mozilla/ipc/PUtilityProcessChild.h" #include "mozilla/ipc/UtilityProcessSandboxing.h" #include "mozilla/ipc/UtilityMediaServiceParent.h" -#include "mozilla/UniquePtr.h" #include "ChildProfilerController.h" #if defined(MOZ_SANDBOX) && defined(MOZ_DEBUG) && defined(ENABLE_TESTS) diff --git a/js/src/builtin/intl/DurationFormat.cpp b/js/src/builtin/intl/DurationFormat.cpp @@ -13,7 +13,6 @@ #include "mozilla/intl/ListFormat.h" #include "mozilla/intl/NumberFormat.h" #include "mozilla/Span.h" -#include "mozilla/UniquePtr.h" #include <array> #include <charconv> diff --git a/js/src/jsapi-tests/testGCHeapBarriers.cpp b/js/src/jsapi-tests/testGCHeapBarriers.cpp @@ -6,7 +6,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "mozilla/Maybe.h" -#include "mozilla/UniquePtr.h" #include "gc/AllocKind.h" #include "gc/Cell.h" diff --git a/js/xpconnect/src/XPCJSRuntime.cpp b/js/xpconnect/src/XPCJSRuntime.cpp @@ -70,7 +70,6 @@ #include "mozilla/ProcessHangMonitor.h" #include "mozilla/ProfilerLabels.h" #include "mozilla/Sprintf.h" -#include "mozilla/UniquePtrExtensions.h" #include "AccessCheck.h" #include "nsGlobalWindowInner.h" #include "nsAboutProtocolUtils.h" diff --git a/js/xpconnect/src/XPCSelfHostedShmem.h b/js/xpconnect/src/XPCSelfHostedShmem.h @@ -7,8 +7,6 @@ #ifndef xpcselfhostedshmem_h___ #define xpcselfhostedshmem_h___ -#include "mozilla/UniquePtr.h" -#include "mozilla/UniquePtrExtensions.h" #include "mozilla/RefPtr.h" #include "mozilla/Span.h" #include "mozilla/StaticPtr.h" diff --git a/layout/base/nsIDocumentViewerPrint.h b/layout/base/nsIDocumentViewerPrint.h @@ -7,7 +7,6 @@ #ifndef nsIDocumentViewerPrint_h___ #define nsIDocumentViewerPrint_h___ -#include "mozilla/UniquePtr.h" #include "nsISupports.h" namespace mozilla { diff --git a/layout/generic/TextOverflow.h b/layout/generic/TextOverflow.h @@ -11,7 +11,6 @@ #include "mozilla/Attributes.h" #include "mozilla/Likely.h" -#include "mozilla/UniquePtr.h" #include "mozilla/WritingModes.h" #include "nsDisplayList.h" #include "nsTHashSet.h" diff --git a/layout/generic/nsRubyTextContainerFrame.cpp b/layout/generic/nsRubyTextContainerFrame.cpp @@ -10,7 +10,6 @@ #include "mozilla/ComputedStyle.h" #include "mozilla/PresShell.h" -#include "mozilla/UniquePtr.h" #include "mozilla/WritingModes.h" #include "nsLayoutUtils.h" #include "nsLineLayout.h" diff --git a/layout/inspector/InspectorUtils.h b/layout/inspector/InspectorUtils.h @@ -8,7 +8,6 @@ #ifndef mozilla_dom_InspectorUtils_h #define mozilla_dom_InspectorUtils_h -#include "mozilla/UniquePtr.h" #include "mozilla/dom/InspectorUtilsBinding.h" #include "nsLayoutUtils.h" diff --git a/layout/printing/nsPrintData.h b/layout/printing/nsPrintData.h @@ -8,7 +8,6 @@ #define nsPrintData_h___ #include "mozilla/Attributes.h" -#include "mozilla/UniquePtr.h" // Interfaces #include "nsCOMArray.h" diff --git a/layout/style/Loader.h b/layout/style/Loader.h @@ -16,7 +16,6 @@ #include "mozilla/CORSMode.h" #include "mozilla/MemoryReporting.h" #include "mozilla/SharedSubResourceCache.h" -#include "mozilla/UniquePtr.h" #include "mozilla/css/StylePreloadKind.h" #include "mozilla/dom/LinkStyle.h" #include "nsCompatibility.h" diff --git a/layout/style/StyleAnimationValue.cpp b/layout/style/StyleAnimationValue.cpp @@ -20,7 +20,6 @@ #include "mozilla/ServoBindings.h" // StyleLockedDeclarationBlock #include "mozilla/ServoCSSParser.h" #include "mozilla/ServoStyleSet.h" -#include "mozilla/UniquePtr.h" #include "mozilla/dom/Document.h" #include "mozilla/dom/Element.h" #include "mozilla/layers/LayersMessages.h" diff --git a/layout/style/nsComputedDOMStyle.h b/layout/style/nsComputedDOMStyle.h @@ -13,7 +13,6 @@ #include "mozilla/ComputedStyle.h" #include "mozilla/PseudoStyleType.h" #include "mozilla/StyleColorInlines.h" -#include "mozilla/UniquePtr.h" #include "mozilla/WritingModes.h" #include "mozilla/gfx/Types.h" #include "nsCOMPtr.h" diff --git a/layout/style/nsStyleStruct.h b/layout/style/nsStyleStruct.h @@ -23,7 +23,6 @@ #include "mozilla/Attributes.h" #include "mozilla/Likely.h" #include "mozilla/Maybe.h" -#include "mozilla/UniquePtr.h" #include "mozilla/WindowButtonType.h" #include "nsChangeHint.h" #include "nsColor.h" diff --git a/layout/xul/nsSplitterFrame.cpp b/layout/xul/nsSplitterFrame.cpp @@ -21,7 +21,6 @@ #include "mozilla/MouseEvents.h" #include "mozilla/PresShell.h" #include "mozilla/ReflowInput.h" -#include "mozilla/UniquePtr.h" #include "mozilla/dom/Document.h" #include "mozilla/dom/Element.h" #include "mozilla/dom/Event.h" diff --git a/memory/build/mozjemalloc.cpp b/memory/build/mozjemalloc.cpp @@ -152,7 +152,6 @@ // instead of the one defined here; use only MozTagAnonymousMemory(). #include "mozilla/TaggedAnonymousMemory.h" #include "mozilla/ThreadLocal.h" -#include "mozilla/UniquePtr.h" #include "mozilla/XorShift128PlusRNG.h" #include "mozilla/fallible.h" #include "RadixTree.h" diff --git a/modules/libjar/nsJARInputStream.cpp b/modules/libjar/nsJARInputStream.cpp @@ -11,7 +11,6 @@ #include "mozilla/MmapFaultHandler.h" #include "mozilla/StaticPrefs_network.h" #include "mozilla/UniquePtr.h" -#include "mozilla/UniquePtrExtensions.h" #include "nsEscape.h" #include "nsDebug.h" diff --git a/modules/libpref/Preferences.cpp b/modules/libpref/Preferences.cpp @@ -43,7 +43,6 @@ #include "mozilla/StaticPtr.h" #include "mozilla/SyncRunnable.h" #include "mozilla/Try.h" -#include "mozilla/UniquePtrExtensions.h" #include "mozilla/URLPreloader.h" #include "mozilla/Variant.h" #include "mozilla/Vector.h" diff --git a/mozglue/baseprofiler/core/ProfiledThreadData.h b/mozglue/baseprofiler/core/ProfiledThreadData.h @@ -14,7 +14,6 @@ #include "mozilla/RefPtr.h" #include "mozilla/TimeStamp.h" -#include "mozilla/UniquePtr.h" #include <string> diff --git a/mozglue/baseprofiler/core/ProfilingStack.cpp b/mozglue/baseprofiler/core/ProfilingStack.cpp @@ -9,8 +9,6 @@ #include <algorithm> #include "mozilla/IntegerRange.h" -#include "mozilla/UniquePtr.h" -#include "mozilla/UniquePtrExtensions.h" #include "BaseProfiler.h" diff --git a/mozglue/baseprofiler/core/RegisteredThread.h b/mozglue/baseprofiler/core/RegisteredThread.h @@ -10,8 +10,6 @@ #include "platform.h" #include "ThreadInfo.h" -#include "mozilla/UniquePtr.h" - namespace mozilla { namespace baseprofiler { diff --git a/mozglue/linker/ElfLoader.h b/mozglue/linker/ElfLoader.h @@ -11,7 +11,6 @@ #include "mozilla/Atomics.h" #include "mozilla/RefCounted.h" #include "mozilla/RefPtr.h" -#include "mozilla/UniquePtr.h" #include "Elfxx.h" #include "Mappable.h" diff --git a/mozglue/static/Compression.h b/mozglue/static/Compression.h @@ -13,7 +13,6 @@ #include "mozilla/Types.h" #include "mozilla/ResultVariant.h" #include "mozilla/Span.h" -#include "mozilla/UniquePtr.h" struct LZ4F_cctx_s; // compression context struct LZ4F_dctx_s; // decompression context diff --git a/netwerk/dns/nsHostResolver.h b/netwerk/dns/nsHostResolver.h @@ -20,7 +20,6 @@ #include "mozilla/net/DashboardTypes.h" #include "mozilla/Atomics.h" #include "mozilla/TimeStamp.h" -#include "mozilla/UniquePtr.h" #include "nsHostRecord.h" #include "nsRefPtrHashtable.h" #include "nsIThreadPool.h" diff --git a/netwerk/ipc/SocketProcessHost.h b/netwerk/ipc/SocketProcessHost.h @@ -7,7 +7,6 @@ #define mozilla_net_SocketProcessHost_h #include "mozilla/Maybe.h" -#include "mozilla/UniquePtr.h" #include "mozilla/ipc/GeckoChildProcessHost.h" #include "mozilla/MemoryReportingProcess.h" #include "mozilla/ipc/TaskFactory.h" diff --git a/netwerk/protocol/http/DnsAndConnectSocket.h b/netwerk/protocol/http/DnsAndConnectSocket.h @@ -7,7 +7,6 @@ #define DnsAndConnectSocket_h__ #include "mozilla/TimeStamp.h" -#include "mozilla/UniquePtr.h" #include "nsAHttpConnection.h" #include "nsHttpConnection.h" #include "nsHttpTransaction.h" diff --git a/netwerk/protocol/http/Http3Session.h b/netwerk/protocol/http/Http3Session.h @@ -9,7 +9,6 @@ #include "HttpTrafficAnalyzer.h" #include "mozilla/Array.h" -#include "mozilla/UniquePtr.h" #include "mozilla/WeakPtr.h" #include "mozilla/net/NeqoHttp3Conn.h" #include "nsAHttpConnection.h" diff --git a/netwerk/protocol/http/HttpChannelChild.h b/netwerk/protocol/http/HttpChannelChild.h @@ -10,7 +10,6 @@ #include "mozilla/Mutex.h" #include "mozilla/StaticPrefsBase.h" -#include "mozilla/UniquePtr.h" #include "mozilla/extensions/StreamFilterParent.h" #include "mozilla/net/HttpBaseChannel.h" #include "mozilla/net/NeckoTargetHolder.h" diff --git a/netwerk/protocol/http/HttpChannelParent.cpp b/netwerk/protocol/http/HttpChannelParent.cpp @@ -30,7 +30,6 @@ #include "mozilla/ProfilerMarkers.h" #include "mozilla/StaticPrefs_network.h" #include "mozilla/StoragePrincipalHelper.h" -#include "mozilla/UniquePtr.h" #include "HttpBackgroundChannelParent.h" #include "ParentChannelListener.h" #include "nsDebug.h" diff --git a/netwerk/protocol/http/nsHttpNTLMAuth.cpp b/netwerk/protocol/http/nsHttpNTLMAuth.cpp @@ -28,7 +28,6 @@ #include "mozilla/CheckedInt.h" #include "mozilla/Maybe.h" #include "mozilla/Tokenizer.h" -#include "mozilla/UniquePtr.h" #include "nsCRT.h" #include "nsNetUtil.h" #include "nsIChannel.h" diff --git a/netwerk/sctp/datachannel/DataChannel.h b/netwerk/sctp/datachannel/DataChannel.h @@ -16,7 +16,6 @@ #include "nsCOMPtr.h" #include "mozilla/MozPromise.h" #include "mozilla/StopGapEventTarget.h" -#include "mozilla/UniquePtr.h" #include "mozilla/WeakPtr.h" #include "mozilla/dom/RTCStatsReportBinding.h" #include "nsString.h" diff --git a/netwerk/test/gtest/TestCacheIndex.cpp b/netwerk/test/gtest/TestCacheIndex.cpp @@ -1,6 +1,5 @@ #include "gtest/gtest.h" #include "mozilla/StaticMutex.h" -#include "mozilla/UniquePtr.h" #include "mozilla/TimeStamp.h" #include "nsTArray.h" #include "../cache2/CacheIndex.h" diff --git a/parser/html/nsParserUtils.cpp b/parser/html/nsParserUtils.cpp @@ -5,7 +5,6 @@ #include "nsParserUtils.h" #include "mozilla/NullPrincipal.h" -#include "mozilla/UniquePtr.h" #include "mozilla/dom/DocumentFragment.h" #include "mozilla/dom/Element.h" #include "mozilla/dom/ScriptLoader.h" diff --git a/parser/htmlparser/CParserContext.h b/parser/htmlparser/CParserContext.h @@ -12,7 +12,6 @@ #ifndef __CParserContext #define __CParserContext -#include "mozilla/UniquePtr.h" #include "nsIParser.h" #include "nsIDTD.h" #include "nsIRequest.h" diff --git a/security/manager/ssl/AppSignatureVerification.cpp b/security/manager/ssl/AppSignatureVerification.cpp @@ -20,7 +20,6 @@ #include "mozilla/Logging.h" #include "mozilla/Preferences.h" #include "mozilla/RefPtr.h" -#include "mozilla/UniquePtr.h" #include "nsCOMPtr.h" #include "nsComponentManagerUtils.h" #include "nsDependentString.h" diff --git a/security/manager/ssl/ScopedNSSTypes.h b/security/manager/ssl/ScopedNSSTypes.h @@ -18,7 +18,6 @@ #include "cryptohi.h" #include "keyhi.h" #include "mozilla/Likely.h" -#include "mozilla/UniquePtr.h" #include "nsDebug.h" #include "nsError.h" #include "NSSErrorsService.h" diff --git a/security/manager/ssl/nsNSSCertHelper.cpp b/security/manager/ssl/nsNSSCertHelper.cpp @@ -11,7 +11,6 @@ #include "mozilla/Casting.h" #include "mozilla/NotNull.h" #include "mozilla/Sprintf.h" -#include "mozilla/UniquePtr.h" #include "mozilla/Utf8.h" #include "mozilla/net/DNS.h" #include "nsCOMPtr.h" diff --git a/security/manager/ssl/nsNSSCertificateDB.h b/security/manager/ssl/nsNSSCertificateDB.h @@ -10,7 +10,6 @@ #include "mozilla/Mutex.h" #include "mozilla/NotNull.h" #include "mozilla/RefPtr.h" -#include "mozilla/UniquePtr.h" #include "nsIX509CertDB.h" #include "nsString.h" diff --git a/security/manager/ssl/nsNSSIOLayer.h b/security/manager/ssl/nsNSSIOLayer.h @@ -10,7 +10,6 @@ #include "mozilla/Assertions.h" #include "mozilla/StaticPtr.h" #include "mozilla/TimeStamp.h" -#include "mozilla/UniquePtr.h" #include "nsCOMPtr.h" #include "nsIObserver.h" #include "nsIProxyInfo.h" diff --git a/security/sandbox/common/test/SandboxTestingChildTests.h b/security/sandbox/common/test/SandboxTestingChildTests.h @@ -31,7 +31,6 @@ # include <sys/utsname.h> # include <termios.h> # include "mozilla/ProcInfo_linux.h" -# include "mozilla/UniquePtrExtensions.h" # ifdef MOZ_X11 # include "X11/Xlib.h" # include "X11UndefineNone.h" diff --git a/security/sandbox/linux/SandboxOpenedFiles.h b/security/sandbox/linux/SandboxOpenedFiles.h @@ -9,7 +9,6 @@ #include "mozilla/Atomics.h" #include "mozilla/Range.h" -#include "mozilla/UniquePtr.h" #include <vector> #include <string> diff --git a/security/sandbox/linux/SandboxProfiler.h b/security/sandbox/linux/SandboxProfiler.h @@ -12,7 +12,6 @@ #include "base/trace_event/common/trace_event_common.h" -#include "mozilla/UniquePtr.h" #include "ProfilerNativeStack.h" #include "MicroGeckoProfiler.h" diff --git a/startupcache/StartupCacheUtils.h b/startupcache/StartupCacheUtils.h @@ -9,7 +9,6 @@ #include "nsIStorageStream.h" #include "nsIObjectInputStream.h" #include "nsIObjectOutputStream.h" -#include "mozilla/UniquePtr.h" #include "mozilla/UniquePtrExtensions.h" class nsIURI; diff --git a/toolkit/components/backgroundhangmonitor/ThreadStackHelper.cpp b/toolkit/components/backgroundhangmonitor/ThreadStackHelper.cpp @@ -23,7 +23,6 @@ #include "mozilla/IntegerPrintfMacros.h" #include "mozilla/MemoryChecking.h" #include "mozilla/Sprintf.h" -#include "mozilla/UniquePtr.h" #include "nsThread.h" #ifdef __GNUC__ diff --git a/toolkit/components/backgroundtasks/BackgroundTasks.cpp b/toolkit/components/backgroundtasks/BackgroundTasks.cpp @@ -18,7 +18,6 @@ #include "mozilla/CmdLineAndEnvUtils.h" #include "mozilla/LateWriteChecks.h" -#include "mozilla/UniquePtr.h" namespace mozilla { diff --git a/toolkit/components/extensions/NativeMessagingPortal.cpp b/toolkit/components/extensions/NativeMessagingPortal.cpp @@ -12,7 +12,6 @@ #include "mozilla/ClearOnShutdown.h" #include "mozilla/GUniquePtr.h" #include "mozilla/Logging.h" -#include "mozilla/UniquePtrExtensions.h" #include "mozilla/WidgetUtilsGtk.h" #include "mozilla/widget/AsyncDBus.h" #include "mozilla/dom/Promise.h" diff --git a/toolkit/components/uniffi-bindgen-gecko-js/src/templates/cpp/UniFFIScaffolding.cpp b/toolkit/components/uniffi-bindgen-gecko-js/src/templates/cpp/UniFFIScaffolding.cpp @@ -8,7 +8,6 @@ #include "mozilla/Logging.h" #include "mozilla/Maybe.h" #include "mozilla/StaticPtr.h" -#include "mozilla/UniquePtr.h" #include "mozilla/dom/Promise.h" #include "mozilla/dom/PromiseNativeHandler.h" #include "mozilla/dom/UniFFIScaffolding.h" diff --git a/toolkit/components/url-classifier/Classifier.cpp b/toolkit/components/url-classifier/Classifier.cpp @@ -17,7 +17,6 @@ #include "mozilla/Logging.h" #include "mozilla/SyncRunnable.h" #include "mozilla/Base64.h" -#include "mozilla/UniquePtr.h" #include "nsUrlClassifierDBService.h" #include "nsUrlClassifierUtils.h" diff --git a/toolkit/mozapps/defaultagent/tests/gtest/CacheTest.cpp b/toolkit/mozapps/defaultagent/tests/gtest/CacheTest.cpp @@ -13,7 +13,6 @@ #include "UtfConvert.h" #include "mozilla/Result.h" -#include "mozilla/UniquePtr.h" #include "mozilla/WinHeaderOnlyUtils.h" using namespace mozilla::default_agent; diff --git a/toolkit/mozapps/defaultagent/tests/gtest/SetDefaultBrowserTest.cpp b/toolkit/mozapps/defaultagent/tests/gtest/SetDefaultBrowserTest.cpp @@ -6,7 +6,6 @@ #include "gtest/gtest.h" #include <windows.h> -#include "mozilla/UniquePtr.h" #include "WindowsUserChoice.h" #include "SetDefaultBrowser.h" diff --git a/toolkit/system/gnome/nsAlertsIconListener.cpp b/toolkit/system/gnome/nsAlertsIconListener.cpp @@ -17,7 +17,6 @@ #include "mozilla/XREAppData.h" #include "mozilla/GRefPtr.h" #include "mozilla/GUniquePtr.h" -#include "mozilla/UniquePtrExtensions.h" #include <dlfcn.h> #include <gdk/gdk.h> diff --git a/toolkit/system/gnome/nsGIOService.cpp b/toolkit/system/gnome/nsGIOService.cpp @@ -15,7 +15,6 @@ #include "nsPrintfCString.h" #include "mozilla/GRefPtr.h" #include "mozilla/GUniquePtr.h" -#include "mozilla/UniquePtrExtensions.h" #include "mozilla/WidgetUtilsGtk.h" #include "mozilla/ScopeExit.h" #include "mozilla/StaticPrefs_widget.h" diff --git a/toolkit/xre/AssembleCmdLine.h b/toolkit/xre/AssembleCmdLine.h @@ -9,8 +9,6 @@ #if defined(XP_WIN) -# include "mozilla/UniquePtr.h" - # include <stdlib.h> # include <windows.h> diff --git a/toolkit/xre/MacLaunchHelper.mm b/toolkit/xre/MacLaunchHelper.mm @@ -7,7 +7,6 @@ #include "MacAutoreleasePool.h" #include "MacUtils.h" -#include "mozilla/UniquePtr.h" #include <Cocoa/Cocoa.h> #include <crt_externs.h> diff --git a/toolkit/xre/dllservices/mozglue/LoaderObserver.h b/toolkit/xre/dllservices/mozglue/LoaderObserver.h @@ -11,7 +11,6 @@ #include "mozilla/LoaderAPIInterfaces.h" #include "mozilla/glue/WindowsDllServices.h" #include "mozilla/glue/WinUtils.h" -#include "mozilla/UniquePtr.h" namespace mozilla { namespace glue { diff --git a/toolkit/xre/dllservices/mozglue/nsWindowsDllInterceptor.h b/toolkit/xre/dllservices/mozglue/nsWindowsDllInterceptor.h @@ -20,7 +20,6 @@ #include "mozilla/NativeNt.h" #include "mozilla/Types.h" -#include "mozilla/UniquePtr.h" #include "mozilla/Vector.h" #include "mozilla/interceptor/MMPolicies.h" #include "mozilla/interceptor/PatcherDetour.h" diff --git a/tools/profiler/core/ProfilerBacktrace.h b/tools/profiler/core/ProfilerBacktrace.h @@ -10,7 +10,6 @@ #include "ProfileBuffer.h" #include "mozilla/ProfileBufferEntrySerialization.h" -#include "mozilla/UniquePtrExtensions.h" #include <string> diff --git a/tools/profiler/core/ProfilerCPUFreq.h b/tools/profiler/core/ProfilerCPUFreq.h @@ -6,7 +6,6 @@ #define TOOLS_PROFILERCPUFREQ_H_ #include "PlatformMacros.h" -#include "mozilla/UniquePtr.h" #include "mozilla/Vector.h" #if defined(GP_OS_windows) || defined(GP_OS_linux) || defined(GP_OS_android) diff --git a/uriloader/exthandler/win/nsOSHelperAppService.cpp b/uriloader/exthandler/win/nsOSHelperAppService.cpp @@ -16,7 +16,6 @@ #include "nsLocalFile.h" #include "nsIWindowsRegKey.h" #include "nsXULAppAPI.h" -#include "mozilla/UniquePtrExtensions.h" // shellapi.h is needed to build with WIN32_LEAN_AND_MEAN #include <shellapi.h> diff --git a/view/nsView.h b/view/nsView.h @@ -17,7 +17,6 @@ #include "mozilla/Attributes.h" #include "mozilla/CallState.h" #include "mozilla/EventForwards.h" -#include "mozilla/UniquePtr.h" class nsViewManager; class nsIWidget; diff --git a/widget/android/AndroidBridge.cpp b/widget/android/AndroidBridge.cpp @@ -32,7 +32,6 @@ #include "EventDispatcher.h" #include "mozilla/TimeStamp.h" -#include "mozilla/UniquePtr.h" #include "WidgetUtils.h" #include "mozilla/java/EventDispatcherWrappers.h" diff --git a/widget/android/jni/Utils.h b/widget/android/jni/Utils.h @@ -11,8 +11,6 @@ #include "nsIRunnable.h" -#include "mozilla/UniquePtr.h" - #if defined(DEBUG) || !defined(RELEASE_OR_BETA) # define MOZ_CHECK_JNI #endif diff --git a/widget/android/nsWindow.h b/widget/android/nsWindow.h @@ -21,7 +21,6 @@ #include "mozilla/Mutex.h" #include "mozilla/StaticPtr.h" #include "mozilla/TextRange.h" -#include "mozilla/UniquePtr.h" struct ANPEvent; diff --git a/widget/cocoa/nsChildView.h b/widget/cocoa/nsChildView.h @@ -23,7 +23,6 @@ #include "mozilla/Mutex.h" #include "nsRegion.h" #include "mozilla/MouseEvents.h" -#include "mozilla/UniquePtr.h" #include "mozilla/webrender/WebRenderTypes.h" #include "nsString.h" diff --git a/widget/cocoa/nsMenuBarX.h b/widget/cocoa/nsMenuBarX.h @@ -8,7 +8,6 @@ #import <Cocoa/Cocoa.h> -#include "mozilla/UniquePtr.h" #include "mozilla/WeakPtr.h" #include "nsISupports.h" diff --git a/widget/gtk/AsyncDBus.cpp b/widget/gtk/AsyncDBus.cpp @@ -5,7 +5,6 @@ #include "AsyncDBus.h" #include "gio/gio.h" -#include "mozilla/UniquePtrExtensions.h" #include "mozilla/XREAppData.h" namespace mozilla::widget { diff --git a/widget/gtk/MPRISServiceHandler.cpp b/widget/gtk/MPRISServiceHandler.cpp @@ -14,7 +14,6 @@ #include "mozilla/dom/MediaControlUtils.h" #include "mozilla/GRefPtr.h" #include "mozilla/GUniquePtr.h" -#include "mozilla/UniquePtrExtensions.h" #include "mozilla/Maybe.h" #include "mozilla/ScopeExit.h" #include "mozilla/Sprintf.h" diff --git a/widget/gtk/WaylandVsyncSource.cpp b/widget/gtk/WaylandVsyncSource.cpp @@ -7,7 +7,6 @@ #ifdef MOZ_WAYLAND # include "WaylandVsyncSource.h" -# include "mozilla/UniquePtr.h" # include "nsThreadUtils.h" # include "nsISupportsImpl.h" # include "MainThreadUtils.h" diff --git a/widget/gtk/nsClipboard.h b/widget/gtk/nsClipboard.h @@ -10,7 +10,6 @@ #include "mozilla/Maybe.h" #include "mozilla/Span.h" -#include "mozilla/UniquePtr.h" #include "nsBaseClipboard.h" #include "nsIClipboard.h" #include "nsIObserver.h" diff --git a/widget/gtk/nsUserIdleServiceGTK.cpp b/widget/gtk/nsUserIdleServiceGTK.cpp @@ -22,7 +22,6 @@ # include "AsyncDBus.h" # include "WakeLockListener.h" # include "nsIObserverService.h" -# include "mozilla/UniquePtrExtensions.h" #endif using mozilla::LogLevel; diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp @@ -67,7 +67,6 @@ #include "mozilla/TextEventDispatcher.h" #include "mozilla/TextEvents.h" #include "mozilla/TimeStamp.h" -#include "mozilla/UniquePtrExtensions.h" #include "mozilla/WidgetUtils.h" #include "mozilla/WritingModes.h" #ifdef MOZ_X11 diff --git a/widget/nsDragServiceProxy.cpp b/widget/nsDragServiceProxy.cpp @@ -9,7 +9,6 @@ #include "mozilla/dom/BrowserChild.h" #include "mozilla/gfx/2D.h" #include "mozilla/net/CookieJarSettings.h" -#include "mozilla/UniquePtr.h" #include "mozilla/widget/WidgetLogging.h" #include "nsContentUtils.h" diff --git a/widget/uikit/GfxInfo.h b/widget/uikit/GfxInfo.h @@ -12,7 +12,6 @@ #include "GfxDriverInfo.h" #include "nsString.h" -#include "mozilla/UniquePtr.h" namespace mozilla { diff --git a/widget/windows/filedialog/WinFileDialogCommands.cpp b/widget/windows/filedialog/WinFileDialogCommands.cpp @@ -13,7 +13,6 @@ #include "WinUtils.h" #include "mozilla/Logging.h" #include "mozilla/RefPtr.h" -#include "mozilla/UniquePtrExtensions.h" #include "mozilla/WinHeaderOnlyUtils.h" #include "mozilla/ipc/LaunchError.h" #include "mozilla/ipc/ProtocolUtils.h" diff --git a/widget/windows/nsWindowGfx.cpp b/widget/windows/nsWindowGfx.cpp @@ -35,7 +35,6 @@ #include "mozilla/gfx/Tools.h" #include "mozilla/RefPtr.h" #include "mozilla/SVGImageContext.h" -#include "mozilla/UniquePtrExtensions.h" #include "nsGfxCIID.h" #include "gfxContext.h" #include "WinUtils.h" diff --git a/xpcom/base/DebuggerOnGCRunnable.h b/xpcom/base/DebuggerOnGCRunnable.h @@ -10,7 +10,6 @@ #include <utility> #include "js/GCAPI.h" -#include "mozilla/UniquePtr.h" #include "nsThreadUtils.h" namespace mozilla { diff --git a/xpcom/build/FileLocation.cpp b/xpcom/build/FileLocation.cpp @@ -8,8 +8,6 @@ #include "nsZipArchive.h" #include "nsURLHelper.h" -#include "mozilla/UniquePtrExtensions.h" - namespace mozilla { FileLocation::FileLocation() = default; diff --git a/xpcom/build/XPCOMInit.cpp b/xpcom/build/XPCOMInit.cpp @@ -94,7 +94,6 @@ #ifdef MOZ_PHC # include "mozilla/PHCManager.h" #endif -#include "mozilla/UniquePtr.h" #include "mozilla/ServoStyleConsts.h" #include "mozilla/ipc/GeckoChildProcessHost.h" diff --git a/xpcom/build/XREChildData.h b/xpcom/build/XREChildData.h @@ -7,8 +7,6 @@ #ifndef XREChildData_h #define XREChildData_h -#include "mozilla/UniquePtr.h" - #if defined(XP_WIN) && defined(MOZ_SANDBOX) # include "mozilla/sandboxing/loggingTypes.h" diff --git a/xpcom/components/ManifestParser.cpp b/xpcom/components/ManifestParser.cpp @@ -5,7 +5,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "mozilla/Printf.h" -#include "mozilla/UniquePtr.h" #include "ManifestParser.h" diff --git a/xpcom/components/nsComponentManager.h b/xpcom/components/nsComponentManager.h @@ -19,7 +19,6 @@ #include "mozilla/MemoryReporting.h" #include "mozilla/Module.h" #include "mozilla/Monitor.h" -#include "mozilla/UniquePtr.h" #include "nsXULAppAPI.h" #include "nsIFactory.h" #include "nsIInterfaceRequestor.h" diff --git a/xpcom/ds/CycleCollectedUniquePtr.h b/xpcom/ds/CycleCollectedUniquePtr.h @@ -7,7 +7,6 @@ #ifndef mozilla_CycleCollectedUniquePtr_h__ #define mozilla_CycleCollectedUniquePtr_h__ -#include "mozilla/UniquePtr.h" #include "nsCycleCollectionContainerParticipant.h" namespace mozilla { diff --git a/xpcom/ds/nsTHashMap.h b/xpcom/ds/nsTHashMap.h @@ -9,7 +9,6 @@ #include "mozilla/Attributes.h" #include "mozilla/RefPtr.h" -#include "mozilla/UniquePtr.h" #include "nsBaseHashtable.h" #include "nsCOMPtr.h" #include "nsHashKeys.h" diff --git a/xpcom/tests/gtest/TestLogCommandLineHandler.cpp b/xpcom/tests/gtest/TestLogCommandLineHandler.cpp @@ -9,8 +9,6 @@ #include <iterator> #include "nsString.h" #include "nsTArray.h" -#include "mozilla/UniquePtr.h" -#include "mozilla/UniquePtrExtensions.h" #include "gtest/gtest.h" using namespace mozilla; diff --git a/xpcom/threads/WinHandleWatcher.h b/xpcom/threads/WinHandleWatcher.h @@ -11,7 +11,6 @@ #include "mozilla/AlreadyAddRefed.h" #include "mozilla/RefPtr.h" -#include "mozilla/UniquePtr.h" #include "nsIEventTarget.h" #include "nsIRunnable.h" diff --git a/xpcom/threads/nsThread.h b/xpcom/threads/nsThread.h @@ -20,7 +20,6 @@ #include "mozilla/RefPtr.h" #include "mozilla/TaskDispatcher.h" #include "mozilla/TimeStamp.h" -#include "mozilla/UniquePtr.h" #include "nsIDirectTaskDispatcher.h" #include "nsIEventTarget.h" #include "nsISerialEventTarget.h"