commit 1e9b33083ebb11477e74ca2b2a9c6f0edc32ca42 parent 4ab0445514bf0b80dc15297fd128e7ace4f4e582 Author: serge-sans-paille <sguelton@mozilla.com> Date: Sun, 26 Oct 2025 16:57:17 +0000 Bug 1993127 - Remove unused inclusion of Attributes.h r=emilio,extension-reviewers,application-update-reviewers,profiler-reviewers,win-reviewers,gstoll,bytesized,robwu,canaltinova Differential Revision: https://phabricator.services.mozilla.com/D269718 Diffstat:
157 files changed, 1 insertion(+), 172 deletions(-)
diff --git a/editor/libeditor/EditorLineBreak.h b/editor/libeditor/EditorLineBreak.h @@ -10,7 +10,6 @@ #include "EditorForwards.h" #include "EditorUtils.h" -#include "mozilla/Attributes.h" #include "mozilla/Maybe.h" #include "mozilla/dom/Element.h" #include "mozilla/dom/HTMLBRElement.h" diff --git a/editor/libeditor/HTMLAnonymousNodeEditor.cpp b/editor/libeditor/HTMLAnonymousNodeEditor.cpp @@ -7,7 +7,6 @@ #include "CSSEditUtils.h" #include "HTMLEditUtils.h" -#include "mozilla/Attributes.h" #include "mozilla/PresShell.h" #include "mozilla/PresShellInlines.h" #include "mozilla/dom/BindContext.h" diff --git a/editor/spellchecker/EditorSpellCheck.cpp b/editor/spellchecker/EditorSpellCheck.cpp @@ -10,7 +10,6 @@ #include "HTMLEditor.h" // for HTMLEditor #include "TextServicesDocument.h" // for TextServicesDocument -#include "mozilla/Attributes.h" // for final #include "mozilla/dom/Element.h" // for Element #include "mozilla/dom/Promise.h" #include "mozilla/dom/Selection.h" diff --git a/extensions/auth/nsAuthGSSAPI.h b/extensions/auth/nsAuthGSSAPI.h @@ -9,7 +9,6 @@ #include "nsAuth.h" #include "nsIAuthModule.h" #include "nsString.h" -#include "mozilla/Attributes.h" #define GSS_USE_FUNCTION_POINTERS 1 diff --git a/extensions/auth/nsAuthSambaNTLM.h b/extensions/auth/nsAuthSambaNTLM.h @@ -11,7 +11,6 @@ #include "nsCOMPtr.h" #include "prio.h" #include "prproces.h" -#include "mozilla/Attributes.h" #include "mozilla/UniquePtrExtensions.h" /** diff --git a/image/DecoderFactory.h b/image/DecoderFactory.h @@ -8,7 +8,6 @@ #define mozilla_image_DecoderFactory_h #include "DecoderFlags.h" -#include "mozilla/Attributes.h" #include "mozilla/Maybe.h" #include "mozilla/NotNull.h" #include "mozilla/gfx/2D.h" diff --git a/image/ImgDrawResult.h b/image/ImgDrawResult.h @@ -7,7 +7,6 @@ #define mozilla_image_ImgDrawResult_h #include <cstdint> // for uint8_t -#include "mozilla/Attributes.h" #include "mozilla/Likely.h" namespace mozilla { diff --git a/image/RasterImage.h b/image/RasterImage.h @@ -29,7 +29,6 @@ #include "ISurfaceProvider.h" #include "Orientation.h" #include "mozilla/AtomicBitfields.h" -#include "mozilla/Attributes.h" #include "mozilla/Maybe.h" #include "mozilla/MemoryReporting.h" #include "mozilla/NotNull.h" diff --git a/image/SVGDocumentWrapper.h b/image/SVGDocumentWrapper.h @@ -8,8 +8,6 @@ #ifndef mozilla_image_SVGDocumentWrapper_h #define mozilla_image_SVGDocumentWrapper_h -#include "mozilla/Attributes.h" - #include "nsCOMPtr.h" #include "nsIStreamListener.h" #include "nsIObserver.h" diff --git a/image/decoders/icon/android/nsIconChannel.h b/image/decoders/icon/android/nsIconChannel.h @@ -6,8 +6,6 @@ #ifndef mozilla_image_decoders_icon_android_nsIconChannel_h #define mozilla_image_decoders_icon_android_nsIconChannel_h -#include "mozilla/Attributes.h" - #include "nsIChannel.h" #include "nsIURI.h" #include "nsCOMPtr.h" diff --git a/image/decoders/icon/gtk/nsIconChannel.h b/image/decoders/icon/gtk/nsIconChannel.h @@ -6,8 +6,6 @@ #ifndef mozilla_image_decoders_icon_gtk_nsIconChannel_h #define mozilla_image_decoders_icon_gtk_nsIconChannel_h -#include "mozilla/Attributes.h" - #include "nsIChannel.h" #include "nsIURI.h" #include "nsCOMPtr.h" diff --git a/image/decoders/icon/mac/nsIconChannel.h b/image/decoders/icon/mac/nsIconChannel.h @@ -7,8 +7,6 @@ #ifndef mozilla_image_encoders_icon_mac_nsIconChannel_h #define mozilla_image_encoders_icon_mac_nsIconChannel_h -#include "mozilla/Attributes.h" - #include "nsCOMPtr.h" #include "nsString.h" #include "nsIChannel.h" diff --git a/image/decoders/icon/win/nsIconChannel.h b/image/decoders/icon/win/nsIconChannel.h @@ -7,7 +7,6 @@ #ifndef mozilla_image_encoders_icon_win_nsIconChannel_h #define mozilla_image_encoders_icon_win_nsIconChannel_h -#include "mozilla/Attributes.h" #include "mozilla/MozPromise.h" #include "nsCOMPtr.h" diff --git a/image/encoders/bmp/nsBMPEncoder.h b/image/encoders/bmp/nsBMPEncoder.h @@ -6,7 +6,6 @@ #ifndef mozilla_image_encoders_bmp_nsBMPEncoder_h #define mozilla_image_encoders_bmp_nsBMPEncoder_h -#include "mozilla/Attributes.h" #include "mozilla/ReentrantMonitor.h" #include "mozilla/UniquePtr.h" diff --git a/image/encoders/ico/nsICOEncoder.h b/image/encoders/ico/nsICOEncoder.h @@ -5,7 +5,6 @@ #ifndef mozilla_image_encoders_ico_nsICOEncoder_h #define mozilla_image_encoders_ico_nsICOEncoder_h -#include "mozilla/Attributes.h" #include "mozilla/ReentrantMonitor.h" #include "mozilla/image/ICOFileHeaders.h" diff --git a/image/imgLoader.cpp b/image/imgLoader.cpp @@ -20,7 +20,6 @@ #include "ImageLogging.h" #include "ReferrerInfo.h" #include "imgRequestProxy.h" -#include "mozilla/Attributes.h" #include "mozilla/BasePrincipal.h" #include "mozilla/ChaosMode.h" #include "mozilla/ClearOnShutdown.h" diff --git a/image/imgLoader.h b/image/imgLoader.h @@ -7,7 +7,6 @@ #ifndef mozilla_image_imgLoader_h #define mozilla_image_imgLoader_h -#include "mozilla/Attributes.h" #include "mozilla/CORSMode.h" #include "mozilla/Maybe.h" #include "mozilla/Mutex.h" diff --git a/intl/uconv/nsConverterOutputStream.h b/intl/uconv/nsConverterOutputStream.h @@ -8,7 +8,6 @@ #include "nsIConverterOutputStream.h" #include "nsCOMPtr.h" -#include "mozilla/Attributes.h" #include "mozilla/Encoding.h" class nsIOutputStream; diff --git a/ipc/chromium/src/base/pickle.h b/ipc/chromium/src/base/pickle.h @@ -13,7 +13,6 @@ #include "base/logging.h" #include "base/string16.h" -#include "mozilla/Attributes.h" #include "mozilla/BufferList.h" #include "mozilla/mozalloc.h" #include "mozilla/TimeStamp.h" diff --git a/ipc/glue/BackgroundChild.h b/ipc/glue/BackgroundChild.h @@ -7,8 +7,6 @@ #ifndef mozilla_ipc_backgroundchild_h__ #define mozilla_ipc_backgroundchild_h__ -#include "mozilla/Attributes.h" - class nsIEventTarget; namespace mozilla { diff --git a/ipc/glue/BackgroundParent.h b/ipc/glue/BackgroundParent.h @@ -8,7 +8,6 @@ #define mozilla_ipc_backgroundparent_h__ #include "base/process.h" -#include "mozilla/Attributes.h" #include "mozilla/dom/ContentParent.h" #include "nsStringFwd.h" #include "nsTArrayForwardDeclare.h" diff --git a/ipc/glue/BackgroundUtils.h b/ipc/glue/BackgroundUtils.h @@ -8,7 +8,6 @@ #define mozilla_ipc_backgroundutils_h__ #include "ipc/IPCMessageUtils.h" -#include "mozilla/Attributes.h" #include "mozilla/OriginAttributes.h" #include "nsCOMPtr.h" #include "nscore.h" diff --git a/ipc/glue/FileDescriptorUtils.h b/ipc/glue/FileDescriptorUtils.h @@ -7,7 +7,6 @@ #ifndef mozilla_ipc_FileDescriptorUtils_h #define mozilla_ipc_FileDescriptorUtils_h -#include "mozilla/Attributes.h" #include "mozilla/ipc/FileDescriptor.h" #include "nsThreadUtils.h" #include <stdio.h> diff --git a/ipc/glue/IdleSchedulerChild.h b/ipc/glue/IdleSchedulerChild.h @@ -8,7 +8,6 @@ #define mozilla_ipc_IdleSchedulerChild_h__ #include "mozilla/Assertions.h" -#include "mozilla/Attributes.h" #include "mozilla/RefPtr.h" #include "mozilla/ipc/PIdleSchedulerChild.h" #include "mozilla/ipc/SharedMemoryMapping.h" diff --git a/ipc/glue/IdleSchedulerParent.h b/ipc/glue/IdleSchedulerParent.h @@ -9,7 +9,6 @@ #include "mozilla/Assertions.h" #include "mozilla/Atomics.h" -#include "mozilla/Attributes.h" #include "mozilla/LinkedList.h" #include "mozilla/RefPtr.h" #include "mozilla/ipc/PIdleSchedulerParent.h" diff --git a/ipc/glue/MessagePump.h b/ipc/glue/MessagePump.h @@ -15,7 +15,6 @@ #endif #include "base/time.h" -#include "mozilla/Attributes.h" #include "mozilla/Mutex.h" #include "nsCOMPtr.h" #include "nsIThreadInternal.h" diff --git a/ipc/glue/Shmem.h b/ipc/glue/Shmem.h @@ -7,8 +7,6 @@ #ifndef mozilla_ipc_Shmem_h #define mozilla_ipc_Shmem_h -#include "mozilla/Attributes.h" - #include "base/basictypes.h" #include "base/process.h" #include "chrome/common/ipc_message_utils.h" diff --git a/ipc/glue/nsIIPCSerializableInputStream.h b/ipc/glue/nsIIPCSerializableInputStream.h @@ -7,7 +7,6 @@ #ifndef mozilla_ipc_nsIIPCSerializableInputStream_h #define mozilla_ipc_nsIIPCSerializableInputStream_h -#include "mozilla/Attributes.h" #include "mozilla/Maybe.h" #include "nsISupports.h" #include "nsTArrayForwardDeclare.h" diff --git a/ipc/mscom/AgileReference.h b/ipc/mscom/AgileReference.h @@ -7,7 +7,6 @@ #ifndef mozilla_mscom_AgileReference_h #define mozilla_mscom_AgileReference_h -#include "mozilla/Attributes.h" #include "mozilla/RefPtr.h" #include "mozilla/Result.h" #include "nsDebug.h" diff --git a/js/public/Debug.h b/js/public/Debug.h @@ -10,7 +10,6 @@ #define js_Debug_h #include "mozilla/Assertions.h" -#include "mozilla/Attributes.h" #include "mozilla/BaseProfilerUtils.h" #include "mozilla/MemoryReporting.h" #include "mozilla/Vector.h" diff --git a/js/public/GlobalObject.h b/js/public/GlobalObject.h @@ -7,8 +7,6 @@ #ifndef js_GlobalObject_h #define js_GlobalObject_h -#include "mozilla/Attributes.h" - #include "jstypes.h" #include "js/TypeDecls.h" diff --git a/js/public/UbiNodeDominatorTree.h b/js/public/UbiNodeDominatorTree.h @@ -7,7 +7,6 @@ #ifndef js_UbiNodeDominatorTree_h #define js_UbiNodeDominatorTree_h -#include "mozilla/Attributes.h" #include "mozilla/DebugOnly.h" #include "mozilla/Maybe.h" #include "mozilla/UniquePtr.h" diff --git a/js/public/UbiNodePostOrder.h b/js/public/UbiNodePostOrder.h @@ -7,8 +7,6 @@ #ifndef js_UbiNodePostOrder_h #define js_UbiNodePostOrder_h -#include "mozilla/Attributes.h" - #include <utility> #include "js/UbiNode.h" diff --git a/js/public/friend/MicroTask.h b/js/public/friend/MicroTask.h @@ -7,8 +7,6 @@ #ifndef js_friend_MicroTask_h #define js_friend_MicroTask_h -#include "mozilla/Attributes.h" - #include "jstypes.h" #include "js/GCPolicyAPI.h" diff --git a/js/src/wasm/WasmProcess.cpp b/js/src/wasm/WasmProcess.cpp @@ -18,8 +18,6 @@ #include "wasm/WasmProcess.h" -#include "mozilla/Attributes.h" - #include "gc/Memory.h" #include "threading/ExclusiveData.h" #include "vm/MutexIDs.h" diff --git a/js/xpconnect/src/ExecutionTracerIntegration.cpp b/js/xpconnect/src/ExecutionTracerIntegration.cpp @@ -6,7 +6,6 @@ #include "ExecutionTracerIntegration.h" -#include "mozilla/Attributes.h" #include "mozilla/dom/Attr.h" #include "mozilla/dom/BindingUtils.h" #include "mozilla/dom/Document.h" diff --git a/js/xpconnect/src/XPCJSID.cpp b/js/xpconnect/src/XPCJSID.cpp @@ -8,7 +8,6 @@ #include "xpcprivate.h" #include "mozilla/dom/BindingUtils.h" -#include "mozilla/Attributes.h" #include "js/Object.h" // JS::GetClass, JS::GetReservedSlot #include "js/PropertyAndElement.h" // JS_DefineFunction, JS_DefineFunctionById, JS_DefineProperty, JS_DefinePropertyById #include "js/Symbol.h" diff --git a/js/xpconnect/src/XPCJSWeakReference.h b/js/xpconnect/src/XPCJSWeakReference.h @@ -9,7 +9,6 @@ #include "xpcIJSWeakReference.h" #include "nsIWeakReferenceUtils.h" -#include "mozilla/Attributes.h" class xpcJSWeakReference final : public xpcIJSWeakReference { ~xpcJSWeakReference() = default; diff --git a/js/xpconnect/src/nsIXPConnect.h b/js/xpconnect/src/nsIXPConnect.h @@ -14,7 +14,6 @@ #include "jspubtd.h" #include "js/CompileOptions.h" #include "js/TypeDecls.h" -#include "mozilla/Attributes.h" #include "xptinfo.h" #include "nsCOMPtr.h" diff --git a/js/xpconnect/tests/components/native/xpctest_private.h b/js/xpconnect/tests/components/native/xpctest_private.h @@ -15,7 +15,6 @@ #include "xpctest_params.h" #include "xpctest_returncode.h" #include "xpctest_cenums.h" -#include "mozilla/Attributes.h" #include "mozilla/ModuleUtils.h" nsresult xpcTestRegisterComponents(); diff --git a/js/xpconnect/wrappers/ChromeObjectWrapper.h b/js/xpconnect/wrappers/ChromeObjectWrapper.h @@ -7,8 +7,6 @@ #ifndef __ChromeObjectWrapper_h__ #define __ChromeObjectWrapper_h__ -#include "mozilla/Attributes.h" - #include "FilteringWrapper.h" namespace xpc { diff --git a/js/xpconnect/wrappers/FilteringWrapper.h b/js/xpconnect/wrappers/FilteringWrapper.h @@ -8,7 +8,6 @@ #define __FilteringWrapper_h__ #include "XrayWrapper.h" -#include "mozilla/Attributes.h" #include "mozilla/Maybe.h" #include "js/CallNonGenericMethod.h" #include "js/Wrapper.h" diff --git a/js/xpconnect/wrappers/WaiveXrayWrapper.h b/js/xpconnect/wrappers/WaiveXrayWrapper.h @@ -7,7 +7,6 @@ #ifndef __CrossOriginWrapper_h__ #define __CrossOriginWrapper_h__ -#include "mozilla/Attributes.h" #include "mozilla/Maybe.h" #include "js/Wrapper.h" diff --git a/memory/build/mozmemory.h b/memory/build/mozmemory.h @@ -22,7 +22,6 @@ #endif #include "mozmemory_wrap.h" -#include "mozilla/Attributes.h" #include "mozilla/Types.h" #include "mozjemalloc_types.h" #include "malloc_decls.h" diff --git a/memory/mozalloc/mozalloc_abort.h b/memory/mozalloc/mozalloc_abort.h @@ -8,7 +8,6 @@ #ifndef mozilla_mozalloc_abort_h #define mozilla_mozalloc_abort_h -#include "mozilla/Attributes.h" #include "mozilla/Types.h" /** diff --git a/memory/mozalloc/msvc_raise_wrappers.cpp b/memory/mozalloc/msvc_raise_wrappers.cpp @@ -7,6 +7,7 @@ #include <exception> #include "mozalloc_abort.h" +#include "mozilla/Attributes.h" static void __cdecl RaiseHandler(const std::exception& e) { mozalloc_abort(e.what()); diff --git a/mfbt/LinkedList.h b/mfbt/LinkedList.h @@ -69,7 +69,6 @@ #include <utility> #include "mozilla/Assertions.h" -#include "mozilla/Attributes.h" #include "mozilla/MemoryReporting.h" #include "mozilla/RefPtr.h" diff --git a/mfbt/MemoryChecking.h b/mfbt/MemoryChecking.h @@ -34,7 +34,6 @@ #if defined(MOZ_ASAN) # include <stddef.h> -# include "mozilla/Attributes.h" # include "mozilla/Types.h" # ifdef _MSC_VER diff --git a/mfbt/ReverseIterator.h b/mfbt/ReverseIterator.h @@ -13,8 +13,6 @@ #include <utility> -#include "mozilla/Attributes.h" - namespace mozilla { // This should only be used in cases where std::reverse_iterator cannot be used, diff --git a/mfbt/SPSCQueue.h b/mfbt/SPSCQueue.h @@ -10,7 +10,6 @@ #define mozilla_LockFreeQueue_h #include "mozilla/Assertions.h" -#include "mozilla/Attributes.h" #include "mozilla/PodOperations.h" #include <algorithm> #include <atomic> diff --git a/mfbt/SplayTree.h b/mfbt/SplayTree.h @@ -13,7 +13,6 @@ #define mozilla_SplayTree_h #include "mozilla/Assertions.h" -#include "mozilla/Attributes.h" namespace mozilla { diff --git a/mfbt/ThreadLocal.h b/mfbt/ThreadLocal.h @@ -16,7 +16,6 @@ #include <type_traits> #include "mozilla/Assertions.h" -#include "mozilla/Attributes.h" namespace mozilla { diff --git a/mfbt/ThreadSafety.h b/mfbt/ThreadSafety.h @@ -20,7 +20,6 @@ #ifndef mozilla_ThreadSafety_h #define mozilla_ThreadSafety_h -#include "mozilla/Attributes.h" #if defined(__clang__) && (__clang_major__ >= 11) && !defined(SWIG) # define MOZ_THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x)) diff --git a/mfbt/TypedEnumBits.h b/mfbt/TypedEnumBits.h @@ -11,7 +11,6 @@ #ifndef mozilla_TypedEnumBits_h #define mozilla_TypedEnumBits_h -#include "mozilla/Attributes.h" #include "mozilla/IntegerTypeTraits.h" namespace mozilla { diff --git a/modules/libjar/nsJAR.h b/modules/libjar/nsJAR.h @@ -25,7 +25,6 @@ #include "nsZipArchive.h" #include "nsWeakReference.h" #include "nsIObserver.h" -#include "mozilla/Attributes.h" class nsZipReaderCache; diff --git a/modules/libjar/nsJARInputStream.h b/modules/libjar/nsJARInputStream.h @@ -10,7 +10,6 @@ #include "nsIInputStream.h" #include "nsJAR.h" #include "nsTArray.h" -#include "mozilla/Attributes.h" /*------------------------------------------------------------------------- * Class nsJARInputStream declaration. This class defines the type of the diff --git a/modules/libjar/nsZipArchive.h b/modules/libjar/nsZipArchive.h @@ -6,8 +6,6 @@ #ifndef nsZipArchive_h_ #define nsZipArchive_h_ -#include "mozilla/Attributes.h" - #define ZIP_TABSIZE 256 #define ZIP_BUFLEN \ (4 * 1024) /* Used as output buffer when deflating items to a file */ diff --git a/modules/libjar/zipwriter/nsDeflateConverter.h b/modules/libjar/zipwriter/nsDeflateConverter.h @@ -10,7 +10,6 @@ #include "nsCOMPtr.h" #include "nsIThreadRetargetableStreamListener.h" #include "zlib.h" -#include "mozilla/Attributes.h" #define DEFLATECONVERTER_CID \ {0x461cd5dd, 0x73c6, 0x47a4, {0x8c, 0xc3, 0x60, 0x3b, 0x37, 0xd8, 0x4a, 0x61}} diff --git a/modules/libjar/zipwriter/nsZipDataStream.h b/modules/libjar/zipwriter/nsZipDataStream.h @@ -9,7 +9,6 @@ #include "nsZipWriter.h" #include "nsIOutputStream.h" #include "nsIStreamListener.h" -#include "mozilla/Attributes.h" class nsZipDataStream final : public nsIStreamListener { public: diff --git a/modules/libjar/zipwriter/nsZipHeader.h b/modules/libjar/zipwriter/nsZipHeader.h @@ -10,7 +10,6 @@ #include "nsIOutputStream.h" #include "nsIInputStream.h" #include "nsIZipReader.h" -#include "mozilla/Attributes.h" #include "mozilla/UniquePtr.h" // High word is S_IFREG, low word is DOS file attribute diff --git a/modules/libjar/zipwriter/nsZipWriter.h b/modules/libjar/zipwriter/nsZipWriter.h @@ -13,7 +13,6 @@ #include "nsCOMArray.h" #include "nsTArray.h" #include "nsTHashMap.h" -#include "mozilla/Attributes.h" #define ZIPWRITER_CONTRACTID "@mozilla.org/zipwriter;1" #define ZIPWRITER_CID \ diff --git a/mozglue/baseprofiler/public/ProportionValue.h b/mozglue/baseprofiler/public/ProportionValue.h @@ -7,8 +7,6 @@ #ifndef ProportionValue_h #define ProportionValue_h -#include "mozilla/Attributes.h" - #include <algorithm> #include <limits> diff --git a/mozglue/misc/PlatformConditionVariable.h b/mozglue/misc/PlatformConditionVariable.h @@ -11,7 +11,6 @@ #include <utility> -#include "mozilla/Attributes.h" #include "mozilla/PlatformMutex.h" #include "mozilla/TimeStamp.h" #if !defined(XP_WIN) && !defined(__wasi__) diff --git a/mozglue/misc/PlatformMutex.h b/mozglue/misc/PlatformMutex.h @@ -9,7 +9,6 @@ #include <utility> -#include "mozilla/Attributes.h" #include "mozilla/Types.h" #if !defined(XP_WIN) && !defined(__wasi__) diff --git a/parser/html/nsHtml5Module.cpp b/parser/html/nsHtml5Module.cpp @@ -4,7 +4,6 @@ #include "nsHtml5Module.h" #include "mozilla/AlreadyAddRefed.h" -#include "mozilla/Attributes.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" #include "mozilla/StaticPrefs_html5.h" diff --git a/parser/html/nsHtml5Speculation.h b/parser/html/nsHtml5Speculation.h @@ -10,7 +10,6 @@ #include "nsHtml5TreeOperation.h" #include "nsAHtml5TreeOpSink.h" #include "nsTArray.h" -#include "mozilla/Attributes.h" #include "mozilla/UniquePtr.h" class nsHtml5Speculation final : public nsAHtml5TreeOpSink { diff --git a/parser/html/nsParserUtils.h b/parser/html/nsParserUtils.h @@ -7,7 +7,6 @@ #define nsParserUtils_h #include "nsIParserUtils.h" -#include "mozilla/Attributes.h" class nsParserUtils final : public nsIParserUtils { ~nsParserUtils() {} diff --git a/parser/htmlparser/nsScanner.cpp b/parser/htmlparser/nsScanner.cpp @@ -8,7 +8,6 @@ #include "nsScanner.h" -#include "mozilla/Attributes.h" #include "mozilla/DebugOnly.h" #include "mozilla/Encoding.h" #include "mozilla/UniquePtr.h" diff --git a/security/manager/ssl/CryptoTask.h b/security/manager/ssl/CryptoTask.h @@ -7,7 +7,6 @@ #ifndef mozilla__CryptoTask_h #define mozilla__CryptoTask_h -#include "mozilla/Attributes.h" #include "nsThreadUtils.h" namespace mozilla { diff --git a/security/manager/ssl/NSSErrorsService.h b/security/manager/ssl/NSSErrorsService.h @@ -5,7 +5,6 @@ #ifndef NSSErrorsService_h #define NSSErrorsService_h -#include "mozilla/Attributes.h" #include "nsCOMPtr.h" #include "nsILineInputStream.h" #include "nsINSSErrorsService.h" diff --git a/security/manager/ssl/nsCertTree.h b/security/manager/ssl/nsCertTree.h @@ -12,7 +12,6 @@ #include "nsNSSComponent.h" #include "nsTArray.h" #include "PLDHashTable.h" -#include "mozilla/Attributes.h" /* Disable the "base class XXX should be explicitly initialized in the copy constructor" warning. */ diff --git a/security/manager/ssl/nsClientAuthRemember.h b/security/manager/ssl/nsClientAuthRemember.h @@ -9,7 +9,6 @@ #include <utility> -#include "mozilla/Attributes.h" #include "mozilla/DataMutex.h" #include "mozilla/HashFunctions.h" #include "mozilla/ReentrantMonitor.h" diff --git a/security/manager/ssl/nsNSSCallbacks.h b/security/manager/ssl/nsNSSCallbacks.h @@ -7,7 +7,6 @@ #ifndef nsNSSCallbacks_h #define nsNSSCallbacks_h -#include "mozilla/Attributes.h" #include "mozilla/BasePrincipal.h" #include "mozilla/TimeStamp.h" #include "mozilla/Vector.h" diff --git a/security/manager/ssl/nsNSSVersion.h b/security/manager/ssl/nsNSSVersion.h @@ -7,7 +7,6 @@ #define _NS_NSSVERSION_H_ #include "nsINSSVersion.h" -#include "mozilla/Attributes.h" class nsNSSVersion final : public nsINSSVersion { public: diff --git a/security/manager/ssl/nsRandomGenerator.h b/security/manager/ssl/nsRandomGenerator.h @@ -5,7 +5,6 @@ #ifndef nsRandomGenerator_h #define nsRandomGenerator_h -#include "mozilla/Attributes.h" #include "nsIRandomGenerator.h" #define NS_RANDOMGENERATOR_CID \ diff --git a/security/manager/ssl/tests/gtest/CertificateCompressionTest.cpp b/security/manager/ssl/tests/gtest/CertificateCompressionTest.cpp @@ -13,7 +13,6 @@ #include "nsServiceManagerUtils.h" #include "nsString.h" -#include "mozilla/Attributes.h" #include "gtest/gtest.h" diff --git a/security/sandbox/linux/SandboxBrokerClient.h b/security/sandbox/linux/SandboxBrokerClient.h @@ -10,8 +10,6 @@ #include "broker/SandboxBrokerCommon.h" #include "broker/SandboxBrokerUtils.h" -#include "mozilla/Attributes.h" - // This is the client for the sandbox broker described in // broker/SandboxBroker.h; its constructor takes the file descriptor // returned by SandboxBroker::Create, passed to the child over IPC. diff --git a/security/sandbox/linux/broker/SandboxBroker.h b/security/sandbox/linux/broker/SandboxBroker.h @@ -10,7 +10,6 @@ #include "mozilla/SandboxBrokerCommon.h" #include "base/platform_thread.h" -#include "mozilla/Attributes.h" #include "mozilla/RefPtr.h" #include "mozilla/UniquePtr.h" #include "nsTHashMap.h" diff --git a/storage/VacuumManager.h b/storage/VacuumManager.h @@ -11,7 +11,6 @@ #include "nsIObserver.h" #include "mozIStorageVacuumParticipant.h" #include "nsCategoryCache.h" -#include "mozilla/Attributes.h" namespace mozilla { namespace storage { diff --git a/storage/mozStorageArgValueArray.h b/storage/mozStorageArgValueArray.h @@ -8,7 +8,6 @@ #define mozStorageArgValueArray_h #include "mozIStorageValueArray.h" -#include "mozilla/Attributes.h" #include "sqlite3.h" diff --git a/storage/mozStorageAsyncStatement.h b/storage/mozStorageAsyncStatement.h @@ -15,7 +15,6 @@ #include "mozStorageStatementData.h" #include "mozIStorageAsyncStatement.h" #include "StorageBaseStatementInternal.h" -#include "mozilla/Attributes.h" namespace mozilla { namespace storage { diff --git a/storage/mozStorageAsyncStatementExecution.h b/storage/mozStorageAsyncStatementExecution.h @@ -11,7 +11,6 @@ #include "nsTArray.h" #include "mozilla/Mutex.h" #include "mozilla/TimeStamp.h" -#include "mozilla/Attributes.h" #include "nsThreadUtils.h" #include "SQLiteMutex.h" diff --git a/storage/mozStorageAsyncStatementParams.h b/storage/mozStorageAsyncStatementParams.h @@ -7,7 +7,6 @@ #ifndef mozilla_storage_mozStorageAsyncStatementParams_h_ #define mozilla_storage_mozStorageAsyncStatementParams_h_ -#include "mozilla/Attributes.h" #include "nsPIDOMWindow.h" #include "nsWrapperCache.h" diff --git a/storage/mozStorageBindingParamsArray.h b/storage/mozStorageBindingParamsArray.h @@ -9,7 +9,6 @@ #include "nsCOMPtr.h" #include "nsTArray.h" -#include "mozilla/Attributes.h" #include "mozIStorageBindingParamsArray.h" diff --git a/storage/mozStorageError.h b/storage/mozStorageError.h @@ -9,7 +9,6 @@ #include "mozIStorageError.h" #include "nsString.h" -#include "mozilla/Attributes.h" namespace mozilla { namespace storage { diff --git a/storage/mozStorageResultSet.h b/storage/mozStorageResultSet.h @@ -9,7 +9,6 @@ #include "mozIStorageResultSet.h" #include "nsCOMArray.h" -#include "mozilla/Attributes.h" class mozIStorageRow; namespace mozilla { diff --git a/storage/mozStorageRow.h b/storage/mozStorageRow.h @@ -10,7 +10,6 @@ #include "mozIStorageRow.h" #include "nsCOMArray.h" #include "nsTHashMap.h" -#include "mozilla/Attributes.h" class nsIVariant; struct sqlite3_stmt; diff --git a/storage/mozStorageService.cpp b/storage/mozStorageService.cpp @@ -5,7 +5,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "BaseVFS.h" -#include "mozilla/Attributes.h" #include "mozilla/DebugOnly.h" #include "mozilla/SpinEventLoopUntil.h" #include "nsIFile.h" diff --git a/storage/mozStorageStatement.h b/storage/mozStorageStatement.h @@ -16,7 +16,6 @@ #include "mozIStorageStatement.h" #include "mozIStorageValueArray.h" #include "StorageBaseStatementInternal.h" -#include "mozilla/Attributes.h" struct sqlite3_stmt; diff --git a/storage/mozStorageStatementParams.h b/storage/mozStorageStatementParams.h @@ -7,7 +7,6 @@ #ifndef MOZSTORAGESTATEMENTPARAMS_H #define MOZSTORAGESTATEMENTPARAMS_H -#include "mozilla/Attributes.h" #include "nsPIDOMWindow.h" #include "nsWrapperCache.h" diff --git a/storage/mozStorageStatementRow.h b/storage/mozStorageStatementRow.h @@ -7,7 +7,6 @@ #ifndef MOZSTORAGESTATEMENTROW_H #define MOZSTORAGESTATEMENTROW_H -#include "mozilla/Attributes.h" #include "nsPIDOMWindow.h" #include "nsWrapperCache.h" diff --git a/storage/test/gtest/test_async_callbacks_with_spun_event_loops.cpp b/storage/test/gtest/test_async_callbacks_with_spun_event_loops.cpp @@ -4,7 +4,6 @@ #include "storage_test_harness.h" #include "prthread.h" #include "nsIInterfaceRequestorUtils.h" -#include "mozilla/Attributes.h" #include "sqlite3.h" diff --git a/toolkit/components/autocomplete/nsAutoCompleteSimpleResult.h b/toolkit/components/autocomplete/nsAutoCompleteSimpleResult.h @@ -11,7 +11,6 @@ #include "nsString.h" #include "nsCOMPtr.h" #include "nsTArray.h" -#include "mozilla/Attributes.h" struct AutoCompleteSimpleResultMatch { AutoCompleteSimpleResultMatch(const nsAString& aValue, diff --git a/toolkit/components/backgroundhangmonitor/ThreadStackHelper.cpp b/toolkit/components/backgroundhangmonitor/ThreadStackHelper.cpp @@ -17,7 +17,6 @@ #include <utility> #include "mozilla/Assertions.h" -#include "mozilla/Attributes.h" #include "mozilla/BasePrincipal.h" #include "mozilla/HangTypes.h" #include "mozilla/IntegerPrintfMacros.h" diff --git a/toolkit/components/ctypes/tests/jsctypes-test-errno.h b/toolkit/components/ctypes/tests/jsctypes-test-errno.h @@ -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/Attributes.h" #include "mozilla/Types.h" #define EXPORT_CDECL(type) MOZ_EXPORT type diff --git a/toolkit/components/ctypes/tests/jsctypes-test-finalizer.h b/toolkit/components/ctypes/tests/jsctypes-test-finalizer.h @@ -3,7 +3,6 @@ * You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "jsctypes-test.h" -#include "mozilla/Attributes.h" #include "mozilla/Types.h" #define EXPORT_CDECL(type) MOZ_EXPORT type diff --git a/toolkit/components/ctypes/tests/jsctypes-test.h b/toolkit/components/ctypes/tests/jsctypes-test.h @@ -6,7 +6,6 @@ #ifndef jsctypes_test_h #define jsctypes_test_h -#include "mozilla/Attributes.h" #include "mozilla/Types.h" #include "jspubtd.h" #include "typedefs.h" diff --git a/toolkit/components/extensions/webidl-api/ExtensionAPI.h.in b/toolkit/components/extensions/webidl-api/ExtensionAPI.h.in @@ -8,7 +8,6 @@ #define mozilla_extensions_{{ webidl_name }}_h #include "js/TypeDecls.h" -#include "mozilla/Attributes.h" #include "mozilla/dom/BindingDeclarations.h" #include "nsCycleCollectionParticipant.h" #include "nsCOMPtr.h" diff --git a/toolkit/components/extensions/webidl-api/ExtensionAlarms.h b/toolkit/components/extensions/webidl-api/ExtensionAlarms.h @@ -8,7 +8,6 @@ #define mozilla_extensions_ExtensionAlarms_h #include "js/TypeDecls.h" -#include "mozilla/Attributes.h" #include "mozilla/dom/BindingDeclarations.h" #include "nsCycleCollectionParticipant.h" #include "nsCOMPtr.h" diff --git a/toolkit/components/extensions/webidl-api/ExtensionBrowserSettings.h b/toolkit/components/extensions/webidl-api/ExtensionBrowserSettings.h @@ -8,7 +8,6 @@ #define mozilla_extensions_ExtensionBrowserSettings_h #include "js/TypeDecls.h" -#include "mozilla/Attributes.h" #include "mozilla/dom/BindingDeclarations.h" #include "nsCycleCollectionParticipant.h" #include "nsCOMPtr.h" diff --git a/toolkit/components/extensions/webidl-api/ExtensionBrowserSettingsColorManagement.h b/toolkit/components/extensions/webidl-api/ExtensionBrowserSettingsColorManagement.h @@ -8,7 +8,6 @@ #define mozilla_extensions_ExtensionBrowserSettingsColorManagement_h #include "js/TypeDecls.h" -#include "mozilla/Attributes.h" #include "mozilla/dom/BindingDeclarations.h" #include "nsCycleCollectionParticipant.h" #include "nsCOMPtr.h" diff --git a/toolkit/components/extensions/webidl-api/ExtensionDns.h b/toolkit/components/extensions/webidl-api/ExtensionDns.h @@ -8,7 +8,6 @@ #define mozilla_extensions_ExtensionDns_h #include "js/TypeDecls.h" -#include "mozilla/Attributes.h" #include "mozilla/dom/BindingDeclarations.h" #include "nsCycleCollectionParticipant.h" #include "nsCOMPtr.h" diff --git a/toolkit/components/extensions/webidl-api/ExtensionEventManager.h b/toolkit/components/extensions/webidl-api/ExtensionEventManager.h @@ -9,7 +9,6 @@ #include "js/GCHashTable.h" // for JS::GCHashMap #include "js/TypeDecls.h" // for JS::Handle, JSContext, JSObject, ... -#include "mozilla/Attributes.h" #include "mozilla/dom/BindingDeclarations.h" #include "mozilla/ErrorResult.h" #include "nsCycleCollectionParticipant.h" diff --git a/toolkit/components/extensions/webidl-api/ExtensionMockAPI.h b/toolkit/components/extensions/webidl-api/ExtensionMockAPI.h @@ -8,7 +8,6 @@ #define mozilla_extensions_ExtensionMockAPI_h #include "js/TypeDecls.h" -#include "mozilla/Attributes.h" #include "mozilla/dom/BindingDeclarations.h" #include "nsCycleCollectionParticipant.h" #include "nsCOMPtr.h" diff --git a/toolkit/components/extensions/webidl-api/ExtensionProxy.h b/toolkit/components/extensions/webidl-api/ExtensionProxy.h @@ -8,7 +8,6 @@ #define mozilla_extensions_ExtensionProxy_h #include "js/TypeDecls.h" -#include "mozilla/Attributes.h" #include "mozilla/dom/BindingDeclarations.h" #include "nsCycleCollectionParticipant.h" #include "nsCOMPtr.h" diff --git a/toolkit/components/extensions/webidl-api/ExtensionRuntime.h b/toolkit/components/extensions/webidl-api/ExtensionRuntime.h @@ -8,7 +8,6 @@ #define mozilla_extensions_ExtensionRuntime_h #include "js/TypeDecls.h" -#include "mozilla/Attributes.h" #include "mozilla/dom/BindingDeclarations.h" #include "nsCycleCollectionParticipant.h" #include "nsCOMPtr.h" diff --git a/toolkit/components/extensions/webidl-api/ExtensionScripting.h b/toolkit/components/extensions/webidl-api/ExtensionScripting.h @@ -8,7 +8,6 @@ #define mozilla_extensions_ExtensionScripting_h #include "js/TypeDecls.h" -#include "mozilla/Attributes.h" #include "mozilla/dom/BindingDeclarations.h" #include "nsCycleCollectionParticipant.h" #include "nsCOMPtr.h" diff --git a/toolkit/components/extensions/webidl-api/ExtensionSetting.h b/toolkit/components/extensions/webidl-api/ExtensionSetting.h @@ -8,7 +8,6 @@ #define mozilla_extensions_ExtensionSetting_h #include "js/TypeDecls.h" -#include "mozilla/Attributes.h" #include "mozilla/dom/BindingDeclarations.h" #include "nsCycleCollectionParticipant.h" #include "nsCOMPtr.h" diff --git a/toolkit/components/mediasniffer/nsMediaSniffer.h b/toolkit/components/mediasniffer/nsMediaSniffer.h @@ -8,7 +8,6 @@ #define nsMediaSniffer_h #include "nsIContentSniffer.h" -#include "mozilla/Attributes.h" // ed905ba3-c656-480e-934e-6bc35bd36aff #define NS_MEDIA_SNIFFER_CID \ diff --git a/toolkit/components/ml/backends/llama/LlamaRuntimeLinker.h b/toolkit/components/ml/backends/llama/LlamaRuntimeLinker.h @@ -7,7 +7,6 @@ #ifndef LlamaRuntimeLinker_h__ #define LlamaRuntimeLinker_h__ -#include "mozilla/Attributes.h" #include "llama/llama.h" #include "ggml.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/Attributes.h" #include "mozilla/DebugOnly.h" #include "mozilla/ScopeExit.h" #include "mozilla/SpinEventLoopUntil.h" diff --git a/toolkit/components/places/Database.h b/toolkit/components/places/Database.h @@ -11,7 +11,6 @@ #include "nsIObserver.h" #include "mozilla/storage.h" #include "mozilla/storage/StatementCache.h" -#include "mozilla/Attributes.h" #include "nsIEventTarget.h" #include "Shutdown.h" #include "nsCategoryCache.h" diff --git a/toolkit/components/places/PlaceInfo.h b/toolkit/components/places/PlaceInfo.h @@ -10,7 +10,6 @@ #include "nsIURI.h" #include "nsString.h" #include "nsTArray.h" -#include "mozilla/Attributes.h" class mozIVisitInfo; diff --git a/toolkit/components/places/SQLFunctions.h b/toolkit/components/places/SQLFunctions.h @@ -15,7 +15,6 @@ */ #include "mozIStorageFunction.h" -#include "mozilla/Attributes.h" class mozIStorageConnection; diff --git a/toolkit/components/places/VisitInfo.h b/toolkit/components/places/VisitInfo.h @@ -6,7 +6,6 @@ #define mozilla_places_VisitInfo_h__ #include "mozIAsyncHistory.h" -#include "mozilla/Attributes.h" #include "nsCOMPtr.h" class nsIURI; diff --git a/toolkit/components/places/nsCachedFaviconProtocolHandler.h b/toolkit/components/places/nsCachedFaviconProtocolHandler.h @@ -11,7 +11,6 @@ #include "nsIURI.h" #include "nsString.h" #include "nsWeakReference.h" -#include "mozilla/Attributes.h" // {e8b8bdb7-c96c-4d82-9c6f-2b3c585ec7ea} #define NS_CACHEDFAVICONPROTOCOLHANDLER_CID \ diff --git a/toolkit/components/places/nsFaviconService.h b/toolkit/components/places/nsFaviconService.h @@ -11,7 +11,6 @@ #include "Database.h" #include "FaviconHelpers.h" #include "imgITools.h" -#include "mozilla/Attributes.h" #include "mozilla/MozPromise.h" #include "mozilla/storage.h" #include "nsCOMPtr.h" diff --git a/toolkit/components/places/nsNavHistory.h b/toolkit/components/places/nsNavHistory.h @@ -21,7 +21,6 @@ #include "nsNavHistoryQuery.h" #include "Database.h" #include "mozilla/Atomics.h" -#include "mozilla/Attributes.h" #include "mozilla/intl/Collator.h" #include "mozilla/UniquePtr.h" #include "mozIStorageVacuumParticipant.h" diff --git a/toolkit/components/places/nsNavHistoryQuery.h b/toolkit/components/places/nsNavHistoryQuery.h @@ -17,8 +17,6 @@ // This class encapsulates the parameters for basic history queries for // building UI, trees, lists, etc. -#include "mozilla/Attributes.h" - #define NS_NAVHISTORYQUERY_IID \ {0xb10185e0, 0x86eb, 0x4612, {0x95, 0x7c, 0x09, 0x34, 0xf2, 0xb1, 0xce, 0xd7}} diff --git a/toolkit/components/places/tests/gtest/places_test_harness.h b/toolkit/components/places/tests/gtest/places_test_harness.h @@ -31,7 +31,6 @@ #include "nsWidgetsCID.h" #include "prinrval.h" #include "prtime.h" -#include "mozilla/Attributes.h" #include "mozilla/dom/PlacesEvent.h" #include "mozilla/dom/PlacesObservers.h" #include "mozilla/places/INativePlacesEventCallback.h" diff --git a/toolkit/components/remote/nsGTKRemoteServer.h b/toolkit/components/remote/nsGTKRemoteServer.h @@ -14,7 +14,6 @@ #include "nsRemoteServer.h" #include "nsXRemoteServer.h" -#include "mozilla/Attributes.h" class nsGTKRemoteServer final : public nsXRemoteServer { public: diff --git a/toolkit/components/startup/nsAppStartup.h b/toolkit/components/startup/nsAppStartup.h @@ -12,7 +12,6 @@ #include "nsWeakReference.h" #include "nsIAppShell.h" -#include "mozilla/Attributes.h" #if defined(XP_WIN) // XPerf-backed probes diff --git a/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp b/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp @@ -38,7 +38,6 @@ #include "Entries.h" #include "Classifier.h" #include "ProtocolParser.h" -#include "mozilla/Attributes.h" #include "nsIHttpChannel.h" #include "nsIPrincipal.h" #include "nsIUrlListManager.h" diff --git a/toolkit/components/url-classifier/nsUrlClassifierProxies.h b/toolkit/components/url-classifier/nsUrlClassifierProxies.h @@ -10,7 +10,6 @@ #include "nsUrlClassifierDBService.h" #include "nsProxyRelease.h" #include "nsThreadUtils.h" -#include "mozilla/Attributes.h" #include "nsIPrincipal.h" #include "LookupCache.h" diff --git a/toolkit/profile/nsToolkitProfileService.cpp b/toolkit/profile/nsToolkitProfileService.cpp @@ -52,7 +52,6 @@ #include "nsString.h" #include "nsReadableUtils.h" #include "nsNativeCharsetUtils.h" -#include "mozilla/Attributes.h" #include "mozilla/Sprintf.h" #include "nsPrintfCString.h" #include "mozilla/dom/DOMMozPromiseRequestHolder.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/Attributes.h" #include "nsISystemProxySettings.h" #include "mozilla/Components.h" #include "mozilla/ProfilerLabels.h" diff --git a/toolkit/xre/dllservices/mozglue/interceptor/RangeMap.h b/toolkit/xre/dllservices/mozglue/interceptor/RangeMap.h @@ -7,7 +7,6 @@ #ifndef mozilla_interceptor_RangeMap_h #define mozilla_interceptor_RangeMap_h -#include "mozilla/Attributes.h" #include "mozilla/Maybe.h" #include "mozilla/mozalloc.h" #include "mozilla/Span.h" diff --git a/toolkit/xre/nsUpdateDriver.h b/toolkit/xre/nsUpdateDriver.h @@ -12,7 +12,6 @@ #include "nsIThread.h" #include "nsCOMPtr.h" #include "nsString.h" -#include "mozilla/Attributes.h" class nsIFile; diff --git a/toolkit/xre/nsXREDirProvider.h b/toolkit/xre/nsXREDirProvider.h @@ -13,7 +13,6 @@ #include "nsCOMPtr.h" #include "nsCOMArray.h" -#include "mozilla/Attributes.h" #ifdef MOZ_BACKGROUNDTASKS # include "mozilla/BackgroundTasks.h" #endif diff --git a/tools/fuzzing/registry/FuzzerRegistry.h b/tools/fuzzing/registry/FuzzerRegistry.h @@ -11,7 +11,6 @@ #include <string> #include <utility> -#include "mozilla/Attributes.h" #include "mozilla/Types.h" typedef int (*FuzzerInitFunc)(int*, char***); diff --git a/tools/profiler/core/EHABIStackWalk.cpp b/tools/profiler/core/EHABIStackWalk.cpp @@ -28,7 +28,6 @@ #include "platform.h" #include "mozilla/Atomics.h" -#include "mozilla/Attributes.h" #include "mozilla/DebugOnly.h" #include "mozilla/EndianUtils.h" diff --git a/tools/profiler/gecko/nsProfiler.h b/tools/profiler/gecko/nsProfiler.h @@ -9,7 +9,6 @@ #include "ErrorList.h" #include "base/process.h" -#include "mozilla/Attributes.h" #include "mozilla/Maybe.h" #include "mozilla/MozPromise.h" #include "mozilla/ProfileJSONWriter.h" diff --git a/tools/profiler/public/ChildProfilerController.h b/tools/profiler/public/ChildProfilerController.h @@ -7,7 +7,6 @@ #define ChildProfilerController_h #include "base/process.h" -#include "mozilla/Attributes.h" #include "mozilla/ipc/ProtocolUtils.h" #include "mozilla/DataMutex.h" #include "mozilla/RefPtr.h" diff --git a/uriloader/base/nsURILoader.cpp b/uriloader/base/nsURILoader.cpp @@ -40,7 +40,6 @@ #include "nsMimeTypes.h" #include "nsDocLoader.h" -#include "mozilla/Attributes.h" #include "mozilla/IntegerPrintfMacros.h" #include "mozilla/Preferences.h" #include "mozilla/Result.h" diff --git a/uriloader/base/nsURILoader.h b/uriloader/base/nsURILoader.h @@ -14,7 +14,6 @@ #include "nsIInterfaceRequestorUtils.h" #include "nsString.h" #include "nsIWeakReference.h" -#include "mozilla/Attributes.h" #include "nsIStreamListener.h" #include "nsIThreadRetargetableStreamListener.h" #include "nsIExternalHelperAppService.h" diff --git a/uriloader/exthandler/nsExternalHelperAppService.h b/uriloader/exthandler/nsExternalHelperAppService.h @@ -31,7 +31,6 @@ #include "nsIObserver.h" #include "nsCOMArray.h" #include "nsWeakReference.h" -#include "mozilla/Attributes.h" class nsExternalAppHandler; class nsIMIMEInfo; diff --git a/uriloader/exthandler/nsExternalProtocolHandler.h b/uriloader/exthandler/nsExternalProtocolHandler.h @@ -11,7 +11,6 @@ #include "nsCOMPtr.h" #include "nsString.h" #include "nsWeakReference.h" -#include "mozilla/Attributes.h" class nsIURI; diff --git a/uriloader/prefetch/nsPrefetchService.cpp b/uriloader/prefetch/nsPrefetchService.cpp @@ -6,7 +6,6 @@ #include "nsPrefetchService.h" #include "mozilla/AsyncEventDispatcher.h" -#include "mozilla/Attributes.h" #include "mozilla/CORSMode.h" #include "mozilla/Components.h" #include "mozilla/dom/ClientInfo.h" diff --git a/uriloader/prefetch/nsPrefetchService.h b/uriloader/prefetch/nsPrefetchService.h @@ -16,7 +16,6 @@ #include "nsIURI.h" #include "nsWeakReference.h" #include "nsCOMPtr.h" -#include "mozilla/Attributes.h" #include <deque> class nsPrefetchService; diff --git a/view/nsView.cpp b/view/nsView.cpp @@ -5,7 +5,6 @@ #include "nsView.h" -#include "mozilla/Attributes.h" #include "mozilla/BasicEvents.h" #include "mozilla/DebugOnly.h" #include "mozilla/IntegerPrintfMacros.h" diff --git a/widget/ContentData.h b/widget/ContentData.h @@ -8,7 +8,6 @@ #include <sstream> -#include "mozilla/Attributes.h" #include "mozilla/Debug.h" #include "mozilla/EventForwards.h" #include "mozilla/Maybe.h" diff --git a/widget/cocoa/NativeKeyBindings.h b/widget/cocoa/NativeKeyBindings.h @@ -6,7 +6,6 @@ #ifndef NativeKeyBindings_h #define NativeKeyBindings_h -#include "mozilla/Attributes.h" #include "mozilla/EventForwards.h" #include "nsTHashMap.h" #include "nsIWidget.h" diff --git a/widget/gtk/MPRISServiceHandler.h b/widget/gtk/MPRISServiceHandler.h @@ -10,7 +10,6 @@ #include <gio/gio.h> #include "mozilla/dom/FetchImageHelper.h" #include "mozilla/dom/MediaControlKeySource.h" -#include "mozilla/Attributes.h" #include "mozilla/UniquePtr.h" #include "nsIFile.h" #include "nsMimeTypes.h" diff --git a/widget/gtk/NativeKeyBindings.h b/widget/gtk/NativeKeyBindings.h @@ -6,7 +6,6 @@ #ifndef NativeKeyBindings_h #define NativeKeyBindings_h -#include "mozilla/Attributes.h" #include "mozilla/EventForwards.h" #include "nsIWidget.h" diff --git a/widget/gtk/nsDeviceContextSpecG.h b/widget/gtk/nsDeviceContextSpecG.h @@ -13,7 +13,6 @@ struct JSContext; #include "nsIPrintSettings.h" #include "nsCOMPtr.h" #include "nsString.h" -#include "mozilla/Attributes.h" #include "mozilla/gfx/PrintPromise.h" #include "nsCRT.h" /* should be <limits.h>? */ diff --git a/widget/gtk/nsImageToPixbuf.h b/widget/gtk/nsImageToPixbuf.h @@ -6,7 +6,6 @@ #ifndef NSIMAGETOPIXBUF_H_ #define NSIMAGETOPIXBUF_H_ -#include "mozilla/Attributes.h" #include "mozilla/Maybe.h" #include "mozilla/RefPtr.h" #include "nsSize.h" diff --git a/widget/windows/AudioSession.cpp b/widget/windows/AudioSession.cpp @@ -23,7 +23,6 @@ #include "nsString.h" #include "nsThreadUtils.h" #include "nsXULAppAPI.h" -#include "mozilla/Attributes.h" #include "mozilla/mscom/AgileReference.h" #include "mozilla/Logging.h" #include "mozilla/mscom/Utils.h" diff --git a/widget/windows/IEnumFE.h b/widget/windows/IEnumFE.h @@ -13,7 +13,6 @@ #include <ole2.h> #include "nsTArray.h" -#include "mozilla/Attributes.h" // FORMATETC container class FormatEtc { diff --git a/widget/windows/TSFEmptyTextStore.h b/widget/windows/TSFEmptyTextStore.h @@ -14,7 +14,6 @@ #include "WinUtils.h" #include "WritingModes.h" -#include "mozilla/Attributes.h" #include "mozilla/Maybe.h" #include "mozilla/RefPtr.h" #include "mozilla/StaticPtr.h" diff --git a/widget/windows/WinTaskbar.h b/widget/windows/WinTaskbar.h @@ -12,7 +12,6 @@ #include <shobjidl.h> #undef LogSeverity // SetupAPI.h #defines this as DWORD #include "nsIWinTaskbar.h" -#include "mozilla/Attributes.h" namespace mozilla { namespace widget { diff --git a/widget/windows/WinTextEventDispatcherListener.h b/widget/windows/WinTextEventDispatcherListener.h @@ -6,7 +6,6 @@ #ifndef WinTextEventDispatcherListener_h_ #define WinTextEventDispatcherListener_h_ -#include "mozilla/Attributes.h" #include "mozilla/StaticPtr.h" #include "mozilla/TextEventDispatcherListener.h" diff --git a/widget/windows/WinUtils.h b/widget/windows/WinUtils.h @@ -35,7 +35,6 @@ #include "nsIWidget.h" #include "nsWindowsHelpers.h" -#include "mozilla/Attributes.h" #include "mozilla/EventForwards.h" #include "mozilla/LazyIdleThread.h" #include "mozilla/UniquePtr.h" diff --git a/widget/windows/nsDataObjCollection.h b/widget/windows/nsDataObjCollection.h @@ -12,7 +12,6 @@ #include "nsString.h" #include "nsTArray.h" #include "nsDataObj.h" -#include "mozilla/Attributes.h" #define MULTI_MIME "Mozilla/IDataObjectCollectionFormat" diff --git a/widget/windows/nsDeviceContextSpecWin.h b/widget/windows/nsDeviceContextSpecWin.h @@ -11,7 +11,6 @@ #include "nsPrinterListBase.h" #include "nsIPrintSettings.h" #include <windows.h> -#include "mozilla/Attributes.h" #include "mozilla/RefPtr.h" #include "mozilla/gfx/PrintPromise.h" diff --git a/widget/windows/nsNativeDragSource.h b/widget/windows/nsNativeDragSource.h @@ -8,7 +8,6 @@ #include "nscore.h" #include <ole2.h> #include <oleidl.h> -#include "mozilla/Attributes.h" #include "mozilla/RefPtr.h" namespace mozilla { diff --git a/xpfe/appshell/nsAppShellService.cpp b/xpfe/appshell/nsAppShellService.cpp @@ -27,7 +27,6 @@ #include "nsIWebNavigation.h" #include "nsIWindowlessBrowser.h" -#include "mozilla/Attributes.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" #include "mozilla/StartupTimeline.h" diff --git a/xpfe/appshell/nsAppShellService.h b/xpfe/appshell/nsAppShellService.h @@ -13,7 +13,6 @@ #include "AppWindow.h" #include "nsStringFwd.h" #include "nsIRemoteTab.h" -#include "mozilla/Attributes.h" // {0099907D-123C-4853-A46A-43098B5FB68C} #define NS_APPSHELLSERVICE_CID \