diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:35:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:35:49 +0000 |
commit | d8bbc7858622b6d9c278469aab701ca0b609cddf (patch) | |
tree | eff41dc61d9f714852212739e6b3738b82a2af87 /xpcom/threads/StateWatching.h | |
parent | Releasing progress-linux version 125.0.3-1~progress7.99u1. (diff) | |
download | firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip |
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'xpcom/threads/StateWatching.h')
-rw-r--r-- | xpcom/threads/StateWatching.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/xpcom/threads/StateWatching.h b/xpcom/threads/StateWatching.h index 3da0c63bfe..2bd5c58d3b 100644 --- a/xpcom/threads/StateWatching.h +++ b/xpcom/threads/StateWatching.h @@ -4,19 +4,19 @@ * 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/. */ -#if !defined(StateWatching_h_) -# define StateWatching_h_ - -# include <cstddef> -# include <new> -# include <utility> -# include "mozilla/AbstractThread.h" -# include "mozilla/Assertions.h" -# include "mozilla/Logging.h" -# include "mozilla/RefPtr.h" -# include "nsISupports.h" -# include "nsTArray.h" -# include "nsThreadUtils.h" +#ifndef XPCOM_THREADS_STATEWATCHING_H_ +#define XPCOM_THREADS_STATEWATCHING_H_ + +#include <cstddef> +#include <new> +#include <utility> +#include "mozilla/AbstractThread.h" +#include "mozilla/Assertions.h" +#include "mozilla/Logging.h" +#include "mozilla/RefPtr.h" +#include "nsISupports.h" +#include "nsTArray.h" +#include "nsThreadUtils.h" /* * The state-watching machinery automates the process of responding to changes @@ -62,8 +62,8 @@ namespace mozilla { extern LazyLogModule gStateWatchingLog; -# define WATCH_LOG(x, ...) \ - MOZ_LOG(gStateWatchingLog, LogLevel::Debug, (x, ##__VA_ARGS__)) +#define WATCH_LOG(x, ...) \ + MOZ_LOG(gStateWatchingLog, LogLevel::Debug, (x, ##__VA_ARGS__)) /* * AbstractWatcher is a superclass from which all watchers must inherit. @@ -295,7 +295,7 @@ class WatchManager { RefPtr<AbstractThread> mOwnerThread; }; -# undef WATCH_LOG +#undef WATCH_LOG } // namespace mozilla |