tor-browser

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

commit 3569bab8dc88ac4075b18a9da1eabd3a4624591e
parent 64c8473ed8f2599011fd36bc2249c74743269841
Author: serge-sans-paille <sguelton@mozilla.com>
Date:   Tue, 28 Oct 2025 21:00:54 +0000

Bug 1996766 - Remove unused mfbt inclusion in mozglue/** r=emilio,profiler-reviewers,mstange

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

Diffstat:
Mmozglue/baseprofiler/core/ProfileBuffer.cpp | 2--
Mmozglue/baseprofiler/core/ProfileBufferEntry.h | 1-
Mmozglue/misc/ConditionVariable_noop.cpp | 2--
Mmozglue/misc/Debug.cpp | 1-
Mmozglue/misc/Mutex_noop.cpp | 2--
Mmozglue/misc/Mutex_windows.cpp | 1-
Mmozglue/misc/Now.cpp | 1-
Mmozglue/misc/PreXULSkeletonUI.cpp | 1-
Mmozglue/misc/PreXULSkeletonUI.h | 1-
Mmozglue/misc/StackWalk.cpp | 1-
Mmozglue/misc/WindowsDiagnostics.h | 1-
Mmozglue/misc/WindowsProcessMitigations.cpp | 1-
12 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/mozglue/baseprofiler/core/ProfileBuffer.cpp b/mozglue/baseprofiler/core/ProfileBuffer.cpp @@ -6,8 +6,6 @@ #include "ProfileBuffer.h" -#include "mozilla/MathAlgorithms.h" - #include "BaseProfiler.h" namespace mozilla { diff --git a/mozglue/baseprofiler/core/ProfileBufferEntry.h b/mozglue/baseprofiler/core/ProfileBufferEntry.h @@ -16,7 +16,6 @@ #include "mozilla/ProfileBufferEntryKinds.h" #include "mozilla/UniquePtr.h" #include "mozilla/Variant.h" -#include "mozilla/Vector.h" #include <string> #include <type_traits> diff --git a/mozglue/misc/ConditionVariable_noop.cpp b/mozglue/misc/ConditionVariable_noop.cpp @@ -4,8 +4,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Assertions.h" - #include "mozilla/PlatformConditionVariable.h" #include "mozilla/PlatformMutex.h" #include "MutexPlatformData_noop.h" diff --git a/mozglue/misc/Debug.cpp b/mozglue/misc/Debug.cpp @@ -5,7 +5,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "mozilla/glue/Debug.h" -#include "mozilla/Fuzzing.h" #include "mozilla/Sprintf.h" #include <stdarg.h> diff --git a/mozglue/misc/Mutex_noop.cpp b/mozglue/misc/Mutex_noop.cpp @@ -4,8 +4,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Assertions.h" - #include <errno.h> #include <stdio.h> diff --git a/mozglue/misc/Mutex_windows.cpp b/mozglue/misc/Mutex_windows.cpp @@ -4,7 +4,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Assertions.h" #include "mozilla/PlatformMutex.h" #include <windows.h> diff --git a/mozglue/misc/Now.cpp b/mozglue/misc/Now.cpp @@ -14,7 +14,6 @@ #include "mozilla/TimeStamp.h" #include "mozilla/Maybe.h" -#include "mozilla/Assertions.h" namespace mozilla { diff --git a/mozglue/misc/PreXULSkeletonUI.cpp b/mozglue/misc/PreXULSkeletonUI.cpp @@ -24,7 +24,6 @@ #include "mozilla/FStream.h" #include "mozilla/GetKnownFolderPath.h" #include "mozilla/HashFunctions.h" -#include "mozilla/HelperMacros.h" #include "mozilla/glue/Debug.h" #include "mozilla/Maybe.h" #include "mozilla/mscom/ProcessRuntime.h" diff --git a/mozglue/misc/PreXULSkeletonUI.h b/mozglue/misc/PreXULSkeletonUI.h @@ -8,7 +8,6 @@ #define PreXULSkeletonUI_h_ #include <windows.h> -#include "mozilla/Maybe.h" #include "mozilla/Result.h" #include "mozilla/Types.h" #include "mozilla/Vector.h" diff --git a/mozglue/misc/StackWalk.cpp b/mozglue/misc/StackWalk.cpp @@ -109,7 +109,6 @@ class FrameSkipper { # include <malloc.h> # include "mozilla/Atomics.h" # include "mozilla/StackWalk_windows.h" -# include "mozilla/WindowsVersion.h" # include <imagehlp.h> // We need a way to know if we are building for WXP (or later), as if we are, we diff --git a/mozglue/misc/WindowsDiagnostics.h b/mozglue/misc/WindowsDiagnostics.h @@ -7,7 +7,6 @@ #ifndef mozilla_WindowsDiagnostics_h #define mozilla_WindowsDiagnostics_h -#include "mozilla/Assertions.h" #include "mozilla/Attributes.h" #include "mozilla/Types.h" diff --git a/mozglue/misc/WindowsProcessMitigations.cpp b/mozglue/misc/WindowsProcessMitigations.cpp @@ -8,7 +8,6 @@ #include <processthreadsapi.h> -#include "mozilla/Assertions.h" #include "mozilla/DynamicallyLinkedFunctionPtr.h" static_assert(sizeof(PROCESS_MITIGATION_DYNAMIC_CODE_POLICY) == 4);