diff --git a/ipc/glue/IdleSchedulerChild.cpp b/ipc/glue/IdleSchedulerChild.cpp index 6e749eac36c6..53df5b222f64 100644 --- a/ipc/glue/IdleSchedulerChild.cpp +++ b/ipc/glue/IdleSchedulerChild.cpp @@ -12,8 +12,7 @@ #include "mozilla/Telemetry.h" #include "BackgroundChild.h" -namespace mozilla { -namespace ipc { +namespace mozilla::ipc { static IdleSchedulerChild* sMainThreadIdleScheduler = nullptr; @@ -122,5 +121,4 @@ IdleSchedulerChild* IdleSchedulerChild::GetMainThreadIdleScheduler() { return sMainThreadIdleScheduler; } -} // namespace ipc -} // namespace mozilla +} // namespace mozilla::ipc diff --git a/ipc/glue/IdleSchedulerParent.cpp b/ipc/glue/IdleSchedulerParent.cpp index 50fe1806d53b..b38ddc8ae43d 100644 --- a/ipc/glue/IdleSchedulerParent.cpp +++ b/ipc/glue/IdleSchedulerParent.cpp @@ -14,8 +14,7 @@ #include "nsITimer.h" #include "nsIThread.h" -namespace mozilla { -namespace ipc { +namespace mozilla::ipc { base::SharedMemory* IdleSchedulerParent::sActiveChildCounter = nullptr; std::bitset @@ -452,5 +451,4 @@ void IdleSchedulerParent::StarvationCallback(nsITimer* aTimer, void* aData) { NS_RELEASE(sStarvationPreventer); } -} // namespace ipc -} // namespace mozilla +} // namespace mozilla::ipc