author | Kan-Ru Chen <kanru@kanru.info> |
Tue, 23 Aug 2016 12:09:32 +0800 | |
changeset 310969 | 564549c354b038a465c0b3fc245da3cab8753eab |
parent 310968 | d641f368849dd61e10de4513f525308ebea080ac |
child 310970 | acb05a7c5ee7183ac013196c91106c5b6b246930 |
push id | 30599 |
push user | ryanvm@gmail.com |
push date | Thu, 25 Aug 2016 12:11:16 +0000 |
treeherder | mozilla-central@e56ac7b94f39 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | froydnj |
bugs | 1297276 |
milestone | 51.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/CLOBBER +++ b/CLOBBER @@ -17,9 +17,9 @@ # # Modifying this file will now automatically clobber the buildbot machines \o/ # # Are you updating CLOBBER because you think it's needed for your WebIDL # changes to stick? As of bug 928195, this shouldn't be necessary! Please # don't change CLOBBER for WebIDL changes any more. -Bug 1294803's backout needed a clobber to fix SM builds +Bug 1297276 - renaming a file with a different case needed a clobber on case insensitive filesystem
--- a/accessible/generic/Accessible.cpp +++ b/accessible/generic/Accessible.cpp @@ -73,17 +73,17 @@ #include "nsIDOMCharacterData.h" #endif #include "mozilla/Assertions.h" #include "mozilla/BasicEvents.h" #include "mozilla/EventStates.h" #include "mozilla/FloatingPoint.h" #include "mozilla/MouseEvents.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/Preferences.h" #include "mozilla/dom/CanvasRenderingContext2D.h" #include "mozilla/dom/Element.h" #include "mozilla/dom/HTMLCanvasElement.h" #include "mozilla/dom/HTMLBodyElement.h" #include "mozilla/dom/TreeWalker.h" using namespace mozilla;
--- a/accessible/ipc/ProxyAccessibleBase.cpp +++ b/accessible/ipc/ProxyAccessibleBase.cpp @@ -8,17 +8,17 @@ #include "mozilla/a11y/DocAccessibleParent.h" #include "mozilla/a11y/DocManager.h" #include "mozilla/a11y/Platform.h" #include "mozilla/a11y/ProxyAccessibleBase.h" #include "mozilla/a11y/ProxyAccessible.h" #include "mozilla/a11y/Role.h" #include "mozilla/dom/Element.h" #include "mozilla/dom/TabParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "RelationType.h" #include "xpcAccessibleDocument.h" namespace mozilla { namespace a11y { template <class Derived> void
--- a/accessible/ipc/other/ProxyAccessible.cpp +++ b/accessible/ipc/other/ProxyAccessible.cpp @@ -5,17 +5,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "ProxyAccessible.h" #include "mozilla/a11y/DocAccessibleParent.h" #include "DocAccessible.h" #include "mozilla/a11y/DocManager.h" #include "mozilla/dom/Element.h" #include "mozilla/dom/TabParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/a11y/Platform.h" #include "RelationType.h" #include "mozilla/a11y/Role.h" #include "xpcAccessibleDocument.h" namespace mozilla { namespace a11y {
--- a/accessible/ipc/win/ProxyAccessible.cpp +++ b/accessible/ipc/win/ProxyAccessible.cpp @@ -6,17 +6,17 @@ #include "Accessible2.h" #include "ProxyAccessible.h" #include "mozilla/a11y/DocAccessibleParent.h" #include "DocAccessible.h" #include "mozilla/a11y/DocManager.h" #include "mozilla/dom/Element.h" #include "mozilla/dom/TabParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/a11y/Platform.h" #include "RelationType.h" #include "mozilla/a11y/Role.h" #include "xpcAccessibleDocument.h" #include <comutil.h> namespace mozilla {
--- a/caps/DomainPolicy.cpp +++ b/caps/DomainPolicy.cpp @@ -2,17 +2,17 @@ /* vim: set ts=4 et sw=4 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "DomainPolicy.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/ipc/URIUtils.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIMessageManager.h" #include "nsScriptSecurityManager.h" namespace mozilla { using namespace ipc; using namespace dom;
--- a/chrome/nsChromeRegistryChrome.cpp +++ b/chrome/nsChromeRegistryChrome.cpp @@ -20,17 +20,17 @@ #include "nsComponentManager.h" #include "nsEnumeratorUtils.h" #include "nsNetUtil.h" #include "nsStringEnumerator.h" #include "nsTextFormatter.h" #include "nsXPCOMCIDInternal.h" #include "mozilla/LookAndFeel.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsICommandLine.h" #include "nsILocaleService.h" #include "nsIObserverService.h" #include "nsIPrefBranch.h" #include "nsIPrefService.h" #include "mozilla/Preferences.h" #include "nsIResProtocolHandler.h"
--- a/docshell/base/nsDocShell.cpp +++ b/docshell/base/nsDocShell.cpp @@ -23,17 +23,17 @@ #include "mozilla/dom/PermissionMessageUtils.h" #include "mozilla/dom/workers/ServiceWorkerManager.h" #include "mozilla/EventStateManager.h" #include "mozilla/LoadInfo.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" #include "mozilla/StartupTimeline.h" #include "mozilla/Telemetry.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "Navigator.h" #include "URIUtils.h" #include "nsIContent.h" #include "nsIContentInlines.h" #include "nsIDocument.h" #include "nsIDOMDocument.h" #include "nsIDOMElement.h"
--- a/dom/asmjscache/AsmJSCache.cpp +++ b/dom/asmjscache/AsmJSCache.cpp @@ -21,17 +21,17 @@ #include "mozilla/dom/quota/QuotaManager.h" #include "mozilla/dom/quota/QuotaObject.h" #include "mozilla/dom/quota/UsageInfo.h" #include "mozilla/HashFunctions.h" #include "mozilla/ipc/BackgroundChild.h" #include "mozilla/ipc/BackgroundParent.h" #include "mozilla/ipc/BackgroundUtils.h" #include "mozilla/ipc/PBackgroundChild.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsAutoPtr.h" #include "nsIAtom.h" #include "nsIFile.h" #include "nsIIPCBackgroundChildCreateCallback.h" #include "nsIPermissionManager.h" #include "nsIPrincipal.h" #include "nsIRunnable.h" #include "nsISimpleEnumerator.h"
--- a/dom/audiochannel/AudioChannelService.cpp +++ b/dom/audiochannel/AudioChannelService.cpp @@ -5,17 +5,17 @@ * You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "AudioChannelService.h" #include "base/basictypes.h" #include "mozilla/Services.h" #include "mozilla/StaticPtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/TabParent.h" #include "nsContentUtils.h" #include "nsIScriptSecurityManager.h" #include "nsISupportsPrimitives.h"
--- a/dom/base/ImageEncoder.cpp +++ b/dom/base/ImageEncoder.cpp @@ -6,17 +6,17 @@ #include "ImageEncoder.h" #include "mozilla/dom/CanvasRenderingContext2D.h" #include "mozilla/gfx/2D.h" #include "mozilla/gfx/DataSurfaceHelpers.h" #include "mozilla/layers/AsyncCanvasRenderer.h" #include "mozilla/RefPtr.h" #include "mozilla/SyncRunnable.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "gfxUtils.h" #include "nsIThreadPool.h" #include "nsNetUtil.h" #include "nsXPCOMCIDInternal.h" #include "WorkerPrivate.h" #include "YCbCrUtils.h" using namespace mozilla::gfx;
--- a/dom/base/nsContentPermissionHelper.cpp +++ b/dom/base/nsContentPermissionHelper.cpp @@ -16,17 +16,17 @@ #include "mozilla/dom/Element.h" #include "mozilla/dom/Event.h" #include "mozilla/dom/PContentPermission.h" #include "mozilla/dom/PermissionMessageUtils.h" #include "mozilla/dom/PContentPermissionRequestParent.h" #include "mozilla/dom/ScriptSettings.h" #include "mozilla/dom/TabChild.h" #include "mozilla/dom/TabParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsComponentManagerUtils.h" #include "nsArrayUtils.h" #include "nsIMutableArray.h" #include "nsContentPermissionHelper.h" #include "nsJSUtils.h" #include "nsISupportsPrimitives.h" #include "nsServiceManagerUtils.h" #include "nsIDocument.h"
--- a/dom/base/nsFocusManager.cpp +++ b/dom/base/nsFocusManager.cpp @@ -50,17 +50,17 @@ #include "mozilla/dom/HTMLInputElement.h" #include "mozilla/EventDispatcher.h" #include "mozilla/EventStateManager.h" #include "mozilla/EventStates.h" #include "mozilla/IMEStateManager.h" #include "mozilla/LookAndFeel.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include <algorithm> #ifdef MOZ_XUL #include "nsIDOMXULTextboxElement.h" #include "nsIDOMXULMenuListElement.h" #endif #ifdef ACCESSIBILITY
--- a/dom/base/nsFrameLoader.cpp +++ b/dom/base/nsFrameLoader.cpp @@ -78,17 +78,17 @@ #include "ContentParent.h" #include "TabParent.h" #include "mozilla/plugins/PPluginWidgetParent.h" #include "../plugins/ipc/PluginWidgetParent.h" #include "mozilla/AsyncEventDispatcher.h" #include "mozilla/BasePrincipal.h" #include "mozilla/GuardObjects.h" #include "mozilla/Preferences.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/Element.h" #include "mozilla/jsipc/CrossProcessObjectWrappers.h" #include "mozilla/layout/RenderFrameParent.h" #include "nsIAppsService.h" #include "GeckoProfiler.h" #include "jsapi.h" #include "mozilla/dom/HTMLIFrameElement.h"
--- a/dom/base/nsGlobalWindow.cpp +++ b/dom/base/nsGlobalWindow.cpp @@ -55,17 +55,17 @@ #include "jswrapper.h" #include "nsReadableUtils.h" #include "nsDOMClassInfo.h" #include "nsJSEnvironment.h" #include "ScriptSettings.h" #include "mozilla/Preferences.h" #include "mozilla/Likely.h" #include "mozilla/Sprintf.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" // Other Classes #include "mozilla/dom/BarProps.h" #include "nsContentCID.h" #include "nsLayoutStatics.h" #include "nsCCUncollectableMarker.h" #include "mozilla/dom/workers/Workers.h" #include "mozilla/dom/ToJSValue.h"
--- a/dom/base/nsScriptLoader.cpp +++ b/dom/base/nsScriptLoader.cpp @@ -48,17 +48,17 @@ #include "nsProxyRelease.h" #include "nsSandboxFlags.h" #include "nsContentTypeParser.h" #include "nsINetworkPredictor.h" #include "ImportManager.h" #include "mozilla/dom/EncodingUtils.h" #include "mozilla/Attributes.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIScriptError.h" using namespace mozilla; using namespace mozilla::dom; using JS::SourceBufferHolder; static LazyLogModule gCspPRLog("CSP");
--- a/dom/bindings/BindingUtils.cpp +++ b/dom/bindings/BindingUtils.cpp @@ -9,17 +9,17 @@ #include <algorithm> #include <stdarg.h> #include "mozilla/Assertions.h" #include "mozilla/DebugOnly.h" #include "mozilla/FloatingPoint.h" #include "mozilla/Preferences.h" #include "mozilla/SizePrintfMacros.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/UseCounter.h" #include "AccessCheck.h" #include "jsfriendapi.h" #include "nsContentUtils.h" #include "nsGlobalWindow.h" #include "nsIDocShell.h" #include "nsIDOMGlobalPropertyInitializer.h"
--- a/dom/bluetooth/bluedroid/BluetoothDaemonA2dpInterface.cpp +++ b/dom/bluetooth/bluedroid/BluetoothDaemonA2dpInterface.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "BluetoothDaemonA2dpInterface.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" BEGIN_BLUETOOTH_NAMESPACE using namespace mozilla::ipc; // // A2DP module //
--- a/dom/bluetooth/bluedroid/BluetoothDaemonAvrcpInterface.cpp +++ b/dom/bluetooth/bluedroid/BluetoothDaemonAvrcpInterface.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "BluetoothDaemonAvrcpInterface.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" BEGIN_BLUETOOTH_NAMESPACE using namespace mozilla::ipc; // // AVRCP module //
--- a/dom/bluetooth/bluedroid/BluetoothDaemonCoreInterface.cpp +++ b/dom/bluetooth/bluedroid/BluetoothDaemonCoreInterface.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "BluetoothDaemonCoreInterface.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" BEGIN_BLUETOOTH_NAMESPACE using namespace mozilla::ipc; // // Core module //
--- a/dom/bluetooth/bluedroid/BluetoothDaemonGattInterface.cpp +++ b/dom/bluetooth/bluedroid/BluetoothDaemonGattInterface.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "BluetoothDaemonGattInterface.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" BEGIN_BLUETOOTH_NAMESPACE using namespace mozilla::ipc; // // GATT module //
--- a/dom/bluetooth/bluedroid/BluetoothDaemonHandsfreeInterface.cpp +++ b/dom/bluetooth/bluedroid/BluetoothDaemonHandsfreeInterface.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "BluetoothDaemonHandsfreeInterface.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" BEGIN_BLUETOOTH_NAMESPACE using namespace mozilla::ipc; // // Handsfree module //
--- a/dom/bluetooth/bluedroid/BluetoothDaemonHidInterface.cpp +++ b/dom/bluetooth/bluedroid/BluetoothDaemonHidInterface.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "BluetoothDaemonHidInterface.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" BEGIN_BLUETOOTH_NAMESPACE using namespace mozilla::ipc; // // Hid module //
--- a/dom/bluetooth/bluedroid/BluetoothDaemonSetupInterface.cpp +++ b/dom/bluetooth/bluedroid/BluetoothDaemonSetupInterface.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "BluetoothDaemonSetupInterface.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" BEGIN_BLUETOOTH_NAMESPACE using namespace mozilla::ipc; // // Setup module //
--- a/dom/bluetooth/bluedroid/BluetoothDaemonSocketInterface.cpp +++ b/dom/bluetooth/bluedroid/BluetoothDaemonSocketInterface.cpp @@ -2,17 +2,17 @@ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "BluetoothDaemonSocketInterface.h" #include "BluetoothSocketMessageWatcher.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsXULAppAPI.h" BEGIN_BLUETOOTH_NAMESPACE using namespace mozilla::ipc; // // Socket module
--- a/dom/bluetooth/bluedroid/BluetoothServiceBluedroid.cpp +++ b/dom/bluetooth/bluedroid/BluetoothServiceBluedroid.cpp @@ -29,17 +29,17 @@ #include "BluetoothProfileController.h" #include "BluetoothReplyRunnable.h" #include "BluetoothUtils.h" #include "BluetoothUuidHelper.h" #include "mozilla/dom/bluetooth/BluetoothTypes.h" #include "mozilla/ipc/SocketBase.h" #include "mozilla/StaticMutex.h" #include "mozilla/StaticPtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #define ENSURE_BLUETOOTH_IS_ENABLED(runnable, result) \ do { \ if (!IsEnabled()) { \ DispatchReplyError(runnable, \ NS_LITERAL_STRING("Bluetooth is not enabled")); \ return result; \ } \
--- a/dom/bluetooth/bluez/BluetoothDBusService.cpp +++ b/dom/bluetooth/bluez/BluetoothDBusService.cpp @@ -43,17 +43,17 @@ #include "mozilla/Hal.h" #include "mozilla/ipc/SocketBase.h" #include "mozilla/ipc/DBusUtils.h" #include "mozilla/ipc/RawDBusConnection.h" #include "mozilla/LazyIdleThread.h" #include "mozilla/Monitor.h" #include "mozilla/Mutex.h" #include "mozilla/StaticMutex.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #if defined(MOZ_WIDGET_GONK) #include "cutils/properties.h" #include <dlfcn.h> #endif /** * Some rules for dealing with memory in DBus:
--- a/dom/bluetooth/bluez/BluetoothSocket.cpp +++ b/dom/bluetooth/bluez/BluetoothSocket.cpp @@ -7,17 +7,17 @@ #include "BluetoothSocket.h" #include <fcntl.h> #include "BluetoothSocketObserver.h" #include "BluetoothUnixSocketConnector.h" #include "BluetoothUtils.h" #include "mozilla/RefPtr.h" #include "nsISupportsImpl.h" // for MOZ_COUNT_CTOR, MOZ_COUNT_DTOR #include "nsXULAppAPI.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" using namespace mozilla::ipc; BEGIN_BLUETOOTH_NAMESPACE static const size_t MAX_READ_SIZE = 1 << 16; //
--- a/dom/bluetooth/common/BluetoothService.cpp +++ b/dom/bluetooth/common/BluetoothService.cpp @@ -13,17 +13,17 @@ #include "BluetoothReplyRunnable.h" #include "BluetoothServiceChildProcess.h" #include "BluetoothUtils.h" #include "jsapi.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/Services.h" #include "mozilla/StaticPtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/BindingUtils.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/bluetooth/BluetoothTypes.h" #include "mozilla/dom/ipc/BlobChild.h" #include "mozilla/dom/ipc/BlobParent.h" #include "nsAutoPtr.h" #include "nsContentUtils.h" #include "nsIObserverService.h"
--- a/dom/bluetooth/ipc/BluetoothParent.cpp +++ b/dom/bluetooth/ipc/BluetoothParent.cpp @@ -4,17 +4,17 @@ * 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 "base/basictypes.h" #include "BluetoothParent.h" #include "mozilla/Assertions.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsDebug.h" #include "nsISupportsImpl.h" #include "nsThreadUtils.h" #include "BluetoothReplyRunnable.h" #include "BluetoothService.h" using mozilla::Unused;
--- a/dom/broadcastchannel/BroadcastChannelParent.cpp +++ b/dom/broadcastchannel/BroadcastChannelParent.cpp @@ -4,17 +4,17 @@ * 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 "BroadcastChannelParent.h" #include "BroadcastChannelService.h" #include "mozilla/dom/File.h" #include "mozilla/dom/ipc/BlobParent.h" #include "mozilla/ipc/BackgroundParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIScriptSecurityManager.h" namespace mozilla { using namespace ipc; namespace dom {
--- a/dom/cache/AutoUtils.cpp +++ b/dom/cache/AutoUtils.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/dom/cache/AutoUtils.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/InternalHeaders.h" #include "mozilla/dom/InternalRequest.h" #include "mozilla/dom/cache/CacheParent.h" #include "mozilla/dom/cache/CacheStreamControlParent.h" #include "mozilla/dom/cache/ReadStream.h" #include "mozilla/dom/cache/SavedTypes.h" #include "mozilla/dom/cache/StreamList.h" #include "mozilla/dom/cache/TypeUtils.h"
--- a/dom/cache/Cache.cpp +++ b/dom/cache/Cache.cpp @@ -14,17 +14,17 @@ #include "mozilla/dom/WorkerPrivate.h" #include "mozilla/dom/CacheBinding.h" #include "mozilla/dom/cache/AutoUtils.h" #include "mozilla/dom/cache/CacheChild.h" #include "mozilla/dom/cache/CacheWorkerHolder.h" #include "mozilla/dom/cache/ReadStream.h" #include "mozilla/ErrorResult.h" #include "mozilla/Preferences.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIGlobalObject.h" namespace mozilla { namespace dom { namespace cache { using mozilla::dom::workers::GetCurrentThreadWorkerPrivate; using mozilla::dom::workers::WorkerPrivate;
--- a/dom/cache/CacheChild.cpp +++ b/dom/cache/CacheChild.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/dom/cache/CacheChild.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/cache/ActorUtils.h" #include "mozilla/dom/cache/Cache.h" #include "mozilla/dom/cache/CacheOpChild.h" namespace mozilla { namespace dom { namespace cache {
--- a/dom/cache/CacheOpParent.cpp +++ b/dom/cache/CacheOpParent.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/dom/cache/CacheOpParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/cache/AutoUtils.h" #include "mozilla/dom/cache/ReadStream.h" #include "mozilla/dom/cache/SavedTypes.h" #include "mozilla/ipc/FileDescriptorSetParent.h" #include "mozilla/ipc/InputStreamUtils.h" #include "mozilla/ipc/SendStream.h" namespace mozilla {
--- a/dom/cache/CacheStorage.cpp +++ b/dom/cache/CacheStorage.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/dom/cache/CacheStorage.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/CacheStorageBinding.h" #include "mozilla/dom/Promise.h" #include "mozilla/dom/Response.h" #include "mozilla/dom/cache/AutoUtils.h" #include "mozilla/dom/cache/Cache.h" #include "mozilla/dom/cache/CacheChild.h" #include "mozilla/dom/cache/CacheStorageChild.h" #include "mozilla/dom/cache/CacheWorkerHolder.h"
--- a/dom/cache/CacheStorageChild.cpp +++ b/dom/cache/CacheStorageChild.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/dom/cache/CacheStorageChild.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/cache/CacheChild.h" #include "mozilla/dom/cache/CacheOpChild.h" #include "mozilla/dom/cache/CacheStorage.h" namespace mozilla { namespace dom { namespace cache {
--- a/dom/cache/CacheStorageParent.cpp +++ b/dom/cache/CacheStorageParent.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/dom/cache/CacheStorageParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/cache/ActorUtils.h" #include "mozilla/dom/cache/CacheOpParent.h" #include "mozilla/dom/cache/ManagerId.h" #include "mozilla/ipc/PBackgroundParent.h" namespace mozilla { namespace dom {
--- a/dom/cache/CacheStreamControlChild.cpp +++ b/dom/cache/CacheStreamControlChild.cpp @@ -2,17 +2,17 @@ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/dom/cache/CacheStreamControlChild.h" #include "mozilla/DebugOnly.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/cache/ActorUtils.h" #include "mozilla/dom/cache/CacheTypes.h" #include "mozilla/dom/cache/ReadStream.h" #include "mozilla/ipc/FileDescriptorSetChild.h" #include "mozilla/ipc/PBackgroundChild.h" #include "mozilla/ipc/PFileDescriptorSetChild.h" #include "nsISupportsImpl.h"
--- a/dom/cache/CacheStreamControlParent.cpp +++ b/dom/cache/CacheStreamControlParent.cpp @@ -2,17 +2,17 @@ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/dom/cache/CacheStreamControlParent.h" #include "mozilla/DebugOnly.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/cache/CacheTypes.h" #include "mozilla/dom/cache/ReadStream.h" #include "mozilla/dom/cache/StreamList.h" #include "mozilla/ipc/FileDescriptorSetParent.h" #include "mozilla/ipc/PBackgroundParent.h" #include "mozilla/ipc/PFileDescriptorSetParent.h" #include "nsISupportsImpl.h"
--- a/dom/cache/FileUtils.cpp +++ b/dom/cache/FileUtils.cpp @@ -3,17 +3,17 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/dom/cache/FileUtils.h" #include "mozilla/dom/quota/FileStreams.h" #include "mozilla/SnappyCompressOutputStream.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIFile.h" #include "nsIUUIDGenerator.h" #include "nsNetCID.h" #include "nsISimpleEnumerator.h" #include "nsServiceManagerUtils.h" #include "nsString.h" #include "nsThreadUtils.h"
--- a/dom/cache/Manager.cpp +++ b/dom/cache/Manager.cpp @@ -5,17 +5,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "mozilla/dom/cache/Manager.h" #include "mozilla/AutoRestore.h" #include "mozilla/Mutex.h" #include "mozilla/StaticMutex.h" #include "mozilla/StaticPtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/cache/Context.h" #include "mozilla/dom/cache/DBAction.h" #include "mozilla/dom/cache/DBSchema.h" #include "mozilla/dom/cache/FileUtils.h" #include "mozilla/dom/cache/ManagerId.h" #include "mozilla/dom/cache/CacheTypes.h" #include "mozilla/dom/cache/SavedTypes.h" #include "mozilla/dom/cache/StreamList.h"
--- a/dom/cache/ReadStream.cpp +++ b/dom/cache/ReadStream.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/dom/cache/ReadStream.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/cache/CacheStreamControlChild.h" #include "mozilla/dom/cache/CacheStreamControlParent.h" #include "mozilla/dom/cache/CacheTypes.h" #include "mozilla/ipc/IPCStreamUtils.h" #include "mozilla/SnappyUncompressInputStream.h" #include "nsIAsyncInputStream.h" #include "nsTArray.h"
--- a/dom/cache/TypeUtils.cpp +++ b/dom/cache/TypeUtils.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/dom/cache/TypeUtils.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/CacheBinding.h" #include "mozilla/dom/InternalRequest.h" #include "mozilla/dom/Request.h" #include "mozilla/dom/Response.h" #include "mozilla/dom/cache/CacheTypes.h" #include "mozilla/dom/cache/ReadStream.h" #include "mozilla/ipc/BackgroundChild.h" #include "mozilla/ipc/PBackgroundChild.h"
--- a/dom/camera/CameraControlImpl.cpp +++ b/dom/camera/CameraControlImpl.cpp @@ -1,16 +1,16 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "CameraControlImpl.h" #include "base/basictypes.h" #include "mozilla/Assertions.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsPrintfCString.h" #include "nsIWeakReferenceUtils.h" #include "CameraCommon.h" #include "nsGlobalWindow.h" #include "DeviceStorageFileDescriptor.h" #include "CameraControlListener.h" using namespace mozilla;
--- a/dom/camera/DOMCameraControl.cpp +++ b/dom/camera/DOMCameraControl.cpp @@ -10,17 +10,17 @@ #include "nsThread.h" #include "DeviceStorage.h" #include "DeviceStorageFileDescriptor.h" #include "mozilla/dom/File.h" #include "mozilla/dom/TabChild.h" #include "mozilla/ipc/FileDescriptorUtils.h" #include "mozilla/MediaManager.h" #include "mozilla/Services.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIAppsService.h" #include "nsIObserverService.h" #include "nsIDOMEventListener.h" #include "nsIScriptSecurityManager.h" #include "Navigator.h" #include "nsXULAppAPI.h" #include "DOMCameraManager.h" #include "DOMCameraCapabilities.h"
--- a/dom/camera/GonkCameraControl.cpp +++ b/dom/camera/GonkCameraControl.cpp @@ -33,17 +33,17 @@ #endif #include "nsNetCID.h" // for NS_STREAMTRANSPORTSERVICE_CONTRACTID #include "nsCOMPtr.h" #include "nsMemory.h" #include "nsThread.h" #include "nsITimer.h" #include "mozilla/FileUtils.h" #include "mozilla/Services.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/ipc/FileDescriptorUtils.h" #include "nsAlgorithm.h" #include "nsPrintfCString.h" #include "GonkCameraHwMgr.h" #include "GonkRecorderProfiles.h" #include "CameraCommon.h" #include "GonkCameraParameters.h" #include "DeviceStorageFileDescriptor.h"
--- a/dom/canvas/CanvasRenderingContext2D.cpp +++ b/dom/canvas/CanvasRenderingContext2D.cpp @@ -93,17 +93,17 @@ #include "mozilla/ipc/DocumentRendererParent.h" #include "mozilla/ipc/PDocumentRendererParent.h" #include "mozilla/layers/PersistentBufferProvider.h" #include "mozilla/MathAlgorithms.h" #include "mozilla/Preferences.h" #include "mozilla/Telemetry.h" #include "mozilla/TimeStamp.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsCCUncollectableMarker.h" #include "nsWrapperCacheInlines.h" #include "mozilla/dom/CanvasRenderingContext2DBinding.h" #include "mozilla/dom/CanvasPath.h" #include "mozilla/dom/HTMLImageElement.h" #include "mozilla/dom/HTMLVideoElement.h" #include "mozilla/dom/SVGMatrix.h" #include "mozilla/dom/TextMetrics.h"
--- a/dom/canvas/WebGLTexture.cpp +++ b/dom/canvas/WebGLTexture.cpp @@ -6,17 +6,17 @@ #include "WebGLTexture.h" #include <algorithm> #include "GLContext.h" #include "mozilla/dom/WebGLRenderingContextBinding.h" #include "mozilla/gfx/Logging.h" #include "mozilla/MathAlgorithms.h" #include "mozilla/Scoped.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "ScopedGLHelpers.h" #include "WebGLContext.h" #include "WebGLContextUtils.h" #include "WebGLFramebuffer.h" #include "WebGLSampler.h" #include "WebGLTexelConversions.h" namespace mozilla {
--- a/dom/canvas/WebGLTextureUpload.cpp +++ b/dom/canvas/WebGLTextureUpload.cpp @@ -11,17 +11,17 @@ #include "gfxPrefs.h" #include "GLBlitHelper.h" #include "GLContext.h" #include "mozilla/gfx/2D.h" #include "mozilla/dom/HTMLVideoElement.h" #include "mozilla/dom/ImageData.h" #include "mozilla/MathAlgorithms.h" #include "mozilla/Scoped.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "ScopedGLHelpers.h" #include "TexUnpackBlob.h" #include "WebGLContext.h" #include "WebGLContextUtils.h" #include "WebGLFramebuffer.h" #include "WebGLTexelConversions.h" namespace mozilla {
--- a/dom/devicestorage/DeviceStorageRequestParent.cpp +++ b/dom/devicestorage/DeviceStorageRequestParent.cpp @@ -2,17 +2,17 @@ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "DeviceStorageRequestParent.h" #include "nsIMIMEService.h" #include "nsCExternalHandlerService.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/File.h" #include "mozilla/dom/ipc/BlobParent.h" #include "ContentParent.h" #include "nsProxyRelease.h" #include "AppProcessChecker.h" #include "mozilla/Preferences.h" #include "nsNetCID.h"
--- a/dom/events/EventDispatcher.cpp +++ b/dom/events/EventDispatcher.cpp @@ -52,17 +52,17 @@ #include "mozilla/EventListenerManager.h" #include "mozilla/InternalMutationEvent.h" #include "mozilla/ipc/MessageChannel.h" #include "mozilla/MiscEvents.h" #include "mozilla/MouseEvents.h" #include "mozilla/Telemetry.h" #include "mozilla/TextEvents.h" #include "mozilla/TouchEvents.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #ifdef MOZ_TASK_TRACER #include "GeckoTaskTracer.h" #include "mozilla/dom/Element.h" using namespace mozilla::tasktracer; #endif namespace mozilla {
--- a/dom/events/IMEStateManager.cpp +++ b/dom/events/IMEStateManager.cpp @@ -11,17 +11,17 @@ #include "mozilla/Attributes.h" #include "mozilla/EventListenerManager.h" #include "mozilla/EventStates.h" #include "mozilla/MouseEvents.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" #include "mozilla/TextComposition.h" #include "mozilla/TextEvents.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/HTMLFormElement.h" #include "mozilla/dom/TabParent.h" #include "HTMLInputElement.h" #include "IMEContentObserver.h" #include "nsCOMPtr.h" #include "nsContentUtils.h"
--- a/dom/events/TextComposition.cpp +++ b/dom/events/TextComposition.cpp @@ -14,17 +14,17 @@ #include "nsPresContext.h" #include "mozilla/AutoRestore.h" #include "mozilla/EventDispatcher.h" #include "mozilla/IMEStateManager.h" #include "mozilla/MiscEvents.h" #include "mozilla/Preferences.h" #include "mozilla/TextComposition.h" #include "mozilla/TextEvents.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/TabParent.h" #ifdef XP_MACOSX // Some defiens will be conflict with OSX SDK #define TextRange _TextRange #define TextRangeArray _TextRangeArray #define Comment _Comment #endif
--- a/dom/fetch/FetchDriver.cpp +++ b/dom/fetch/FetchDriver.cpp @@ -26,17 +26,17 @@ #include "nsNetUtil.h" #include "nsPrintfCString.h" #include "nsStreamUtils.h" #include "nsStringStream.h" #include "nsHttpChannel.h" #include "mozilla/dom/File.h" #include "mozilla/dom/workers/Workers.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "Fetch.h" #include "InternalRequest.h" #include "InternalResponse.h" namespace mozilla { namespace dom {
--- a/dom/fetch/Request.cpp +++ b/dom/fetch/Request.cpp @@ -11,17 +11,17 @@ #include "mozilla/ErrorResult.h" #include "mozilla/dom/Headers.h" #include "mozilla/dom/Fetch.h" #include "mozilla/dom/FetchUtil.h" #include "mozilla/dom/Promise.h" #include "mozilla/dom/URL.h" #include "mozilla/dom/WorkerPrivate.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "WorkerPrivate.h" namespace mozilla { namespace dom { NS_IMPL_CYCLE_COLLECTING_ADDREF(Request) NS_IMPL_CYCLE_COLLECTING_RELEASE(Request)
--- a/dom/filehandle/ActorsParent.cpp +++ b/dom/filehandle/ActorsParent.cpp @@ -2,17 +2,17 @@ * 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 "ActorsParent.h" #include "mozilla/Assertions.h" #include "mozilla/Atomics.h" #include "mozilla/Attributes.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/File.h" #include "mozilla/dom/FileHandleCommon.h" #include "mozilla/dom/PBackgroundFileHandleParent.h" #include "mozilla/dom/PBackgroundFileRequestParent.h" #include "mozilla/dom/indexedDB/ActorsParent.h" #include "mozilla/dom/ipc/BlobParent.h" #include "nsAutoPtr.h" #include "nsComponentManagerUtils.h"
--- a/dom/filesystem/FileSystemTaskBase.cpp +++ b/dom/filesystem/FileSystemTaskBase.cpp @@ -9,17 +9,17 @@ #include "nsNetCID.h" #include "mozilla/dom/File.h" #include "mozilla/dom/FileSystemBase.h" #include "mozilla/dom/FileSystemRequestParent.h" #include "mozilla/dom/FileSystemUtils.h" #include "mozilla/dom/Promise.h" #include "mozilla/dom/ipc/BlobParent.h" #include "mozilla/ipc/BackgroundParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsProxyRelease.h" namespace mozilla { namespace dom { namespace { nsresult
--- a/dom/flyweb/FlyWebPublishedServer.cpp +++ b/dom/flyweb/FlyWebPublishedServer.cpp @@ -12,17 +12,17 @@ #include "mozilla/dom/ContentChild.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/InternalResponse.h" #include "mozilla/ipc/IPCStreamUtils.h" #include "mozilla/net/NeckoParent.h" #include "mozilla/net/IPCTransportProvider.h" #include "mozilla/ErrorResult.h" #include "mozilla/Preferences.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsCharSeparatedTokenizer.h" #include "nsGlobalWindow.h" #include "WebSocketChannel.h" namespace mozilla { namespace dom { static LazyLogModule gFlyWebPublishedServerLog("FlyWebPublishedServer");
--- a/dom/fmradio/ipc/FMRadioParent.cpp +++ b/dom/fmradio/ipc/FMRadioParent.cpp @@ -1,16 +1,16 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "FMRadioParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/DebugOnly.h" #include "FMRadioRequestParent.h" #include "FMRadioService.h" BEGIN_FMRADIO_NAMESPACE FMRadioParent::FMRadioParent()
--- a/dom/fmradio/ipc/FMRadioRequestParent.cpp +++ b/dom/fmradio/ipc/FMRadioRequestParent.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "FMRadioRequestParent.h" #include "FMRadioService.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/PFMRadio.h" BEGIN_FMRADIO_NAMESPACE FMRadioRequestParent::FMRadioRequestParent() : mActorDestroyed(false) { MOZ_COUNT_CTOR(FMRadioRequestParent);
--- a/dom/gamepad/GamepadManager.cpp +++ b/dom/gamepad/GamepadManager.cpp @@ -24,17 +24,17 @@ #include "nsIDOMEvent.h" #include "nsIDOMDocument.h" #include "nsIDOMWindow.h" #include "nsIObserver.h" #include "nsIObserverService.h" #include "nsIServiceManager.h" #include "nsThreadUtils.h" #include "mozilla/Services.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include <cstddef> using namespace mozilla::ipc; namespace mozilla { namespace dom {
--- a/dom/gamepad/GamepadPlatformService.cpp +++ b/dom/gamepad/GamepadPlatformService.cpp @@ -4,17 +4,17 @@ * 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/dom/GamepadPlatformService.h" #include "mozilla/dom/GamepadEventChannelParent.h" #include "mozilla/ipc/BackgroundParent.h" #include "mozilla/Mutex.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsCOMPtr.h" #include "nsHashKeys.h" #include "nsIThread.h" using namespace mozilla::ipc; namespace mozilla {
--- a/dom/gamepad/GamepadServiceTest.cpp +++ b/dom/gamepad/GamepadServiceTest.cpp @@ -2,27 +2,27 @@ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "GamepadServiceTest.h" #include "mozilla/ErrorResult.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/GamepadManager.h" #include "mozilla/dom/GamepadPlatformService.h" #include "mozilla/dom/GamepadServiceTestBinding.h" #include "mozilla/dom/GamepadTestChannelChild.h" #include "mozilla/ipc/BackgroundChild.h" #include "mozilla/ipc/PBackgroundChild.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIObserver.h" #include "nsIObserverService.h" namespace mozilla { namespace dom { /*
--- a/dom/gamepad/ipc/GamepadTestChannelParent.cpp +++ b/dom/gamepad/ipc/GamepadTestChannelParent.cpp @@ -1,16 +1,16 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "GamepadTestChannelParent.h" #include "mozilla/dom/GamepadPlatformService.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" namespace mozilla { namespace dom { bool GamepadTestChannelParent::RecvGamepadTestEvent(const uint32_t& aID, const GamepadChangeEvent& aEvent) {
--- a/dom/geolocation/nsGeolocation.cpp +++ b/dom/geolocation/nsGeolocation.cpp @@ -21,17 +21,17 @@ #include "nsIDocument.h" #include "nsIDOMEvent.h" #include "nsIObserverService.h" #include "nsPIDOMWindow.h" #include "nsThreadUtils.h" #include "mozilla/HalWakeLock.h" #include "mozilla/Hal.h" #include "mozilla/Services.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/Preferences.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/dom/Event.h" #include "mozilla/WeakPtr.h" #include "mozilla/dom/PermissionMessageUtils.h" #include "mozilla/dom/SettingChangeNotificationBinding.h" #include "mozilla/dom/WakeLock.h"
--- a/dom/indexedDB/ActorsParent.cpp +++ b/dom/indexedDB/ActorsParent.cpp @@ -23,17 +23,17 @@ #include "mozilla/AutoRestore.h" #include "mozilla/EndianUtils.h" #include "mozilla/LazyIdleThread.h" #include "mozilla/Maybe.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" #include "mozilla/StaticPtr.h" #include "mozilla/storage.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/UniquePtrExtensions.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/File.h" #include "mozilla/dom/StructuredCloneTags.h" #include "mozilla/dom/TabParent.h" #include "mozilla/dom/filehandle/ActorsParent.h" #include "mozilla/dom/indexedDB/PBackgroundIDBCursorParent.h" #include "mozilla/dom/indexedDB/PBackgroundIDBDatabaseParent.h"
--- a/dom/ipc/Blob.cpp +++ b/dom/ipc/Blob.cpp @@ -12,17 +12,17 @@ #include "ContentParent.h" #include "FileDescriptorSetChild.h" #include "jsapi.h" #include "mozilla/Assertions.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/DebugOnly.h" #include "mozilla/Monitor.h" #include "mozilla/Mutex.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/File.h" #include "mozilla/dom/nsIContentParent.h" #include "mozilla/dom/nsIContentChild.h" #include "mozilla/dom/PBlobStreamChild.h" #include "mozilla/dom/PBlobStreamParent.h" #include "mozilla/dom/indexedDB/FileSnapshot.h" #include "mozilla/dom/IndexedDatabaseManager.h" #include "mozilla/ipc/InputStreamUtils.h"
--- a/dom/ipc/ColorPickerParent.cpp +++ b/dom/ipc/ColorPickerParent.cpp @@ -3,17 +3,17 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "ColorPickerParent.h" #include "nsComponentManagerUtils.h" #include "nsIDocument.h" #include "nsIDOMWindow.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/Element.h" #include "mozilla/dom/TabParent.h" using mozilla::Unused; using namespace mozilla::dom; NS_IMPL_ISUPPORTS(ColorPickerParent::ColorPickerShownCallback, nsIColorPickerShownCallback);
--- a/dom/ipc/ContentChild.cpp +++ b/dom/ipc/ContentChild.cpp @@ -71,17 +71,17 @@ // Remove this include with Bug 1104619 #include "CubebUtils.h" #elif defined(XP_MACOSX) #include "mozilla/Sandbox.h" #endif #endif -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozInlineSpellChecker.h" #include "nsDocShell.h" #include "nsIConsoleListener.h" #include "nsICycleCollectorListener.h" #include "nsIDragService.h" #include "nsIIPCBackgroundChildCreateCallback.h" #include "nsIInterfaceRequestorUtils.h"
--- a/dom/ipc/ContentParent.cpp +++ b/dom/ipc/ContentParent.cpp @@ -102,17 +102,17 @@ #include "mozilla/ProcessHangMonitorIPC.h" #ifdef MOZ_ENABLE_PROFILER_SPS #include "mozilla/ProfileGatherer.h" #endif #include "mozilla/Services.h" #include "mozilla/StaticPtr.h" #include "mozilla/Telemetry.h" #include "mozilla/WebBrowserPersistDocumentParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsAnonymousTemporaryFile.h" #include "nsAppRunner.h" #include "nsCDefaultURIFixup.h" #include "nsCExternalHandlerService.h" #include "nsCOMPtr.h" #include "nsChromeRegistryChrome.h" #include "nsConsoleMessage.h" #include "nsConsoleService.h"
--- a/dom/ipc/DatePickerParent.cpp +++ b/dom/ipc/DatePickerParent.cpp @@ -3,17 +3,17 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "DatePickerParent.h" #include "nsComponentManagerUtils.h" #include "nsIDocument.h" #include "nsIDOMWindow.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/Element.h" #include "mozilla/dom/TabParent.h" using mozilla::Unused; using namespace mozilla::dom; NS_IMPL_ISUPPORTS(DatePickerParent::DatePickerShownCallback, nsIDatePickerShownCallback);
--- a/dom/ipc/FilePickerParent.cpp +++ b/dom/ipc/FilePickerParent.cpp @@ -6,17 +6,17 @@ #include "FilePickerParent.h" #include "nsComponentManagerUtils.h" #include "nsNetCID.h" #include "nsIDocument.h" #include "nsIDOMWindow.h" #include "nsIFile.h" #include "nsISimpleEnumerator.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/File.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/Element.h" #include "mozilla/dom/TabParent.h" #include "mozilla/dom/ipc/BlobParent.h" using mozilla::Unused; using namespace mozilla::dom;
--- a/dom/ipc/PreallocatedProcessManager.cpp +++ b/dom/ipc/PreallocatedProcessManager.cpp @@ -2,17 +2,17 @@ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/PreallocatedProcessManager.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/Preferences.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/ScriptSettings.h" #include "nsIPropertyBag2.h" #include "ProcessPriorityManager.h" #include "nsServiceManagerUtils.h" // This number is fairly arbitrary ... the intention is to put off // launching another app process until the last one has finished
--- a/dom/ipc/ProcessHangMonitor.cpp +++ b/dom/ipc/ProcessHangMonitor.cpp @@ -10,17 +10,17 @@ #include "mozilla/Atomics.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/Element.h" #include "mozilla/dom/TabChild.h" #include "mozilla/dom/TabParent.h" #include "mozilla/Monitor.h" #include "mozilla/plugins/PluginBridge.h" #include "mozilla/Preferences.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIFrameLoader.h" #include "nsIHangReport.h" #include "nsITabParent.h" #include "nsPluginHost.h" #include "nsThreadUtils.h" #ifdef MOZ_CRASHREPORTER #include "nsExceptionHandler.h"
--- a/dom/ipc/ProcessPriorityManager.cpp +++ b/dom/ipc/ProcessPriorityManager.cpp @@ -8,17 +8,17 @@ #include "mozilla/ClearOnShutdown.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/Element.h" #include "mozilla/dom/TabParent.h" #include "mozilla/Hal.h" #include "mozilla/IntegerPrintfMacros.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "AudioChannelService.h" #include "mozilla/Logging.h" #include "nsPrintfCString.h" #include "nsXULAppAPI.h" #include "nsIFrameLoader.h" #include "nsIObserverService.h" #include "StaticPtr.h" #include "nsIMozBrowserFrame.h"
--- a/dom/ipc/ScreenManagerParent.cpp +++ b/dom/ipc/ScreenManagerParent.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/dom/ContentParent.h" #include "mozilla/dom/TabParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIWidget.h" #include "nsServiceManagerUtils.h" #include "ScreenManagerParent.h" #include "ContentProcessManager.h" namespace mozilla { namespace dom {
--- a/dom/ipc/TabChild.cpp +++ b/dom/ipc/TabChild.cpp @@ -38,17 +38,17 @@ #include "mozilla/layout/RenderFrameParent.h" #include "mozilla/LookAndFeel.h" #include "mozilla/MouseEvents.h" #include "mozilla/Move.h" #include "mozilla/Services.h" #include "mozilla/StaticPtr.h" #include "mozilla/TextEvents.h" #include "mozilla/TouchEvents.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozIApplication.h" #include "nsContentUtils.h" #include "nsDocShell.h" #include "nsEmbedCID.h" #include "nsGlobalWindow.h" #include <algorithm> #ifdef MOZ_CRASHREPORTER #include "nsExceptionHandler.h"
--- a/dom/ipc/TabParent.cpp +++ b/dom/ipc/TabParent.cpp @@ -35,17 +35,17 @@ #include "mozilla/layout/RenderFrameParent.h" #include "mozilla/LookAndFeel.h" #include "mozilla/MouseEvents.h" #include "mozilla/net/NeckoChild.h" #include "mozilla/Preferences.h" #include "mozilla/TextEvents.h" #include "mozilla/TouchEvents.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "BlobParent.h" #include "nsCOMPtr.h" #include "nsContentAreaDragDrop.h" #include "nsContentUtils.h" #include "nsDebug.h" #include "nsFocusManager.h" #include "nsFrameLoader.h" #include "nsIBaseWindow.h"
--- a/dom/ipc/nsIContentParent.cpp +++ b/dom/ipc/nsIContentParent.cpp @@ -12,17 +12,17 @@ #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/ContentBridgeParent.h" #include "mozilla/dom/PTabContext.h" #include "mozilla/dom/PermissionMessageUtils.h" #include "mozilla/dom/TabParent.h" #include "mozilla/dom/ipc/BlobParent.h" #include "mozilla/dom/ipc/StructuredCloneData.h" #include "mozilla/jsipc/CrossProcessObjectWrappers.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsFrameMessageManager.h" #include "nsIWebBrowserChrome.h" #include "nsPrintfCString.h" #include "xpcpublic.h" using namespace mozilla::jsipc;
--- a/dom/media/AudioCaptureStream.cpp +++ b/dom/media/AudioCaptureStream.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-*/ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "MediaStreamGraphImpl.h" #include "MediaStreamListener.h" #include "mozilla/MathAlgorithms.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "AudioSegment.h" #include "mozilla/Logging.h" #include "mozilla/Attributes.h" #include "AudioCaptureStream.h" #include "ImageContainer.h" #include "AudioNodeEngine.h" #include "AudioNodeStream.h"
--- a/dom/media/GraphDriver.cpp +++ b/dom/media/GraphDriver.cpp @@ -2,17 +2,17 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 <MediaStreamGraphImpl.h> #include "mozilla/dom/AudioContext.h" #include "mozilla/SharedThreadPool.h" #include "mozilla/ClearOnShutdown.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "CubebUtils.h" #ifdef MOZ_WEBRTC #include "webrtc/MediaEngineWebRTC.h" #endif #ifdef XP_MACOSX #include <sys/sysctl.h>
--- a/dom/media/MediaManager.h +++ b/dom/media/MediaManager.h @@ -3,17 +3,17 @@ * You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef MOZILLA_MEDIAMANAGER_H #define MOZILLA_MEDIAMANAGER_H #include "MediaEngine.h" #include "DeviceChangeCallback.h" #include "mozilla/Services.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsAutoPtr.h" #include "nsIMediaManager.h" #include "nsHashKeys.h" #include "nsGlobalWindow.h" #include "nsClassHashtable.h" #include "nsRefPtrHashtable.h" #include "nsIObserver.h"
--- a/dom/media/MediaStreamGraph.cpp +++ b/dom/media/MediaStreamGraph.cpp @@ -1,16 +1,16 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-*/ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "MediaStreamGraphImpl.h" #include "mozilla/MathAlgorithms.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "AudioSegment.h" #include "VideoSegment.h" #include "nsContentUtils.h" #include "nsIObserver.h" #include "nsPrintfCString.h" #include "nsServiceManagerUtils.h" #include "prerror.h" @@ -24,17 +24,17 @@ #include "AudioNodeExternalInputStream.h" #include "MediaStreamListener.h" #include "MediaStreamVideoSink.h" #include "mozilla/dom/AudioContextBinding.h" #include "mozilla/media/MediaUtils.h" #include <algorithm> #include "GeckoProfiler.h" #include "VideoFrameContainer.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/media/MediaUtils.h" #ifdef MOZ_WEBRTC #include "AudioOutputObserver.h" #endif #include "mtransport/runnable_utils.h" #include "webaudio/blink/HRTFDatabaseLoader.h"
--- a/dom/media/TrackUnionStream.cpp +++ b/dom/media/TrackUnionStream.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-*/ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "MediaStreamGraphImpl.h" #include "MediaStreamListener.h" #include "mozilla/MathAlgorithms.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "AudioSegment.h" #include "VideoSegment.h" #include "nsContentUtils.h" #include "nsIAppShell.h" #include "nsIObserver.h" #include "nsPrintfCString.h" #include "nsServiceManagerUtils.h"
--- a/dom/media/gmp/GMPAudioDecoderChild.cpp +++ b/dom/media/gmp/GMPAudioDecoderChild.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "GMPAudioDecoderChild.h" #include "GMPContentChild.h" #include "GMPAudioHost.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include <stdio.h> namespace mozilla { namespace gmp { GMPAudioDecoderChild::GMPAudioDecoderChild(GMPContentChild* aPlugin) : mPlugin(aPlugin) , mAudioDecoder(nullptr)
--- a/dom/media/gmp/GMPAudioDecoderParent.cpp +++ b/dom/media/gmp/GMPAudioDecoderParent.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "GMPAudioDecoderParent.h" #include "GMPContentParent.h" #include <stdio.h> -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "GMPMessageUtils.h" #include "nsThreadUtils.h" #include "mozilla/Logging.h" namespace mozilla { #ifdef LOG #undef LOG
--- a/dom/media/gmp/GMPContentParent.cpp +++ b/dom/media/gmp/GMPContentParent.cpp @@ -7,17 +7,17 @@ #include "GMPAudioDecoderParent.h" #include "GMPDecryptorParent.h" #include "GMPParent.h" #include "GMPServiceChild.h" #include "GMPVideoDecoderParent.h" #include "GMPVideoEncoderParent.h" #include "mozIGeckoMediaPluginService.h" #include "mozilla/Logging.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "base/task.h" namespace mozilla { #ifdef LOG #undef LOG #endif
--- a/dom/media/gmp/GMPDecryptorChild.cpp +++ b/dom/media/gmp/GMPDecryptorChild.cpp @@ -3,17 +3,17 @@ * 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 "GMPDecryptorChild.h" #include "GMPContentChild.h" #include "GMPChild.h" #include "base/task.h" #include "mozilla/TimeStamp.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "runnable_utils.h" #include <ctime> #define ON_GMP_THREAD() (mPlugin->GMPMessageLoop() == MessageLoop::current()) #define CALL_ON_GMP_THREAD(_func, ...) \ CallOnGMPThread(&GMPDecryptorChild::_func, __VA_ARGS__)
--- a/dom/media/gmp/GMPDecryptorParent.cpp +++ b/dom/media/gmp/GMPDecryptorParent.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "GMPDecryptorParent.h" #include "GMPContentParent.h" #include "MediaData.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" namespace mozilla { #ifdef LOG #undef LOG #endif extern LogModule* GetGMPLog();
--- a/dom/media/gmp/GMPDiskStorage.cpp +++ b/dom/media/gmp/GMPDiskStorage.cpp @@ -4,17 +4,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "plhash.h" #include "nsDirectoryServiceUtils.h" #include "nsDirectoryServiceDefs.h" #include "nsAppDirectoryServiceDefs.h" #include "GMPParent.h" #include "gmp-storage.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/EndianUtils.h" #include "nsClassHashtable.h" #include "prio.h" #include "mozIGeckoMediaPluginService.h" #include "nsContentCID.h" #include "nsServiceManagerUtils.h" #include "nsISimpleEnumerator.h"
--- a/dom/media/gmp/GMPParent.cpp +++ b/dom/media/gmp/GMPParent.cpp @@ -9,17 +9,17 @@ #include "nsComponentManagerUtils.h" #include "nsThreadUtils.h" #include "nsIRunnable.h" #include "nsIWritablePropertyBag2.h" #include "mozIGeckoMediaPluginService.h" #include "mozilla/ipc/GeckoChildProcessHost.h" #include "mozilla/SSE.h" #include "mozilla/SyncRunnable.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIObserverService.h" #include "GMPTimerParent.h" #include "runnable_utils.h" #if defined(XP_LINUX) && defined(MOZ_GMP_SANDBOX) #include "mozilla/SandboxInfo.h" #endif #include "GMPContentParent.h" #include "MediaPrefs.h"
--- a/dom/media/gmp/GMPService.cpp +++ b/dom/media/gmp/GMPService.cpp @@ -14,17 +14,17 @@ #include "nsIObserverService.h" #include "GeckoChildProcessHost.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/SyncRunnable.h" #include "nsXPCOMPrivate.h" #include "mozilla/Services.h" #include "nsNativeCharsetUtils.h" #include "nsIConsoleService.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "GMPDecryptorParent.h" #include "GMPAudioDecoderParent.h" #include "nsComponentManagerUtils.h" #include "runnable_utils.h" #include "VideoUtils.h" #if defined(XP_LINUX) && defined(MOZ_GMP_SANDBOX) #include "mozilla/SandboxInfo.h" #endif
--- a/dom/media/gmp/GMPServiceParent.cpp +++ b/dom/media/gmp/GMPServiceParent.cpp @@ -15,17 +15,17 @@ #include "GeckoChildProcessHost.h" #include "mozilla/Preferences.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/SyncRunnable.h" #include "nsXPCOMPrivate.h" #include "mozilla/Services.h" #include "nsNativeCharsetUtils.h" #include "nsIConsoleService.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "GMPDecryptorParent.h" #include "GMPAudioDecoderParent.h" #include "nsComponentManagerUtils.h" #include "runnable_utils.h" #include "VideoUtils.h" #if defined(XP_LINUX) && defined(MOZ_GMP_SANDBOX) #include "mozilla/SandboxInfo.h" #endif
--- a/dom/media/gmp/GMPStorageParent.cpp +++ b/dom/media/gmp/GMPStorageParent.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "GMPStorageParent.h" #include "GMPParent.h" #include "gmp-storage.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozIGeckoMediaPluginService.h" namespace mozilla { #ifdef LOG #undef LOG #endif
--- a/dom/media/gmp/GMPTimerParent.cpp +++ b/dom/media/gmp/GMPTimerParent.cpp @@ -1,16 +1,16 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "GMPTimerParent.h" #include "nsComponentManagerUtils.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsAutoPtr.h" namespace mozilla { #ifdef LOG #undef LOG #endif
--- a/dom/media/gmp/GMPVideoDecoderChild.cpp +++ b/dom/media/gmp/GMPVideoDecoderChild.cpp @@ -2,17 +2,17 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "GMPVideoDecoderChild.h" #include "GMPVideoi420FrameImpl.h" #include "GMPContentChild.h" #include <stdio.h> -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "GMPVideoEncodedFrameImpl.h" #include "runnable_utils.h" namespace mozilla { namespace gmp { GMPVideoDecoderChild::GMPVideoDecoderChild(GMPContentChild* aPlugin) : GMPSharedMemManager(aPlugin)
--- a/dom/media/gmp/GMPVideoDecoderParent.cpp +++ b/dom/media/gmp/GMPVideoDecoderParent.cpp @@ -1,16 +1,16 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "GMPVideoDecoderParent.h" #include "mozilla/Logging.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsAutoRef.h" #include "nsThreadUtils.h" #include "GMPUtils.h" #include "GMPVideoEncodedFrameImpl.h" #include "GMPVideoi420FrameImpl.h" #include "GMPContentParent.h" #include "GMPMessageUtils.h" #include "mozilla/gmp/GMPTypes.h"
--- a/dom/media/gmp/GMPVideoEncoderChild.cpp +++ b/dom/media/gmp/GMPVideoEncoderChild.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "GMPVideoEncoderChild.h" #include "GMPContentChild.h" #include <stdio.h> -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "GMPVideoEncodedFrameImpl.h" #include "GMPVideoi420FrameImpl.h" #include "runnable_utils.h" namespace mozilla { namespace gmp { GMPVideoEncoderChild::GMPVideoEncoderChild(GMPContentChild* aPlugin)
--- a/dom/media/gmp/GMPVideoEncoderParent.cpp +++ b/dom/media/gmp/GMPVideoEncoderParent.cpp @@ -2,17 +2,17 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "GMPVideoEncoderParent.h" #include "mozilla/Logging.h" #include "GMPVideoi420FrameImpl.h" #include "GMPVideoEncodedFrameImpl.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "GMPMessageUtils.h" #include "nsAutoRef.h" #include "GMPContentParent.h" #include "mozilla/gmp/GMPTypes.h" #include "nsThread.h" #include "nsThreadUtils.h" #include "runnable_utils.h" #include "GMPUtils.h"
--- a/dom/media/platforms/agnostic/eme/EMEDecoderModule.cpp +++ b/dom/media/platforms/agnostic/eme/EMEDecoderModule.cpp @@ -5,17 +5,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "EMEDecoderModule.h" #include "EMEAudioDecoder.h" #include "EMEVideoDecoder.h" #include "MediaDataDecoderProxy.h" #include "mozIGeckoMediaPluginService.h" #include "mozilla/CDMProxy.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsAutoPtr.h" #include "nsServiceManagerUtils.h" #include "MediaInfo.h" #include "nsClassHashtable.h" #include "GMPDecoderModule.h" #include "MP4Decoder.h" namespace mozilla {
--- a/dom/media/systemservices/CamerasChild.cpp +++ b/dom/media/systemservices/CamerasChild.cpp @@ -10,17 +10,17 @@ #undef FF #include "mozilla/Assertions.h" #include "mozilla/ipc/BackgroundChild.h" #include "mozilla/ipc/PBackgroundChild.h" #include "mozilla/Logging.h" #include "mozilla/SyncRunnable.h" #include "mozilla/WeakPtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "MediaUtils.h" #include "nsThreadUtils.h" #undef LOG #undef LOG_ENABLED mozilla::LazyLogModule gCamerasChildLog("CamerasChild"); #define LOG(args) MOZ_LOG(gCamerasChildLog, mozilla::LogLevel::Debug, args) #define LOG_ENABLED() MOZ_LOG_TEST(gCamerasChildLog, mozilla::LogLevel::Debug)
--- a/dom/media/systemservices/CamerasParent.cpp +++ b/dom/media/systemservices/CamerasParent.cpp @@ -4,17 +4,17 @@ * 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 "CamerasParent.h" #include "MediaEngine.h" #include "MediaUtils.h" #include "mozilla/Assertions.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/Services.h" #include "mozilla/Logging.h" #include "mozilla/ipc/BackgroundParent.h" #include "mozilla/Preferences.h" #include "nsIPermissionManager.h" #include "nsThreadUtils.h" #include "nsXPCOM.h" #include "nsNetUtil.h"
--- a/dom/media/systemservices/MediaSystemResourceManagerParent.cpp +++ b/dom/media/systemservices/MediaSystemResourceManagerParent.cpp @@ -1,14 +1,14 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/unused.h" +#include "mozilla/Unused.h" #include "MediaSystemResourceManagerParent.h" namespace mozilla { namespace media { using namespace ipc;
--- a/dom/media/systemservices/MediaSystemResourceService.cpp +++ b/dom/media/systemservices/MediaSystemResourceService.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim:set ts=2 sw=2 sts=2 et cindent: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "MediaSystemResourceManagerParent.h" #include "mozilla/layers/CompositorThread.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "MediaSystemResourceService.h" using namespace mozilla::layers; namespace mozilla { /* static */ StaticRefPtr<MediaSystemResourceService> MediaSystemResourceService::sSingleton;
--- a/dom/media/webspeech/synth/nsSynthVoiceRegistry.cpp +++ b/dom/media/webspeech/synth/nsSynthVoiceRegistry.cpp @@ -15,17 +15,17 @@ #include "nsSynthVoiceRegistry.h" #include "nsSpeechTask.h" #include "AudioChannelService.h" #include "nsString.h" #include "mozilla/StaticPtr.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/dom/ContentParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "SpeechSynthesisChild.h" #include "SpeechSynthesisParent.h" #undef LOG extern mozilla::LogModule* GetSpeechSynthLog(); #define LOG(type, msg) MOZ_LOG(GetSpeechSynthLog(), type, msg)
--- a/dom/messagechannel/MessagePort.cpp +++ b/dom/messagechannel/MessagePort.cpp @@ -20,17 +20,17 @@ #include "mozilla/dom/StructuredCloneTags.h" #include "mozilla/dom/WorkerPrivate.h" #include "mozilla/dom/WorkerScope.h" #include "mozilla/ipc/BackgroundChild.h" #include "mozilla/ipc/PBackgroundChild.h" #include "mozilla/MessagePortTimelineMarker.h" #include "mozilla/TimelineConsumers.h" #include "mozilla/TimelineMarker.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsContentUtils.h" #include "nsGlobalWindow.h" #include "nsPresContext.h" #include "ScriptSettings.h" #include "SharedMessagePortMessage.h" #include "nsIBFCacheEntry.h" #include "nsIDocument.h"
--- a/dom/messagechannel/MessagePortParent.cpp +++ b/dom/messagechannel/MessagePortParent.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "MessagePortParent.h" #include "MessagePortService.h" #include "SharedMessagePortMessage.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" namespace mozilla { namespace dom { MessagePortParent::MessagePortParent(const nsID& aUUID) : mService(MessagePortService::GetOrCreate()) , mUUID(aUUID) , mEntangled(false)
--- a/dom/messagechannel/MessagePortService.cpp +++ b/dom/messagechannel/MessagePortService.cpp @@ -4,17 +4,17 @@ * 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 "MessagePortService.h" #include "MessagePortParent.h" #include "SharedMessagePortMessage.h" #include "mozilla/ipc/BackgroundParent.h" #include "mozilla/StaticPtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsTArray.h" using mozilla::ipc::AssertIsOnBackgroundThread; namespace mozilla { namespace dom { namespace {
--- a/dom/mobilemessage/ipc/SmsIPCService.cpp +++ b/dom/mobilemessage/ipc/SmsIPCService.cpp @@ -9,17 +9,17 @@ #include "nsXULAppAPI.h" #include "mozilla/dom/mobilemessage/SmsChild.h" #include "nsJSUtils.h" #include "mozilla/dom/MozMobileMessageManagerBinding.h" #include "mozilla/dom/BindingUtils.h" #include "mozilla/Preferences.h" #include "nsString.h" #include "mozilla/dom/ipc/BlobChild.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" using namespace mozilla::dom; using namespace mozilla::dom::mobilemessage; namespace { #define kPrefMmsDefaultServiceId "dom.mms.defaultServiceId" #define kPrefSmsDefaultServiceId "dom.sms.defaultServiceId"
--- a/dom/mobilemessage/ipc/SmsParent.cpp +++ b/dom/mobilemessage/ipc/SmsParent.cpp @@ -7,17 +7,17 @@ #include "SmsParent.h" #include "nsISmsService.h" #include "nsIMmsService.h" #include "nsIObserverService.h" #include "mozilla/Services.h" #include "nsISmsMessage.h" #include "nsIMmsMessage.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "SmsMessageInternal.h" #include "MmsMessageInternal.h" #include "nsIMobileMessageDatabaseService.h" #include "MobileMessageThreadInternal.h" #include "mozilla/dom/ipc/BlobParent.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/File.h" #include "mozilla/dom/ToJSValue.h"
--- a/dom/network/TCPServerSocketParent.cpp +++ b/dom/network/TCPServerSocketParent.cpp @@ -4,17 +4,17 @@ * 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 "nsIScriptSecurityManager.h" #include "TCPServerSocket.h" #include "TCPServerSocketParent.h" #include "nsJSUtils.h" #include "TCPSocketParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/AppProcessChecker.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/TabParent.h" namespace mozilla { namespace dom { NS_IMPL_CYCLE_COLLECTION(TCPServerSocketParent, mServerSocket)
--- a/dom/network/TCPSocketChild.cpp +++ b/dom/network/TCPSocketChild.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 <algorithm> #include "TCPSocketChild.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/UniquePtr.h" #include "mozilla/net/NeckoChild.h" #include "mozilla/dom/PBrowserChild.h" #include "mozilla/dom/TabChild.h" #include "nsITCPSocketCallback.h" #include "TCPSocket.h" #include "nsContentUtils.h" #include "jsapi.h"
--- a/dom/network/TCPSocketParent.cpp +++ b/dom/network/TCPSocketParent.cpp @@ -3,17 +3,17 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "TCPSocketParent.h" #include "jsapi.h" #include "jsfriendapi.h" #include "nsJSUtils.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/AppProcessChecker.h" #include "mozilla/net/NeckoCommon.h" #include "mozilla/net/PNeckoParent.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/ScriptSettings.h" #include "mozilla/dom/TabParent.h" #include "mozilla/HoldDropJSObjects.h" #include "nsISocketTransportService.h"
--- a/dom/network/UDPSocketChild.cpp +++ b/dom/network/UDPSocketChild.cpp @@ -1,16 +1,16 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "UDPSocketChild.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/ipc/InputStreamUtils.h" #include "mozilla/net/NeckoChild.h" #include "mozilla/dom/PermissionMessageUtils.h" #include "mozilla/ipc/BackgroundChild.h" #include "mozilla/ipc/PBackgroundChild.h" #include "mozilla/ipc/BackgroundUtils.h" #include "mozilla/ipc/PBackgroundSharedTypes.h" #include "nsIIPCBackgroundChildCreateCallback.h"
--- a/dom/network/UDPSocketParent.cpp +++ b/dom/network/UDPSocketParent.cpp @@ -5,17 +5,17 @@ * You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "nsIServiceManager.h" #include "UDPSocketParent.h" #include "nsComponentManagerUtils.h" #include "nsIUDPSocket.h" #include "nsINetAddr.h" #include "mozilla/AppProcessChecker.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/ipc/InputStreamUtils.h" #include "mozilla/net/DNS.h" #include "mozilla/net/NeckoCommon.h" #include "mozilla/net/PNeckoParent.h" #include "nsNetUtil.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/TabParent.h" #include "nsIPermissionManager.h"
--- a/dom/nfc/gonk/NfcMessageHandler.cpp +++ b/dom/nfc/gonk/NfcMessageHandler.cpp @@ -4,17 +4,17 @@ * 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 "NfcMessageHandler.h" #include <binder/Parcel.h> #include "mozilla/dom/MozNDEFRecordBinding.h" #include "nsDebug.h" #include "NfcOptions.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include <android/log.h> #define NMH_LOG(args...) __android_log_print(ANDROID_LOG_INFO, "NfcMessageHandler", args) #define NFCD_MAJOR_VERSION 1 #define NFCD_MINOR_VERSION 22 using namespace android;
--- a/dom/nfc/gonk/NfcService.cpp +++ b/dom/nfc/gonk/NfcService.cpp @@ -14,17 +14,17 @@ #include "mozilla/Hal.h" #include "mozilla/ipc/ListenSocket.h" #include "mozilla/ipc/ListenSocketConsumer.h" #include "mozilla/ipc/NfcConnector.h" #include "mozilla/ipc/StreamSocket.h" #include "mozilla/ipc/StreamSocketConsumer.h" #include "mozilla/ModuleUtils.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "NfcMessageHandler.h" #include "NfcOptions.h" #include "nsString.h" #include "nsXULAppAPI.h" #define NS_NFCSERVICE_CID \ { 0x584c9a21, 0x4e17, 0x43b7, {0xb1, 0x6a, 0x87, 0xa0, 0x42, 0xef, 0xd4, 0x64} } #define NS_NFCSERVICE_CONTRACTID "@mozilla.org/nfc/service;1"
--- a/dom/notification/Notification.cpp +++ b/dom/notification/Notification.cpp @@ -7,17 +7,17 @@ #include "mozilla/dom/Notification.h" #include "mozilla/JSONWriter.h" #include "mozilla/Move.h" #include "mozilla/OwningNonNull.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" #include "mozilla/Telemetry.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/AppNotificationServiceOptionsBinding.h" #include "mozilla/dom/BindingUtils.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/dom/NotificationEvent.h" #include "mozilla/dom/PermissionMessageUtils.h" #include "mozilla/dom/Promise.h" #include "mozilla/dom/PromiseWorkerProxy.h"
--- a/dom/plugins/base/nsNPAPIPluginInstance.cpp +++ b/dom/plugins/base/nsNPAPIPluginInstance.cpp @@ -32,17 +32,17 @@ #include "nsDirectoryServiceDefs.h" #include "nsJSNPRuntime.h" #include "nsPluginStreamListenerPeer.h" #include "nsSize.h" #include "nsNetCID.h" #include "nsIContent.h" #include "nsVersionComparator.h" #include "mozilla/Preferences.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsILoadContext.h" #include "mozilla/dom/HTMLObjectElementBinding.h" #include "AudioChannelService.h" using namespace mozilla; using namespace mozilla::dom; #ifdef MOZ_WIDGET_ANDROID
--- a/dom/plugins/base/nsPluginTags.cpp +++ b/dom/plugins/base/nsPluginTags.cpp @@ -12,17 +12,17 @@ #include "nsPluginHost.h" #include "nsIBlocklistService.h" #include "nsIUnicodeDecoder.h" #include "nsIPlatformCharset.h" #include "nsPluginLogging.h" #include "nsNPAPIPlugin.h" #include "nsCharSeparatedTokenizer.h" #include "mozilla/Preferences.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsNetUtil.h" #include <cctype> #include "mozilla/dom/EncodingUtils.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/dom/FakePluginTagInitBinding.h" using mozilla::dom::EncodingUtils; using mozilla::dom::FakePluginTagInit;
--- a/dom/plugins/ipc/BrowserStreamParent.cpp +++ b/dom/plugins/ipc/BrowserStreamParent.cpp @@ -5,17 +5,17 @@ #include "BrowserStreamParent.h" #include "PluginAsyncSurrogate.h" #include "PluginInstanceParent.h" #include "nsNPAPIPlugin.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" // How much data are we willing to send across the wire // in one chunk? static const int32_t kSendDataChunk = 0xffff; namespace mozilla { namespace plugins {
--- a/dom/plugins/ipc/PluginInstanceParent.h +++ b/dom/plugins/ipc/PluginInstanceParent.h @@ -18,17 +18,17 @@ #endif #include "npfunctions.h" #include "nsDataHashtable.h" #include "nsHashKeys.h" #include "nsRect.h" #include "PluginDataResolver.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/EventForwards.h" class gfxASurface; class gfxContext; class nsPluginInstanceOwner; namespace mozilla { namespace layers {
--- a/dom/plugins/ipc/PluginModuleChild.cpp +++ b/dom/plugins/ipc/PluginModuleChild.cpp @@ -27,17 +27,17 @@ # include "mozilla/X11Util.h" #endif #include "mozilla/ipc/ProcessChild.h" #include "mozilla/plugins/PluginInstanceChild.h" #include "mozilla/plugins/StreamNotifyChild.h" #include "mozilla/plugins/BrowserStreamChild.h" #include "mozilla/plugins/PluginStreamChild.h" #include "mozilla/dom/CrashReporterChild.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsNPAPIPlugin.h" #ifdef XP_WIN #include "nsWindowsDllInterceptor.h" #include "mozilla/widget/AudioSession.h" #include "WinUtils.h" #include <knownfolders.h>
--- a/dom/plugins/ipc/PluginModuleParent.cpp +++ b/dom/plugins/ipc/PluginModuleParent.cpp @@ -20,17 +20,17 @@ #include "mozilla/plugins/PluginInstanceParent.h" #include "mozilla/Preferences.h" #ifdef MOZ_ENABLE_PROFILER_SPS #include "mozilla/ProfileGatherer.h" #endif #include "mozilla/ProcessHangMonitor.h" #include "mozilla/Services.h" #include "mozilla/Telemetry.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsAutoPtr.h" #include "nsCRT.h" #include "nsIFile.h" #include "nsIObserverService.h" #include "nsIXULRuntime.h" #include "nsNPAPIPlugin.h" #include "nsPrintfCString.h" #include "prsystem.h"
--- a/dom/plugins/ipc/PluginScriptableObjectParent.cpp +++ b/dom/plugins/ipc/PluginScriptableObjectParent.cpp @@ -5,17 +5,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "PluginScriptableObjectParent.h" #include "jsapi.h" #include "mozilla/DebugOnly.h" #include "mozilla/dom/ScriptSettings.h" #include "mozilla/plugins/PluginTypes.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsNPAPIPlugin.h" #include "PluginAsyncSurrogate.h" #include "PluginScriptableObjectUtils.h" using namespace mozilla; using namespace mozilla::plugins; using namespace mozilla::plugins::parent;
--- a/dom/plugins/ipc/PluginWidgetChild.cpp +++ b/dom/plugins/ipc/PluginWidgetChild.cpp @@ -3,17 +3,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "mozilla/plugins/PluginWidgetChild.h" #include "mozilla/dom/TabChild.h" #include "mozilla/plugins/PluginWidgetParent.h" #include "PluginWidgetProxy.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/DebugOnly.h" #include "nsDebug.h" #if defined(XP_WIN) #include "mozilla/plugins/PluginInstanceParent.h" #endif #define PWLOG(...)
--- a/dom/plugins/ipc/PluginWidgetParent.cpp +++ b/dom/plugins/ipc/PluginWidgetParent.cpp @@ -3,17 +3,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "PluginWidgetParent.h" #include "mozilla/dom/TabParent.h" #include "mozilla/dom/ContentParent.h" #include "nsComponentManagerUtils.h" #include "nsWidgetsCID.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/DebugOnly.h" #include "nsDebug.h" #if defined(MOZ_WIDGET_GTK) #include "nsPluginNativeWindowGtk.h" #endif using namespace mozilla;
--- a/dom/presentation/provider/DisplayDeviceProvider.cpp +++ b/dom/presentation/provider/DisplayDeviceProvider.cpp @@ -3,17 +3,17 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "DisplayDeviceProvider.h" #include "mozilla/Logging.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIObserverService.h" #include "nsIServiceManager.h" #include "nsIWindowWatcher.h" #include "nsNetUtil.h" #include "nsPIDOMWindow.h" #include "nsSimpleURI.h" #include "nsTCPDeviceInfo.h" #include "nsThreadUtils.h"
--- a/dom/presentation/provider/LegacyMDNSDeviceProvider.cpp +++ b/dom/presentation/provider/LegacyMDNSDeviceProvider.cpp @@ -3,17 +3,17 @@ * 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 "LegacyMDNSDeviceProvider.h" #include "MainThreadUtils.h" #include "mozilla/Logging.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsComponentManagerUtils.h" #include "nsIObserverService.h" #include "nsIWritablePropertyBag2.h" #include "nsServiceManagerUtils.h" #include "nsTCPDeviceInfo.h" #include "nsThreadUtils.h" #include "nsIPropertyBag2.h"
--- a/dom/presentation/provider/MulticastDNSDeviceProvider.cpp +++ b/dom/presentation/provider/MulticastDNSDeviceProvider.cpp @@ -3,17 +3,17 @@ * 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 "MulticastDNSDeviceProvider.h" #include "MainThreadUtils.h" #include "mozilla/Logging.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsComponentManagerUtils.h" #include "nsIObserverService.h" #include "nsIWritablePropertyBag2.h" #include "nsServiceManagerUtils.h" #include "nsTCPDeviceInfo.h" #include "nsThreadUtils.h" #ifdef MOZ_WIDGET_ANDROID
--- a/dom/push/PushManager.cpp +++ b/dom/push/PushManager.cpp @@ -3,17 +3,17 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/dom/PushManager.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/PushManagerBinding.h" #include "mozilla/dom/PushSubscription.h" #include "mozilla/dom/PushSubscriptionOptionsBinding.h" #include "mozilla/dom/PushUtil.h" #include "mozilla/dom/Promise.h" #include "mozilla/dom/PromiseWorkerProxy.h"
--- a/dom/push/PushNotifier.cpp +++ b/dom/push/PushNotifier.cpp @@ -8,17 +8,17 @@ #include "nsCOMPtr.h" #include "nsICategoryManager.h" #include "nsIXULRuntime.h" #include "nsNetUtil.h" #include "nsXPCOM.h" #include "ServiceWorkerManager.h" #include "mozilla/Services.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/BodyUtil.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/dom/ContentParent.h" namespace mozilla { namespace dom {
--- a/dom/push/PushSubscription.cpp +++ b/dom/push/PushSubscription.cpp @@ -3,17 +3,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "mozilla/dom/PushSubscription.h" #include "nsIPushService.h" #include "nsIScriptObjectPrincipal.h" #include "mozilla/Base64.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/Promise.h" #include "mozilla/dom/PromiseWorkerProxy.h" #include "mozilla/dom/PushSubscriptionOptions.h" #include "mozilla/dom/PushUtil.h" #include "mozilla/dom/WorkerPrivate.h" #include "mozilla/dom/WorkerScope.h" #include "mozilla/dom/workers/Workers.h"
--- a/dom/quota/ActorsParent.cpp +++ b/dom/quota/ActorsParent.cpp @@ -39,17 +39,17 @@ #include "mozilla/ipc/BackgroundUtils.h" #include "mozilla/IntegerRange.h" #include "mozilla/Mutex.h" #include "mozilla/LazyIdleThread.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" #include "mozilla/StaticPtr.h" #include "mozilla/TypeTraits.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozStorageCID.h" #include "mozStorageHelper.h" #include "nsAppDirectoryServiceDefs.h" #include "nsComponentManagerUtils.h" #include "nsAboutProtocolUtils.h" #include "nsCharSeparatedTokenizer.h" #include "nsContentUtils.h" #include "nsCRTGlue.h"
--- a/dom/quota/QuotaManagerService.cpp +++ b/dom/quota/QuotaManagerService.cpp @@ -6,17 +6,17 @@ #include "QuotaManagerService.h" #include "ActorsChild.h" #include "mozilla/BasePrincipal.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/Hal.h" #include "mozilla/Preferences.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/ipc/BackgroundChild.h" #include "mozilla/ipc/BackgroundParent.h" #include "mozilla/ipc/BackgroundUtils.h" #include "mozilla/ipc/PBackgroundChild.h" #include "nsIIdleService.h" #include "nsIIPCBackgroundChildCreateCallback.h" #include "nsIObserverService.h" #include "nsIScriptSecurityManager.h"
--- a/dom/speakermanager/SpeakerManagerService.cpp +++ b/dom/speakermanager/SpeakerManagerService.cpp @@ -3,17 +3,17 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "SpeakerManagerService.h" #include "SpeakerManagerServiceChild.h" #include "mozilla/Services.h" #include "mozilla/StaticPtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/ContentParent.h" #include "nsIPropertyBag2.h" #include "nsThreadUtils.h" #include "nsServiceManagerUtils.h" #include "AudioChannelService.h" #include <cutils/properties.h> #define NS_AUDIOMANAGER_CONTRACTID "@mozilla.org/telephony/audiomanager;1"
--- a/dom/speakermanager/SpeakerManagerServiceChild.cpp +++ b/dom/speakermanager/SpeakerManagerServiceChild.cpp @@ -2,17 +2,17 @@ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "SpeakerManagerServiceChild.h" #include "mozilla/Services.h" #include "mozilla/StaticPtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/dom/ContentParent.h" #include "nsIObserverService.h" #include "nsThreadUtils.h" #include "AudioChannelService.h" #include <cutils/properties.h> using namespace mozilla;
--- a/dom/storage/DOMStorageCache.cpp +++ b/dom/storage/DOMStorageCache.cpp @@ -9,17 +9,17 @@ #include "DOMStorage.h" #include "DOMStorageDBThread.h" #include "DOMStorageIPC.h" #include "DOMStorageManager.h" #include "nsAutoPtr.h" #include "nsDOMString.h" #include "nsXULAppAPI.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsProxyRelease.h" #include "nsThreadUtils.h" namespace mozilla { namespace dom { #define DOM_STORAGE_CACHE_KEEP_ALIVE_TIME_MS 20000
--- a/dom/storage/DOMStorageIPC.cpp +++ b/dom/storage/DOMStorageIPC.cpp @@ -5,17 +5,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "DOMStorageIPC.h" #include "DOMStorageManager.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/dom/ContentParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIDiskSpaceWatcher.h" #include "nsThreadUtils.h" namespace mozilla { namespace dom { // ---------------------------------------------------------------------------- // Child
--- a/dom/svg/nsSVGElement.cpp +++ b/dom/svg/nsSVGElement.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/ArrayUtils.h" #include "mozilla/DebugOnly.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsSVGElement.h" #include "mozilla/dom/SVGSVGElement.h" #include "mozilla/dom/SVGTests.h" #include "nsContentUtils.h" #include "nsICSSDeclaration.h" #include "nsIDocument.h" @@ -48,17 +48,17 @@ #include "nsIFrame.h" #include "nsQueryObject.h" #include <stdarg.h> #include "nsSMILMappedAttribute.h" #include "SVGMotionSMILAttr.h" #include "nsAttrValueOrString.h" #include "nsSMILAnimationController.h" #include "mozilla/dom/SVGElementBinding.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/RestyleManagerHandle.h" #include "mozilla/RestyleManagerHandleInlines.h" using namespace mozilla; using namespace mozilla::dom; // This is needed to ensure correct handling of calls to the // vararg-list methods in this file:
--- a/dom/telephony/Telephony.cpp +++ b/dom/telephony/Telephony.cpp @@ -6,17 +6,17 @@ #include "Telephony.h" #include "mozilla/Preferences.h" #include "mozilla/dom/CallEvent.h" #include "mozilla/dom/MozMobileConnectionBinding.h" #include "mozilla/dom/Promise.h" #include "mozilla/dom/TelephonyBinding.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsCharSeparatedTokenizer.h" #include "nsContentUtils.h" #include "nsIPermissionManager.h" #include "nsIURI.h" #include "nsPIDOMWindow.h" #include "nsServiceManagerUtils.h" #include "nsThreadUtils.h"
--- a/dom/workers/FileReaderSync.cpp +++ b/dom/workers/FileReaderSync.cpp @@ -2,17 +2,17 @@ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "FileReaderSync.h" #include "jsfriendapi.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/Base64.h" #include "mozilla/dom/EncodingUtils.h" #include "mozilla/dom/File.h" #include "nsContentUtils.h" #include "mozilla/dom/FileReaderSyncBinding.h" #include "nsCExternalHandlerService.h" #include "nsComponentManagerUtils.h" #include "nsCOMPtr.h"
--- a/dom/workers/ServiceWorkerManager.cpp +++ b/dom/workers/ServiceWorkerManager.cpp @@ -43,17 +43,17 @@ #include "mozilla/dom/Navigator.h" #include "mozilla/dom/NotificationEvent.h" #include "mozilla/dom/PromiseNativeHandler.h" #include "mozilla/dom/Request.h" #include "mozilla/dom/RootedDictionary.h" #include "mozilla/ipc/BackgroundChild.h" #include "mozilla/ipc/PBackgroundChild.h" #include "mozilla/ipc/PBackgroundSharedTypes.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/EnumSet.h" #include "nsContentPolicyUtils.h" #include "nsContentSecurityManager.h" #include "nsContentUtils.h" #include "nsGlobalWindow.h" #include "nsNetUtil.h" #include "nsProxyRelease.h"
--- a/dom/workers/ServiceWorkerManagerChild.cpp +++ b/dom/workers/ServiceWorkerManagerChild.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "ServiceWorkerManagerChild.h" #include "ServiceWorkerManager.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" namespace mozilla { using namespace ipc; namespace dom { namespace workers {
--- a/dom/workers/ServiceWorkerManagerParent.cpp +++ b/dom/workers/ServiceWorkerManagerParent.cpp @@ -6,17 +6,17 @@ #include "ServiceWorkerManagerParent.h" #include "ServiceWorkerManagerService.h" #include "mozilla/AppProcessChecker.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/ServiceWorkerRegistrar.h" #include "mozilla/ipc/BackgroundParent.h" #include "mozilla/ipc/BackgroundUtils.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsThreadUtils.h" namespace mozilla { using namespace ipc; namespace dom { namespace workers {
--- a/dom/workers/ServiceWorkerManagerService.cpp +++ b/dom/workers/ServiceWorkerManagerService.cpp @@ -5,17 +5,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "ServiceWorkerManagerService.h" #include "ServiceWorkerManagerParent.h" #include "ServiceWorkerRegistrar.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/TabParent.h" #include "mozilla/ipc/BackgroundParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsAutoPtr.h" namespace mozilla { using namespace ipc; namespace dom { namespace workers {
--- a/dom/workers/ServiceWorkerPrivate.cpp +++ b/dom/workers/ServiceWorkerPrivate.cpp @@ -22,17 +22,17 @@ #include "WorkerScope.h" #include "mozilla/Assertions.h" #include "mozilla/dom/FetchUtil.h" #include "mozilla/dom/IndexedDatabaseManager.h" #include "mozilla/dom/InternalHeaders.h" #include "mozilla/dom/NotificationEvent.h" #include "mozilla/dom/PromiseNativeHandler.h" #include "mozilla/dom/RequestBinding.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #ifndef MOZ_SIMPLEPUSH #include "nsIPushErrorReporter.h" #include "mozilla/dom/PushEventBinding.h" #endif using namespace mozilla; using namespace mozilla::dom;
--- a/dom/workers/ServiceWorkerRegistration.cpp +++ b/dom/workers/ServiceWorkerRegistration.cpp @@ -8,17 +8,17 @@ #include "ipc/ErrorIPCUtils.h" #include "mozilla/dom/Notification.h" #include "mozilla/dom/Promise.h" #include "mozilla/dom/PromiseWorkerProxy.h" #include "mozilla/dom/ServiceWorkerRegistrationBinding.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsCycleCollectionParticipant.h" #include "nsNetUtil.h" #include "nsServiceManagerUtils.h" #include "ServiceWorker.h" #include "ServiceWorkerManager.h" #include "nsIDocument.h" #include "nsIServiceWorkerManager.h"
--- a/dom/workers/ServiceWorkerScriptCache.cpp +++ b/dom/workers/ServiceWorkerScriptCache.cpp @@ -1,16 +1,16 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "ServiceWorkerScriptCache.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/CacheBinding.h" #include "mozilla/dom/cache/CacheStorage.h" #include "mozilla/dom/cache/Cache.h" #include "mozilla/dom/Promise.h" #include "mozilla/dom/PromiseWorkerProxy.h" #include "mozilla/ipc/BackgroundUtils.h" #include "mozilla/ipc/PBackgroundSharedTypes.h" #include "nsICacheInfoChannel.h"
--- a/dom/xbl/nsBindingManager.cpp +++ b/dom/xbl/nsBindingManager.cpp @@ -44,17 +44,17 @@ #include "nsIScriptContext.h" #include "xpcpublic.h" #include "jswrapper.h" #include "nsThreadUtils.h" #include "mozilla/dom/NodeListBinding.h" #include "mozilla/dom/ScriptSettings.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" using namespace mozilla; using namespace mozilla::dom; // Implement our nsISupports methods NS_IMPL_CYCLE_COLLECTION_CLASS(nsBindingManager)
--- a/embedding/components/printingui/ipc/PrintProgressDialogChild.cpp +++ b/embedding/components/printingui/ipc/PrintProgressDialogChild.cpp @@ -1,13 +1,13 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/unused.h" +#include "mozilla/Unused.h" #include "nsIObserver.h" #include "PrintProgressDialogChild.h" class nsIWebProgress; class nsIRequest; using mozilla::Unused;
--- a/embedding/components/printingui/ipc/PrintProgressDialogParent.cpp +++ b/embedding/components/printingui/ipc/PrintProgressDialogParent.cpp @@ -1,13 +1,13 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/unused.h" +#include "mozilla/Unused.h" #include "nsIPrintProgressParams.h" #include "nsIWebProgressListener.h" #include "PrintProgressDialogParent.h" using mozilla::Unused; namespace mozilla { namespace embedding {
--- a/embedding/components/printingui/ipc/PrintingParent.cpp +++ b/embedding/components/printingui/ipc/PrintingParent.cpp @@ -2,17 +2,17 @@ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/dom/Element.h" #include "mozilla/dom/TabParent.h" #include "mozilla/Preferences.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIContent.h" #include "nsIDocument.h" #include "nsIDOMWindow.h" #include "nsIPrintingPromptService.h" #include "nsIPrintProgressParams.h" #include "nsIPrintSettingsService.h" #include "nsIServiceManager.h" #include "nsServiceManagerUtils.h"
--- a/embedding/components/printingui/ipc/nsPrintingProxy.cpp +++ b/embedding/components/printingui/ipc/nsPrintingProxy.cpp @@ -5,17 +5,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "nsPrintingProxy.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/dom/TabChild.h" #include "mozilla/layout/RemotePrintJobChild.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIDocShell.h" #include "nsIDocShellTreeOwner.h" #include "nsIPrintingPromptService.h" #include "nsIPrintSession.h" #include "nsPIDOMWindow.h" #include "nsPrintOptionsImpl.h" #include "nsServiceManagerUtils.h" #include "PrintDataUtils.h"
--- a/embedding/components/webbrowserpersist/WebBrowserPersistRemoteDocument.cpp +++ b/embedding/components/webbrowserpersist/WebBrowserPersistRemoteDocument.cpp @@ -3,17 +3,17 @@ * This Source Code Form is subject to the terms of the Mozilla Public * 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 "WebBrowserPersistRemoteDocument.h" #include "WebBrowserPersistDocumentParent.h" #include "WebBrowserPersistResourcesParent.h" #include "WebBrowserPersistSerializeParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" namespace mozilla { NS_IMPL_ISUPPORTS(WebBrowserPersistRemoteDocument, nsIWebBrowserPersistDocument) WebBrowserPersistRemoteDocument ::WebBrowserPersistRemoteDocument(WebBrowserPersistDocumentParent* aActor,
--- a/extensions/cookie/nsPermissionManager.cpp +++ b/extensions/cookie/nsPermissionManager.cpp @@ -5,17 +5,17 @@ #include "mozilla/Attributes.h" #include "mozilla/DebugOnly.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/BasePrincipal.h" #include "mozilla/Services.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsPermissionManager.h" #include "nsPermission.h" #include "nsCRT.h" #include "nsNetUtil.h" #include "nsCOMArray.h" #include "nsArrayEnumerator.h" #include "nsTArray.h" #include "nsReadableUtils.h"
--- a/gfx/gl/GLLibraryEGL.cpp +++ b/gfx/gl/GLLibraryEGL.cpp @@ -8,17 +8,17 @@ #include "gfxConfig.h" #include "gfxCrashReporterUtils.h" #include "gfxUtils.h" #include "mozilla/Preferences.h" #include "mozilla/Assertions.h" #include "mozilla/Telemetry.h" #include "mozilla/Tokenizer.h" #include "mozilla/ScopeExit.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsDirectoryServiceDefs.h" #include "nsDirectoryServiceUtils.h" #include "nsIGfxInfo.h" #include "nsPrintfCString.h" #ifdef XP_WIN #include "nsWindowsHelpers.h" #endif #include "OGLShaderProgram.h"
--- a/gfx/gl/SharedSurface.cpp +++ b/gfx/gl/SharedSurface.cpp @@ -10,17 +10,17 @@ #include "GLContext.h" #include "GLReadTexImageHelper.h" #include "GLScreenBuffer.h" #include "nsThreadUtils.h" #include "ScopedGLHelpers.h" #include "SharedSurfaceGL.h" #include "mozilla/layers/CompositorTypes.h" #include "mozilla/layers/TextureClientSharedSurface.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" namespace mozilla { namespace gl { /*static*/ void SharedSurface::ProdCopy(SharedSurface* src, SharedSurface* dest, SurfaceFactory* factory) {
--- a/gfx/layers/IPDLActor.h +++ b/gfx/layers/IPDLActor.h @@ -3,17 +3,17 @@ * 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/. */ #ifndef MOZILLA_LAYERS_IPDLACTOR_H #define MOZILLA_LAYERS_IPDLACTOR_H #include "mozilla/ipc/ProtocolUtils.h" #include "mozilla/layers/CompositableForwarder.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" namespace mozilla { namespace layers { /// A base class to facilitate the deallocation of IPDL actors. /// /// This class implements a simple deallocation protocol that avoids races /// between async messages and actor destruction. The priniple is that the
--- a/gfx/layers/apz/src/AsyncPanZoomController.cpp +++ b/gfx/layers/apz/src/AsyncPanZoomController.cpp @@ -52,17 +52,17 @@ #include "mozilla/layers/APZThreadUtils.h" // for AssertOnControllerThread, etc #include "mozilla/layers/AsyncCompositionManager.h" // for ViewTransform #include "mozilla/layers/AxisPhysicsModel.h" // for AxisPhysicsModel #include "mozilla/layers/AxisPhysicsMSDModel.h" // for AxisPhysicsMSDModel #include "mozilla/layers/CompositorBridgeParent.h" // for CompositorBridgeParent #include "mozilla/layers/LayerTransactionParent.h" // for LayerTransactionParent #include "mozilla/layers/ScrollInputMethods.h" // for ScrollInputMethod #include "mozilla/mozalloc.h" // for operator new, etc -#include "mozilla/unused.h" // for unused +#include "mozilla/Unused.h" // for unused #include "mozilla/FloatingPoint.h" // for FuzzyEquals* #include "nsAlgorithm.h" // for clamped #include "nsCOMPtr.h" // for already_AddRefed #include "nsDebug.h" // for NS_WARNING #include "nsIDOMWindowUtils.h" // for nsIDOMWindowUtils #include "nsMathUtils.h" // for NS_hypot #include "nsPoint.h" // for nsIntPoint #include "nsStyleConsts.h"
--- a/gfx/layers/client/TextureClientSharedSurface.cpp +++ b/gfx/layers/client/TextureClientSharedSurface.cpp @@ -4,17 +4,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "TextureClientSharedSurface.h" #include "GLContext.h" #include "mozilla/gfx/2D.h" #include "mozilla/gfx/Logging.h" // for gfxDebug #include "mozilla/layers/ISurfaceAllocator.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsThreadUtils.h" #include "SharedSurface.h" #ifdef MOZ_WIDGET_GONK #include "mozilla/layers/GrallocTextureClient.h" #include "SharedSurfaceGralloc.h" #endif
--- a/gfx/layers/composite/TextureHost.cpp +++ b/gfx/layers/composite/TextureHost.cpp @@ -18,17 +18,17 @@ #include "mozilla/layers/TextureHostBasic.h" #include "mozilla/layers/TextureHostOGL.h" // for TextureHostOGL #include "mozilla/layers/ImageDataSerializer.h" #include "mozilla/layers/TextureClient.h" #include "nsAString.h" #include "mozilla/RefPtr.h" // for nsRefPtr #include "nsPrintfCString.h" // for nsPrintfCString #include "mozilla/layers/PTextureParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include <limits> #include "../opengl/CompositorOGL.h" #include "gfxPrefs.h" #include "gfxUtils.h" #include "IPDLActor.h" #ifdef MOZ_ENABLE_D3D10_LAYER #include "../d3d11/CompositorD3D11.h"
--- a/gfx/layers/ipc/CompositableTransactionParent.cpp +++ b/gfx/layers/ipc/CompositableTransactionParent.cpp @@ -20,17 +20,17 @@ #include "mozilla/layers/LayerManagerComposite.h" #include "mozilla/layers/LayersSurfaces.h" // for SurfaceDescriptor #include "mozilla/layers/LayersTypes.h" // for MOZ_LAYERS_LOG #include "mozilla/layers/TextureHost.h" // for TextureHost #include "mozilla/layers/TextureHostOGL.h" // for TextureHostOGL #include "mozilla/layers/TiledContentHost.h" #include "mozilla/layers/PaintedLayerComposite.h" #include "mozilla/mozalloc.h" // for operator delete -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsDebug.h" // for NS_WARNING, NS_ASSERTION #include "nsRegion.h" // for nsIntRegion namespace mozilla { namespace layers { class ClientTiledLayerBuffer; class Compositor;
--- a/gfx/layers/ipc/CompositorBridgeChild.cpp +++ b/gfx/layers/ipc/CompositorBridgeChild.cpp @@ -23,17 +23,17 @@ #include "nsAutoPtr.h" #include "nsDebug.h" // for NS_RUNTIMEABORT #include "nsIObserver.h" // for nsIObserver #include "nsISupportsImpl.h" // for MOZ_COUNT_CTOR, etc #include "nsTArray.h" // for nsTArray, nsTArray_Impl #include "nsXULAppAPI.h" // for XRE_GetIOMessageLoop, etc #include "FrameLayerBuilder.h" #include "mozilla/dom/TabChild.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/DebugOnly.h" #if defined(XP_WIN) #include "WinUtils.h" #endif #include "mozilla/widget/CompositorWidget.h" #ifdef MOZ_WIDGET_SUPPORTS_OOP_COMPOSITING # include "mozilla/widget/CompositorWidgetChild.h" #endif
--- a/gfx/layers/ipc/CompositorBridgeParent.cpp +++ b/gfx/layers/ipc/CompositorBridgeParent.cpp @@ -61,17 +61,17 @@ #include "nsThreadUtils.h" // for NS_IsMainThread #include "nsXULAppAPI.h" // for XRE_GetIOMessageLoop #ifdef XP_WIN #include "mozilla/layers/CompositorD3D11.h" #include "mozilla/layers/CompositorD3D9.h" #endif #include "GeckoProfiler.h" #include "mozilla/ipc/ProtocolTypes.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/Hal.h" #include "mozilla/HalTypes.h" #include "mozilla/StaticPtr.h" #include "mozilla/Telemetry.h" #ifdef MOZ_ENABLE_PROFILER_SPS #include "ProfilerMarkers.h" #endif #include "mozilla/VsyncDispatcher.h"
--- a/gfx/layers/ipc/GonkNativeHandleUtils.cpp +++ b/gfx/layers/ipc/GonkNativeHandleUtils.cpp @@ -2,17 +2,17 @@ * vim: sw=2 ts=8 et : */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "GonkNativeHandleUtils.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" using namespace mozilla::layers; namespace IPC { namespace { class native_handle_Delete
--- a/gfx/layers/ipc/ImageBridgeParent.cpp +++ b/gfx/layers/ipc/ImageBridgeParent.cpp @@ -21,17 +21,17 @@ #include "mozilla/layers/LayerManagerComposite.h" #include "mozilla/layers/LayersMessages.h" // for EditReply #include "mozilla/layers/LayersSurfaces.h" // for PGrallocBufferParent #include "mozilla/layers/PCompositableParent.h" #include "mozilla/layers/PImageBridgeParent.h" #include "mozilla/layers/TextureHostOGL.h" // for TextureHostOGL #include "mozilla/layers/Compositor.h" #include "mozilla/mozalloc.h" // for operator new, etc -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsDebug.h" // for NS_RUNTIMEABORT, etc #include "nsISupportsImpl.h" // for ImageBridgeParent::Release, etc #include "nsTArray.h" // for nsTArray, nsTArray_Impl #include "nsTArrayForwardDeclare.h" // for InfallibleTArray #include "nsXULAppAPI.h" // for XRE_GetIOMessageLoop #include "mozilla/layers/TextureHost.h" #include "nsThreadUtils.h"
--- a/gfx/layers/ipc/ImageContainerParent.cpp +++ b/gfx/layers/ipc/ImageContainerParent.cpp @@ -4,17 +4,17 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "ImageContainerParent.h" #include "nsThreadUtils.h" #include "mozilla/layers/ImageHost.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" namespace mozilla { namespace layers { ImageContainerParent::~ImageContainerParent() { while (!mImageHosts.IsEmpty()) { mImageHosts[mImageHosts.Length() - 1]->SetImageContainer(nullptr);
--- a/gfx/layers/ipc/LayerTransactionParent.cpp +++ b/gfx/layers/ipc/LayerTransactionParent.cpp @@ -26,17 +26,17 @@ #include "mozilla/layers/LayersSurfaces.h" // for PGrallocBufferParent #include "mozilla/layers/LayersTypes.h" // for MOZ_LAYERS_LOG #include "mozilla/layers/PCompositableParent.h" #include "mozilla/layers/PLayerParent.h" // for PLayerParent #include "mozilla/layers/TextureHostOGL.h" // for TextureHostOGL #include "mozilla/layers/PaintedLayerComposite.h" #include "mozilla/layers/ShadowLayersManager.h" // for ShadowLayersManager #include "mozilla/mozalloc.h" // for operator delete, etc -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsCoord.h" // for NSAppUnitsToFloatPixels #include "nsDebug.h" // for NS_RUNTIMEABORT #include "nsDeviceContext.h" // for AppUnitsPerCSSPixel #include "nsISupportsImpl.h" // for Layer::Release, etc #include "nsLayoutUtils.h" // for nsLayoutUtils #include "nsMathUtils.h" // for NS_round #include "nsPoint.h" // for nsPoint #include "nsTArray.h" // for nsTArray, nsTArray_Impl, etc
--- a/gfx/layers/ipc/RemoteContentController.cpp +++ b/gfx/layers/ipc/RemoteContentController.cpp @@ -11,17 +11,17 @@ #include "base/task.h" #include "MainThreadUtils.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/TabParent.h" #include "mozilla/layers/IAPZCTreeManager.h" #include "mozilla/layers/APZThreadUtils.h" #include "mozilla/layout/RenderFrameParent.h" #include "mozilla/gfx/GPUProcessManager.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "Units.h" #ifdef MOZ_WIDGET_ANDROID #include "AndroidBridge.h" #endif namespace mozilla { namespace layers {
--- a/gfx/layers/ipc/ShadowLayerUtilsGralloc.cpp +++ b/gfx/layers/ipc/ShadowLayerUtilsGralloc.cpp @@ -11,17 +11,17 @@ #include "mozilla/layers/LayerTransactionChild.h" #include "mozilla/layers/ShadowLayers.h" #include "mozilla/layers/LayerManagerComposite.h" #include "mozilla/layers/CompositorTypes.h" #include "mozilla/layers/TextureHost.h" #include "mozilla/layers/SharedBufferManagerChild.h" #include "mozilla/layers/SharedBufferManagerParent.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsXULAppAPI.h" #include "ShadowLayerUtilsGralloc.h" #include "nsIMemoryReporter.h" #include "gfxPlatform.h" #include "gfx2DGlue.h"
--- a/gfx/layers/ipc/SharedBufferManagerParent.cpp +++ b/gfx/layers/ipc/SharedBufferManagerParent.cpp @@ -9,17 +9,17 @@ #include "base/process.h" // for ProcessId #include "base/task.h" // for CancelableTask, DeleteTask, etc #include "base/thread.h" #include "mozilla/Sprintf.h" // for SprintfLiteral #include "mozilla/ipc/MessageChannel.h" // for MessageChannel, etc #include "mozilla/ipc/ProtocolUtils.h" #include "mozilla/ipc/Transport.h" // for Transport #include "mozilla/UniquePtr.h" // for UniquePtr -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIMemoryReporter.h" #ifdef MOZ_WIDGET_GONK #include "mozilla/LinuxUtils.h" #include "ui/PixelFormat.h" #endif #include "nsPrintfCString.h" #include "nsThreadUtils.h"
--- a/gfx/thebes/gfxPrefs.cpp +++ b/gfx/thebes/gfxPrefs.cpp @@ -3,17 +3,17 @@ * 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 "gfxPrefs.h" #include "MainThreadUtils.h" #include "nsXULAppAPI.h" #include "mozilla/Preferences.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/gfx/Logging.h" #include "mozilla/gfx/GPUChild.h" #include "mozilla/gfx/GPUProcessManager.h" using namespace mozilla; nsTArray<gfxPrefs::Pref*>* gfxPrefs::sGfxPrefList = nullptr; gfxPrefs* gfxPrefs::sInstance = nullptr;
--- a/gfx/vr/VRDisplayClient.cpp +++ b/gfx/vr/VRDisplayClient.cpp @@ -6,17 +6,17 @@ #include <math.h> #include "prlink.h" #include "prmem.h" #include "prenv.h" #include "gfxPrefs.h" #include "nsString.h" #include "mozilla/Preferences.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsServiceManagerUtils.h" #include "nsIScreenManager.h" #ifdef XP_WIN #include "../layers/d3d11/CompositorD3D11.h" #endif #include "VRDisplayClient.h"
--- a/gfx/vr/VRDisplayPresentation.cpp +++ b/gfx/vr/VRDisplayPresentation.cpp @@ -1,16 +1,16 @@ /* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*- * This Source Code Form is subject to the terms of the Mozilla Public * 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 "VRDisplayPresentation.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "VRDisplayClient.h" #include "VRLayerChild.h" using namespace mozilla; using namespace mozilla::gfx; VRDisplayPresentation::VRDisplayPresentation(VRDisplayClient *aDisplayClient, const nsTArray<mozilla::dom::VRLayer>& aLayers)
--- a/gfx/vr/VRManager.cpp +++ b/gfx/vr/VRManager.cpp @@ -5,17 +5,17 @@ #include "VRManager.h" #include "VRManagerParent.h" #include "gfxVR.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/dom/VRDisplay.h" #include "mozilla/layers/TextureHost.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "gfxPrefs.h" #include "gfxVR.h" #if defined(XP_WIN) #include "gfxVROculus.h" #endif #if defined(XP_WIN) || defined(XP_MACOSX) || defined(XP_LINUX) #include "gfxVROSVR.h"
--- a/gfx/vr/ipc/VRLayerParent.cpp +++ b/gfx/vr/ipc/VRLayerParent.cpp @@ -1,16 +1,16 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- * This Source Code Form is subject to the terms of the Mozilla Public * 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 "VRLayerParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" namespace mozilla { namespace gfx { VRLayerParent::VRLayerParent(uint32_t aVRDisplayID, const Rect& aLeftEyeRect, const Rect& aRightEyeRect) : mIPCOpen(true) , mVRDisplayID(aVRDisplayID) , mLeftEyeRect(aLeftEyeRect)
--- a/gfx/vr/ipc/VRManagerParent.cpp +++ b/gfx/vr/ipc/VRManagerParent.cpp @@ -7,17 +7,17 @@ #include "VRManagerParent.h" #include "ipc/VRLayerParent.h" #include "mozilla/gfx/PVRManagerParent.h" #include "mozilla/ipc/ProtocolTypes.h" #include "mozilla/ipc/ProtocolUtils.h" // for IToplevelProtocol #include "mozilla/TimeStamp.h" // for TimeStamp #include "mozilla/layers/CompositorThread.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "VRManager.h" namespace mozilla { using namespace layers; namespace gfx { VRManagerParent::VRManagerParent(ProcessId aChildProcessId) : HostIPCAllocator()
--- a/hal/gonk/SystemService.cpp +++ b/hal/gonk/SystemService.cpp @@ -7,17 +7,17 @@ #include "Hal.h" #include <cutils/properties.h> #include <stdio.h> #include <string.h> #include "HalLog.h" #include "nsITimer.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" namespace mozilla { namespace hal_impl { static const int sRetryInterval = 100; // ms bool SystemServiceIsRunning(const char* aSvcName)
--- a/hal/sandbox/SandboxHal.cpp +++ b/hal/sandbox/SandboxHal.cpp @@ -12,17 +12,17 @@ #include "mozilla/hal_sandbox/PHalChild.h" #include "mozilla/hal_sandbox/PHalParent.h" #include "mozilla/dom/TabParent.h" #include "mozilla/dom/TabChild.h" #include "mozilla/dom/battery/Types.h" #include "mozilla/dom/network/Types.h" #include "mozilla/dom/ScreenOrientation.h" #include "mozilla/Observer.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsAutoPtr.h" #include "WindowIdentifier.h" using namespace mozilla; using namespace mozilla::dom; using namespace mozilla::hal; namespace mozilla {
--- a/image/SurfacePipe.h +++ b/image/SurfacePipe.h @@ -25,17 +25,17 @@ #include <stdint.h> #include "nsDebug.h" #include "mozilla/Likely.h" #include "mozilla/Maybe.h" #include "mozilla/Move.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/Variant.h" #include "mozilla/gfx/2D.h" namespace mozilla { namespace image { class Decoder;
--- a/ipc/dbus/DBusHelpers.cpp +++ b/ipc/dbus/DBusHelpers.cpp @@ -5,17 +5,17 @@ * You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "DBusHelpers.h" #include "mozilla/ipc/DBusMessageRefPtr.h" #include "mozilla/ipc/DBusPendingCallRefPtr.h" #include "mozilla/ipc/DBusWatcher.h" #include "mozilla/RefPtr.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsThreadUtils.h" #undef CHROMIUM_LOG #if defined(MOZ_WIDGET_GONK) #include <android/log.h> #define CHROMIUM_LOG(args...) __android_log_print(ANDROID_LOG_INFO, "Gonk", args); #else #define CHROMIUM_LOG(args...) printf(args);
--- a/ipc/dbus/DBusWatcher.cpp +++ b/ipc/dbus/DBusWatcher.cpp @@ -1,16 +1,16 @@ /* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */ /* vim: set ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "DBusWatcher.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsThreadUtils.h" namespace mozilla { namespace ipc { DBusWatcher::DBusWatcher(DBusConnection* aConnection, DBusWatch* aWatch) : mConnection(aConnection) , mWatch(aWatch)
--- a/ipc/glue/BackgroundImpl.cpp +++ b/ipc/glue/BackgroundImpl.cpp @@ -15,17 +15,17 @@ #include "GeckoProfiler.h" #include "InputStreamUtils.h" #include "mozilla/Assertions.h" #include "mozilla/Atomics.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/DebugOnly.h" #include "mozilla/Services.h" #include "mozilla/StaticPtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/File.h" #include "mozilla/dom/ipc/BlobChild.h" #include "mozilla/dom/ipc/BlobParent.h" #include "mozilla/dom/ipc/nsIRemoteBlob.h" #include "mozilla/ipc/ProtocolTypes.h" #include "nsAutoPtr.h"
--- a/ipc/glue/CrossProcessMutex_posix.cpp +++ b/ipc/glue/CrossProcessMutex_posix.cpp @@ -1,16 +1,16 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "CrossProcessMutex.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsDebug.h" #include "nsISupportsImpl.h" namespace { struct MutexData { pthread_mutex_t mMutex; mozilla::Atomic<int32_t> mCount;
--- a/ipc/glue/IPCStreamUtils.cpp +++ b/ipc/glue/IPCStreamUtils.cpp @@ -13,17 +13,17 @@ #include "mozilla/dom/PContentParent.h" #include "mozilla/dom/File.h" #include "mozilla/ipc/FileDescriptorSetChild.h" #include "mozilla/ipc/FileDescriptorSetParent.h" #include "mozilla/ipc/InputStreamUtils.h" #include "mozilla/ipc/PBackgroundChild.h" #include "mozilla/ipc/PBackgroundParent.h" #include "mozilla/ipc/SendStream.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIAsyncInputStream.h" namespace mozilla { namespace ipc { namespace { // These serialization and cleanup functions could be externally exposed. For
--- a/ipc/glue/SendStreamChild.cpp +++ b/ipc/glue/SendStreamChild.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/ipc/SendStream.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/PContentChild.h" #include "mozilla/dom/WorkerPrivate.h" #include "mozilla/dom/workers/bindings/WorkerHolder.h" #include "mozilla/ipc/PBackgroundChild.h" #include "nsIAsyncInputStream.h" #include "nsICancelableRunnable.h" #include "nsIRunnable.h" #include "nsIThread.h"
--- a/ipc/glue/SendStreamParent.cpp +++ b/ipc/glue/SendStreamParent.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/ipc/SendStream.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIAsyncInputStream.h" #include "nsIAsyncOutputStream.h" #include "nsIPipe.h" namespace mozilla { namespace ipc { namespace {
--- a/ipc/glue/Shmem.cpp +++ b/ipc/glue/Shmem.cpp @@ -4,17 +4,17 @@ * 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 "Shmem.h" #include "ProtocolUtils.h" #include "SharedMemoryBasic.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" namespace mozilla { namespace ipc { class ShmemCreated : public IPC::Message { private:
--- a/ipc/hal/DaemonRunnables.h +++ b/ipc/hal/DaemonRunnables.h @@ -2,17 +2,17 @@ /* vim: set ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/. */ #ifndef mozilla_ipc_DaemonRunnables_h #define mozilla_ipc_DaemonRunnables_h -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/UniquePtr.h" #include "nsThreadUtils.h" namespace mozilla { namespace ipc { namespace details {
--- a/ipc/ipdl/test/cxx/TestActorPunning.cpp +++ b/ipc/ipdl/test/cxx/TestActorPunning.cpp @@ -1,12 +1,12 @@ #include "TestActorPunning.h" #include "IPDLUnitTests.h" // fail etc. -#include "mozilla/unused.h" +#include "mozilla/Unused.h" namespace mozilla { namespace _ipdltest { //----------------------------------------------------------------------------- // parent void
--- a/ipc/ipdl/test/cxx/TestBadActor.cpp +++ b/ipc/ipdl/test/cxx/TestBadActor.cpp @@ -1,11 +1,11 @@ #include "TestBadActor.h" #include "IPDLUnitTests.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" namespace mozilla { namespace _ipdltest { void TestBadActorParent::Main() { // This test is designed to test a race condition where the child sends us
--- a/ipc/ipdl/test/cxx/TestDataStructures.cpp +++ b/ipc/ipdl/test/cxx/TestDataStructures.cpp @@ -1,11 +1,11 @@ #include "TestDataStructures.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "IPDLUnitTests.h" // fail etc. typedef InfallibleTArray<nsIntRegion> RegionArray; namespace mozilla { namespace _ipdltest {
--- a/ipc/unixsocket/ListenSocket.cpp +++ b/ipc/unixsocket/ListenSocket.cpp @@ -5,17 +5,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "ListenSocket.h" #include <fcntl.h> #include "ConnectionOrientedSocket.h" #include "DataSocket.h" #include "ListenSocketConsumer.h" #include "mozilla/RefPtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsISupportsImpl.h" // for MOZ_COUNT_CTOR, MOZ_COUNT_DTOR #include "nsXULAppAPI.h" #include "UnixSocketConnector.h" namespace mozilla { namespace ipc { //
--- a/js/ipc/WrapperOwner.cpp +++ b/js/ipc/WrapperOwner.cpp @@ -2,17 +2,17 @@ * vim: set ts=4 sw=4 et tw=80: * * This Source Code Form is subject to the terms of the Mozilla Public * 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 "WrapperOwner.h" #include "JavaScriptLogging.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/BindingUtils.h" #include "jsfriendapi.h" #include "js/CharacterEncoding.h" #include "xpcprivate.h" #include "CPOWTimer.h" #include "WrapperFactory.h" #include "nsIDocShellTreeItem.h"
--- a/js/src/asmjs/WasmTypes.h +++ b/js/src/asmjs/WasmTypes.h @@ -20,17 +20,17 @@ #define wasm_types_h #include "mozilla/EnumeratedArray.h" #include "mozilla/HashFunctions.h" #include "mozilla/Maybe.h" #include "mozilla/Move.h" #include "mozilla/RefCounted.h" #include "mozilla/RefPtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "NamespaceImports.h" #include "asmjs/WasmBinary.h" #include "ds/LifoAlloc.h" #include "jit/IonTypes.h" #include "js/UniquePtr.h" #include "js/Utility.h"
--- a/js/src/builtin/AtomicsObject.cpp +++ b/js/src/builtin/AtomicsObject.cpp @@ -45,17 +45,17 @@ * shared memory, or compilation will fail with a predictable error. */ #include "builtin/AtomicsObject.h" #include "mozilla/Atomics.h" #include "mozilla/FloatingPoint.h" #include "mozilla/Maybe.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "jsapi.h" #include "jsfriendapi.h" #include "jsnum.h" #include "asmjs/WasmInstance.h" #include "jit/AtomicOperations.h" #include "jit/InlinableNatives.h"
--- a/js/src/builtin/TestingFunctions.cpp +++ b/js/src/builtin/TestingFunctions.cpp @@ -4,17 +4,17 @@ * 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 "builtin/TestingFunctions.h" #include "mozilla/FloatingPoint.h" #include "mozilla/Move.h" #include "mozilla/Sprintf.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include <cmath> #include "jsapi.h" #include "jscntxt.h" #include "jsfriendapi.h" #include "jsgc.h" #include "jsobj.h"
--- a/js/src/gc/Nursery.cpp +++ b/js/src/gc/Nursery.cpp @@ -5,17 +5,17 @@ * 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 "gc/Nursery-inl.h" #include "mozilla/DebugOnly.h" #include "mozilla/IntegerPrintfMacros.h" #include "mozilla/Move.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "jscompartment.h" #include "jsfriendapi.h" #include "jsgc.h" #include "jsutil.h" #include "gc/GCInternals.h" #include "gc/Memory.h"
--- a/js/src/jit/StackSlotAllocator.h +++ b/js/src/jit/StackSlotAllocator.h @@ -2,17 +2,17 @@ * vim: set ts=8 sts=4 et sw=4 tw=99: * This Source Code Form is subject to the terms of the Mozilla Public * 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/. */ #ifndef jit_StackSlotAllocator_h #define jit_StackSlotAllocator_h -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "jit/Registers.h" namespace js { namespace jit { class StackSlotAllocator {
--- a/js/src/jsmath.cpp +++ b/js/src/jsmath.cpp @@ -8,17 +8,17 @@ * JS math package. */ #include "jsmath.h" #include "mozilla/FloatingPoint.h" #include "mozilla/MathAlgorithms.h" #include "mozilla/MemoryReporting.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include <algorithm> // for std::max #include <fcntl.h> #ifdef XP_UNIX # include <unistd.h> #endif
--- a/js/src/jsscript.cpp +++ b/js/src/jsscript.cpp @@ -10,17 +10,17 @@ #include "jsscriptinlines.h" #include "mozilla/DebugOnly.h" #include "mozilla/MathAlgorithms.h" #include "mozilla/MemoryReporting.h" #include "mozilla/PodOperations.h" #include "mozilla/ScopeExit.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/Vector.h" #include <algorithm> #include <string.h> #include "jsapi.h" #include "jsatom.h" #include "jscntxt.h"
--- a/js/src/jsstr.cpp +++ b/js/src/jsstr.cpp @@ -8,17 +8,17 @@ #include "mozilla/Attributes.h" #include "mozilla/Casting.h" #include "mozilla/CheckedInt.h" #include "mozilla/FloatingPoint.h" #include "mozilla/PodOperations.h" #include "mozilla/Range.h" #include "mozilla/TypeTraits.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include <ctype.h> #include <limits> #include <string.h> #include "jsapi.h" #include "jsarray.h" #include "jsatom.h"
--- a/js/src/vm/HelperThreads.cpp +++ b/js/src/vm/HelperThreads.cpp @@ -2,17 +2,17 @@ * vim: set ts=8 sts=4 et sw=4 tw=99: * This Source Code Form is subject to the terms of the Mozilla Public * 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 "vm/HelperThreads.h" #include "mozilla/DebugOnly.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "jsnativestack.h" #include "jsnum.h" // For FIX_FPU() #include "asmjs/WasmIonCompile.h" #include "builtin/Promise.h" #include "frontend/BytecodeCompiler.h" #include "gc/GCInternals.h"
--- a/js/src/vm/Runtime.cpp +++ b/js/src/vm/Runtime.cpp @@ -4,17 +4,17 @@ * 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/ArrayUtils.h" #include "mozilla/Atomics.h" #include "mozilla/DebugOnly.h" #include "mozilla/MemoryReporting.h" #include "mozilla/ThreadLocal.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #if defined(XP_DARWIN) #include <mach/mach.h> #elif defined(XP_UNIX) #include <sys/resource.h> #elif defined(XP_WIN) #include <processthreadsapi.h> #include <windows.h>
--- a/js/src/vm/Stopwatch.cpp +++ b/js/src/vm/Stopwatch.cpp @@ -3,17 +3,17 @@ * This Source Code Form is subject to the terms of the Mozilla Public * 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 "vm/Stopwatch.h" #include "mozilla/ArrayUtils.h" #include "mozilla/IntegerTypeTraits.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #if defined(XP_WIN) #include <processthreadsapi.h> #include <windows.h> #endif // defined(XP_WIN) #include "jscompartment.h"
--- a/js/src/vm/String.cpp +++ b/js/src/vm/String.cpp @@ -6,17 +6,17 @@ #include "vm/String-inl.h" #include "mozilla/MathAlgorithms.h" #include "mozilla/MemoryReporting.h" #include "mozilla/PodOperations.h" #include "mozilla/RangedPtr.h" #include "mozilla/TypeTraits.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "gc/Marking.h" #include "js/UbiNode.h" #include "vm/SPSProfiler.h" #include "jscntxtinlines.h" #include "jscompartmentinlines.h"
--- a/js/xpconnect/loader/mozJSComponentLoader.cpp +++ b/js/xpconnect/loader/mozJSComponentLoader.cpp @@ -42,17 +42,17 @@ #include "mozilla/AddonPathService.h" #include "mozilla/scache/StartupCache.h" #include "mozilla/scache/StartupCacheUtils.h" #include "mozilla/MacroForEach.h" #include "mozilla/Preferences.h" #include "mozilla/dom/ScriptSettings.h" #include "mozilla/UniquePtrExtensions.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" using namespace mozilla; using namespace mozilla::scache; using namespace xpc; using namespace JS; // This JSClass exists to trick silly code that expects toString()ing the // global in a component scope to return something with "BackstagePass" in it
--- a/js/xpconnect/loader/mozJSSubScriptLoader.cpp +++ b/js/xpconnect/loader/mozJSSubScriptLoader.cpp @@ -25,17 +25,17 @@ #include "xpcprivate.h" // For xpc::OptionsBase #include "jswrapper.h" #include "mozilla/dom/Promise.h" #include "mozilla/dom/ToJSValue.h" #include "mozilla/HoldDropJSObjects.h" #include "mozilla/scache/StartupCache.h" #include "mozilla/scache/StartupCacheUtils.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsContentUtils.h" #include "nsStringGlue.h" #include "nsCycleCollectionParticipant.h" using namespace mozilla::scache; using namespace JS; using namespace xpc; using namespace mozilla;
--- a/js/xpconnect/src/XPCJSRuntime.cpp +++ b/js/xpconnect/src/XPCJSRuntime.cpp @@ -42,17 +42,17 @@ #include "mozilla/dom/GeneratedAtomList.h" #include "mozilla/dom/BindingUtils.h" #include "mozilla/dom/Element.h" #include "mozilla/dom/WindowBinding.h" #include "mozilla/Atomics.h" #include "mozilla/Attributes.h" #include "mozilla/ProcessHangMonitor.h" #include "mozilla/UniquePtrExtensions.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "AccessCheck.h" #include "nsGlobalWindow.h" #include "nsAboutProtocolUtils.h" #include "GeckoProfiler.h" #include "nsIXULRuntime.h" #include "nsJSPrincipals.h"
--- a/js/xpconnect/src/XPCWrappedNative.cpp +++ b/js/xpconnect/src/XPCWrappedNative.cpp @@ -17,17 +17,17 @@ #include "XrayWrapper.h" #include "nsContentUtils.h" #include "nsCycleCollectionNoteRootCallback.h" #include <stdint.h> #include "mozilla/DeferredFinalize.h" #include "mozilla/Likely.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/BindingUtils.h" #include <algorithm> using namespace xpc; using namespace mozilla; using namespace mozilla::dom; using namespace JS;
--- a/layout/base/FrameLayerBuilder.cpp +++ b/layout/base/FrameLayerBuilder.cpp @@ -42,17 +42,17 @@ #include "mozilla/EffectCompositor.h" #include "mozilla/Move.h" #include "mozilla/ReverseIterator.h" #include "mozilla/gfx/2D.h" #include "mozilla/gfx/Tools.h" #include "mozilla/layers/ShadowLayers.h" #include "mozilla/layers/TextureClient.h" #include "mozilla/layers/TextureWrapperImage.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "GeckoProfiler.h" #include "LayersLogging.h" #include "gfxPrefs.h" #include <algorithm> using namespace mozilla::layers; using namespace mozilla::gfx;
--- a/layout/base/FramePropertyTable.h +++ b/layout/base/FramePropertyTable.h @@ -3,17 +3,17 @@ * 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/. */ #ifndef FRAMEPROPERTYTABLE_H_ #define FRAMEPROPERTYTABLE_H_ #include "mozilla/MemoryReporting.h" #include "mozilla/TypeTraits.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsTArray.h" #include "nsTHashtable.h" #include "nsHashKeys.h" class nsIFrame; namespace mozilla {
--- a/layout/base/nsDisplayList.cpp +++ b/layout/base/nsDisplayList.cpp @@ -56,17 +56,17 @@ #include "mozilla/AnimationUtils.h" #include "mozilla/EffectCompositor.h" #include "mozilla/EventStates.h" #include "mozilla/LookAndFeel.h" #include "mozilla/OperatorNewExtensions.h" #include "mozilla/PendingAnimationTracker.h" #include "mozilla/Preferences.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "ActiveLayerTracker.h" #include "nsContentUtils.h" #include "nsPrintfCString.h" #include "UnitTransforms.h" #include "LayersLogging.h" #include "FrameLayerBuilder.h" #include "mozilla/EventStateManager.h" #include "mozilla/RestyleManager.h"
--- a/layout/base/nsLayoutUtils.cpp +++ b/layout/base/nsLayoutUtils.cpp @@ -15,17 +15,17 @@ #include "mozilla/FloatingPoint.h" #include "mozilla/gfx/gfxVars.h" #include "mozilla/gfx/PathHelpers.h" #include "mozilla/layers/PAPZ.h" #include "mozilla/Likely.h" #include "mozilla/Maybe.h" #include "mozilla/MemoryReporting.h" #include "mozilla/dom/ContentChild.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsCharTraits.h" #include "nsFontMetrics.h" #include "nsPresContext.h" #include "nsIContent.h" #include "nsIDOMHTMLDocument.h" #include "nsIDOMHTMLElement.h" #include "nsFrameList.h" #include "nsGkAtoms.h"
--- a/layout/base/nsPresShell.cpp +++ b/layout/base/nsPresShell.cpp @@ -30,17 +30,17 @@ #include "mozilla/MemoryReporting.h" #include "mozilla/dom/TabChild.h" #include "mozilla/Likely.h" #include "mozilla/MouseEvents.h" #include "mozilla/Sprintf.h" #include "mozilla/TextEvents.h" #include "mozilla/TouchEvents.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/StyleBackendType.h" #include <algorithm> #ifdef XP_WIN #include "winuser.h" #endif #include "gfxPrefs.h"
--- a/layout/base/nsRefreshDriver.cpp +++ b/layout/base/nsRefreshDriver.cpp @@ -59,17 +59,17 @@ #include "gfxPrefs.h" #include "BackgroundChild.h" #include "mozilla/ipc/PBackgroundChild.h" #include "nsIIPCBackgroundChildCreateCallback.h" #include "mozilla/layout/VsyncChild.h" #include "VsyncSource.h" #include "mozilla/VsyncDispatcher.h" #include "nsThreadUtils.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/TimelineConsumers.h" #include "nsAnimationManager.h" #include "nsIDOMEvent.h" using namespace mozilla; using namespace mozilla::widget; using namespace mozilla::ipc; using namespace mozilla::layout;
--- a/layout/base/nsStyleSheetService.cpp +++ b/layout/base/nsStyleSheetService.cpp @@ -6,17 +6,17 @@ /* implementation of interface for managing user and user-agent style sheets */ #include "nsStyleSheetService.h" #include "mozilla/CSSStyleSheet.h" #include "mozilla/MemoryReporting.h" #include "mozilla/StyleSheetHandle.h" #include "mozilla/StyleSheetHandleInlines.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/css/Loader.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/ipc/URIUtils.h" #include "nsIURI.h" #include "nsCOMPtr.h" #include "nsICategoryManager.h" #include "nsISupportsPrimitives.h" #include "nsISimpleEnumerator.h"
--- a/layout/forms/nsComboboxControlFrame.cpp +++ b/layout/forms/nsComboboxControlFrame.cpp @@ -41,17 +41,17 @@ #include "nsRenderingContext.h" #include "mozilla/Likely.h" #include <algorithm> #include "nsTextNode.h" #include "mozilla/AsyncEventDispatcher.h" #include "mozilla/EventStates.h" #include "mozilla/LookAndFeel.h" #include "mozilla/MouseEvents.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "gfx2DGlue.h" #ifdef XP_WIN #define COMBOBOX_ROLLUP_CONSUME_EVENT 0 #else #define COMBOBOX_ROLLUP_CONSUME_EVENT 1 #endif
--- a/layout/generic/nsColumnSetFrame.cpp +++ b/layout/generic/nsColumnSetFrame.cpp @@ -1,16 +1,16 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/. */ /* rendering object for css3 multi-column layout */ -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsColumnSetFrame.h" #include "nsCSSRendering.h" #include "nsDisplayList.h" using namespace mozilla; using namespace mozilla::layout; /**
--- a/layout/generic/nsGfxScrollFrame.cpp +++ b/layout/generic/nsGfxScrollFrame.cpp @@ -60,17 +60,17 @@ #include "AsyncScrollBase.h" #include "ScrollSnap.h" #include "UnitTransforms.h" #include "nsPluginFrame.h" #include <mozilla/layers/AxisPhysicsModel.h> #include <mozilla/layers/AxisPhysicsMSDModel.h> #include "mozilla/layers/LayerTransactionChild.h" #include "mozilla/layers/ScrollLinkedEffectDetector.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "LayersLogging.h" // for Stringify #include <algorithm> #include <cstdlib> // for std::abs(int/long) #include <cmath> // for std::abs(float/double) #define PAINT_SKIP_LOG(...) // #define PAINT_SKIP_LOG(...) printf_stderr("PSKIP: " __VA_ARGS__)
--- a/layout/generic/nsImageFrame.cpp +++ b/layout/generic/nsImageFrame.cpp @@ -10,17 +10,17 @@ #include "gfx2DGlue.h" #include "gfxUtils.h" #include "mozilla/DebugOnly.h" #include "mozilla/EventStates.h" #include "mozilla/gfx/2D.h" #include "mozilla/gfx/Helpers.h" #include "mozilla/gfx/PathHelpers.h" #include "mozilla/MouseEvents.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsCOMPtr.h" #include "nsFontMetrics.h" #include "nsIImageLoadingContent.h" #include "nsString.h" #include "nsPrintfCString.h" #include "nsPresContext.h" #include "nsRenderingContext.h"
--- a/layout/generic/nsTextFrame.cpp +++ b/layout/generic/nsTextFrame.cpp @@ -13,17 +13,17 @@ #include "mozilla/Attributes.h" #include "mozilla/DebugOnly.h" #include "mozilla/gfx/2D.h" #include "mozilla/Likely.h" #include "mozilla/MathAlgorithms.h" #include "mozilla/TextEvents.h" #include "mozilla/BinarySearch.h" #include "mozilla/IntegerRange.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsCOMPtr.h" #include "nsBlockFrame.h" #include "nsFontMetrics.h" #include "nsSplittableFrame.h" #include "nsLineLayout.h" #include "nsString.h" #include "nsUnicharUtils.h"
--- a/layout/ipc/VsyncParent.cpp +++ b/layout/ipc/VsyncParent.cpp @@ -3,17 +3,17 @@ * 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 "VsyncParent.h" #include "BackgroundParent.h" #include "BackgroundParentImpl.h" #include "gfxPlatform.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIThread.h" #include "nsThreadUtils.h" #include "VsyncSource.h" namespace mozilla { using namespace ipc;
--- a/layout/mathml/nsMathMLChar.cpp +++ b/layout/mathml/nsMathMLChar.cpp @@ -4,17 +4,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "nsMathMLChar.h" #include "gfxTextRun.h" #include "gfxUtils.h" #include "mozilla/gfx/2D.h" #include "mozilla/MathAlgorithms.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsAutoPtr.h" #include "nsCOMPtr.h" #include "nsDeviceContext.h" #include "nsFontMetrics.h" #include "nsIFrame.h" #include "nsLayoutUtils.h" #include "nsPresContext.h"
--- a/layout/printing/ipc/RemotePrintJobChild.cpp +++ b/layout/printing/ipc/RemotePrintJobChild.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "RemotePrintJobChild.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsPagePrintTimer.h" #include "nsPrintEngine.h" namespace mozilla { namespace layout { NS_IMPL_ISUPPORTS(RemotePrintJobChild, nsIWebProgressListener)
--- a/layout/printing/ipc/RemotePrintJobParent.cpp +++ b/layout/printing/ipc/RemotePrintJobParent.cpp @@ -5,17 +5,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "RemotePrintJobParent.h" #include <istream> #include "gfxContext.h" #include "mozilla/Attributes.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsComponentManagerUtils.h" #include "nsDeviceContext.h" #include "nsIDeviceContextSpec.h" #include "nsIPrintSettings.h" #include "nsIWebProgressListener.h" #include "PrintTranslator.h" namespace mozilla {
--- a/layout/printing/nsPagePrintTimer.cpp +++ b/layout/printing/nsPagePrintTimer.cpp @@ -1,16 +1,16 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "nsPagePrintTimer.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIContentViewer.h" #include "nsIServiceManager.h" #include "nsPrintEngine.h" NS_IMPL_ISUPPORTS_INHERITED(nsPagePrintTimer, mozilla::Runnable, nsITimerCallback) nsPagePrintTimer::~nsPagePrintTimer() {
--- a/layout/style/nsRuleNode.cpp +++ b/layout/style/nsRuleNode.cpp @@ -14,17 +14,17 @@ #include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/DebugOnly.h" #include "mozilla/Function.h" #include "mozilla/dom/AnimationEffectReadOnlyBinding.h" // for PlaybackDirection #include "mozilla/Likely.h" #include "mozilla/LookAndFeel.h" #include "mozilla/OperatorNewExtensions.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/css/Declaration.h" #include "nsAlgorithm.h" // for clamped() #include "nsRuleNode.h" #include "nscore.h" #include "nsIWidget.h" #include "nsIPresShell.h"
--- a/layout/svg/nsSVGImageFrame.cpp +++ b/layout/svg/nsSVGImageFrame.cpp @@ -16,17 +16,17 @@ #include "nsSVGPathGeometryFrame.h" #include "mozilla/dom/SVGSVGElement.h" #include "nsSVGUtils.h" #include "SVGContentUtils.h" #include "SVGImageContext.h" #include "mozilla/dom/SVGImageElement.h" #include "nsContentUtils.h" #include "nsIReflowCallback.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" using namespace mozilla; using namespace mozilla::dom; using namespace mozilla::gfx; using namespace mozilla::image; class nsSVGImageFrame;
--- a/layout/svg/nsSVGIntegrationUtils.cpp +++ b/layout/svg/nsSVGIntegrationUtils.cpp @@ -20,17 +20,17 @@ #include "nsSVGFilterPaintCallback.h" #include "nsSVGMaskFrame.h" #include "nsSVGPaintServerFrame.h" #include "nsSVGUtils.h" #include "FrameLayerBuilder.h" #include "BasicLayers.h" #include "mozilla/gfx/Point.h" #include "nsCSSRendering.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" using namespace mozilla; using namespace mozilla::layers; using namespace mozilla::gfx; using namespace mozilla::image; // ----------------------------------------------------------------------
--- a/layout/svg/nsSVGUtils.cpp +++ b/layout/svg/nsSVGUtils.cpp @@ -48,17 +48,17 @@ #include "mozilla/dom/SVGPathElement.h" #include "nsSVGPathGeometryElement.h" #include "nsSVGPathGeometryFrame.h" #include "nsSVGPaintServerFrame.h" #include "mozilla/dom/SVGSVGElement.h" #include "nsTextFrame.h" #include "SVGContentUtils.h" #include "SVGTextFrame.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" using namespace mozilla; using namespace mozilla::dom; using namespace mozilla::gfx; static bool sSVGPathCachingEnabled; static bool sSVGDisplayListHitTestingEnabled; static bool sSVGDisplayListPaintingEnabled;
--- a/media/libstagefright/binding/SinfParser.cpp +++ b/media/libstagefright/binding/SinfParser.cpp @@ -1,13 +1,13 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/unused.h" +#include "mozilla/Unused.h" #include "mp4_demuxer/SinfParser.h" #include "mp4_demuxer/AtomType.h" #include "mp4_demuxer/Box.h" namespace mp4_demuxer { Sinf::Sinf(Box& aBox) : mDefaultIVSize(0)
--- a/media/mtransport/test/stunserver.cpp +++ b/media/mtransport/test/stunserver.cpp @@ -74,17 +74,17 @@ nrappkit copyright: ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ekr@rtfm.com Thu Dec 20 20:14:49 2001 */ #include "logging.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "databuffer.h" extern "C" { #include "nr_api.h" #include "async_wait.h" #include "async_timer.h" #include "nr_socket.h" #include "nr_socket_local.h"
--- a/media/webrtc/signaling/src/peerconnection/WebrtcGlobalInformation.cpp +++ b/media/webrtc/signaling/src/peerconnection/WebrtcGlobalInformation.cpp @@ -21,17 +21,17 @@ #include "nsAutoPtr.h" #include "nsNetCID.h" // NS_SOCKETTRANSPORTSERVICE_CONTRACTID #include "nsServiceManagerUtils.h" // do_GetService #include "mozilla/ErrorResult.h" #include "mozilla/Vector.h" #include "nsProxyRelease.h" #include "mozilla/Telemetry.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/StaticMutex.h" #include "mozilla/RefPtr.h" #include "rlogringbuffer.h" #include "runnable_utils.h" #include "PeerConnectionCtx.h" #include "PeerConnectionImpl.h" #include "webrtc/system_wrappers/interface/trace.h"
--- a/memory/replace/logalloc/FdPrintf.cpp +++ b/memory/replace/logalloc/FdPrintf.cpp @@ -8,17 +8,17 @@ #ifdef _WIN32 #include <windows.h> #else #include <unistd.h> #endif #include <cstring> #include "mozilla/Assertions.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" /* Template class allowing a limited number of increments on a value */ template <typename T> class CheckedIncrement { public: CheckedIncrement(T aValue, size_t aMaxIncrement) : mValue(aValue), mMaxIncrement(aMaxIncrement)
new file mode 100644 --- /dev/null +++ b/mfbt/Unused.cpp @@ -0,0 +1,13 @@ +/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* vim: set ts=8 sts=2 et sw=2 tw=80: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * 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/Unused.h" + +namespace mozilla { + +const unused_t Unused = unused_t(); + +} // namespace mozilla
--- a/mfbt/moz.build +++ b/mfbt/moz.build @@ -90,17 +90,17 @@ EXPORTS.mozilla = [ 'ThreadLocal.h', 'ToString.h', 'Tuple.h', 'TypedEnumBits.h', 'Types.h', 'TypeTraits.h', 'UniquePtr.h', 'UniquePtrExtensions.h', - 'unused.h', + 'Unused.h', 'Variant.h', 'Vector.h', 'WeakPtr.h', 'XorShift128PlusRNG.h', ] if CONFIG['OS_ARCH'] == 'WINNT': EXPORTS.mozilla += [
--- a/mfbt/objs.mozbuild +++ b/mfbt/objs.mozbuild @@ -15,17 +15,17 @@ mfbt_src_lcppsrcs = [ 'double-conversion/fixed-dtoa.cc', 'double-conversion/strtod.cc', 'FloatingPoint.cpp', 'HashFunctions.cpp', 'JSONWriter.cpp', 'Poison.cpp', 'SHA1.cpp', 'TaggedAnonymousMemory.cpp', - 'unused.cpp', + 'Unused.cpp', ] mfbt_src_cppsrcs = [ '/mfbt/%s' % s for s in mfbt_src_lcppsrcs ] # Compression.cpp cannot be built in unified mode because it pulls in Windows system headers. # Decimal.cpp doesn't build in unified mode with gcc.
--- a/mfbt/tests/TestSplayTree.cpp +++ b/mfbt/tests/TestSplayTree.cpp @@ -2,17 +2,17 @@ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/SplayTree.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" using mozilla::SplayTree; using mozilla::SplayTreeNode; // The following array contains the values 0..999 in random order, as computed // with the following Python program: // // from random import shuffle
--- a/mfbt/tests/TestTuple.cpp +++ b/mfbt/tests/TestTuple.cpp @@ -5,17 +5,17 @@ * You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "mozilla/Assertions.h" #include "mozilla/Move.h" #include "mozilla/Pair.h" #include "mozilla/Tuple.h" #include "mozilla/TypeTraits.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include <stddef.h> #include <utility> using mozilla::Get; using mozilla::IsSame; using mozilla::MakeTuple; using mozilla::MakeUnique;
deleted file mode 100644 --- a/mfbt/unused.cpp +++ /dev/null @@ -1,13 +0,0 @@ -/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -/* vim: set ts=8 sts=2 et sw=2 tw=80: */ -/* This Source Code Form is subject to the terms of the Mozilla Public - * 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/unused.h" - -namespace mozilla { - -const unused_t Unused = unused_t(); - -} // namespace mozilla
--- a/netwerk/base/nsFileStreams.cpp +++ b/netwerk/base/nsFileStreams.cpp @@ -16,17 +16,17 @@ #include "private/pprio.h" #include "nsFileStreams.h" #include "nsIFile.h" #include "nsReadLine.h" #include "nsIClassInfoImpl.h" #include "mozilla/ipc/InputStreamUtils.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/FileUtils.h" #include "nsNetCID.h" #include "nsXULAppAPI.h" #define NS_NO_INPUT_BUFFERING 1 // see http://bugzilla.mozilla.org/show_bug.cgi?id=41067 typedef mozilla::ipc::FileDescriptor::PlatformHandleType FileHandleType;
--- a/netwerk/cache2/CacheFileUtils.cpp +++ b/netwerk/cache2/CacheFileUtils.cpp @@ -7,17 +7,17 @@ #include "CacheFileUtils.h" #include "LoadContextInfo.h" #include "mozilla/Tokenizer.h" #include "mozilla/Telemetry.h" #include "nsCOMPtr.h" #include "nsAutoPtr.h" #include "nsString.h" #include <algorithm> -#include "mozilla/unused.h" +#include "mozilla/Unused.h" namespace mozilla { namespace net { namespace CacheFileUtils { // This designates the format for the "alt-data" metadata. // When the format changes we need to update the version.
--- a/netwerk/cache2/CacheIndex.cpp +++ b/netwerk/cache2/CacheIndex.cpp @@ -16,17 +16,17 @@ #include "nsPrintfCString.h" #include "mozilla/DebugOnly.h" #include "prinrval.h" #include "nsIFile.h" #include "nsITimer.h" #include "mozilla/AutoRestore.h" #include <algorithm> #include "mozilla/Telemetry.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #define kMinUnwrittenChanges 300 #define kMinDumpInterval 20000 // in milliseconds #define kMaxBufSize 16384 #define kIndexVersion 0x00000001 #define kUpdateIndexStartDelay 50000 // in milliseconds
--- a/netwerk/cookie/nsCookieService.cpp +++ b/netwerk/cookie/nsCookieService.cpp @@ -2,17 +2,17 @@ /* vim: set sw=2 ts=8 et tw=80 : */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/Likely.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/net/CookieServiceChild.h" #include "mozilla/net/NeckoCommon.h" #include "nsCookieService.h" #include "nsContentUtils.h" #include "nsIServiceManager.h"
--- a/netwerk/dns/DNSRequestChild.cpp +++ b/netwerk/dns/DNSRequestChild.cpp @@ -2,17 +2,17 @@ /* vim: set sw=2 ts=8 et tw=80 : */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/net/ChildDNSService.h" #include "mozilla/net/DNSRequestChild.h" #include "mozilla/net/NeckoChild.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIDNSRecord.h" #include "nsHostResolver.h" #include "nsTArray.h" #include "nsNetAddr.h" #include "nsIThread.h" #include "nsThreadUtils.h" using namespace mozilla::ipc;
--- a/netwerk/dns/DNSRequestParent.cpp +++ b/netwerk/dns/DNSRequestParent.cpp @@ -7,17 +7,17 @@ #include "mozilla/net/DNSRequestParent.h" #include "nsIDNSService.h" #include "nsNetCID.h" #include "nsThreadUtils.h" #include "nsIServiceManager.h" #include "nsICancelable.h" #include "nsIDNSRecord.h" #include "nsHostResolver.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" using namespace mozilla::ipc; namespace mozilla { namespace net { DNSRequestParent::DNSRequestParent() : mFlags(0)
--- a/netwerk/ipc/RemoteOpenFileChild.cpp +++ b/netwerk/ipc/RemoteOpenFileChild.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set sw=2 ts=8 et tw=80 : */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "RemoteOpenFileChild.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/ipc/FileDescriptor.h" #include "mozilla/ipc/FileDescriptorUtils.h" #include "mozilla/ipc/URIUtils.h" #include "mozilla/net/NeckoChild.h" #include "nsThreadUtils.h" #include "nsJARProtocolHandler.h" #include "nsIRemoteOpenFileListener.h" #include "nsProxyRelease.h"
--- a/netwerk/ipc/RemoteOpenFileParent.cpp +++ b/netwerk/ipc/RemoteOpenFileParent.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set sw=2 ts=8 et tw=80 : */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/net/RemoteOpenFileParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsEscape.h" #if !defined(XP_WIN) && !defined(MOZ_WIDGET_COCOA) #include <fcntl.h> #include <unistd.h> #endif namespace mozilla {
--- a/netwerk/protocol/data/DataChannelChild.cpp +++ b/netwerk/protocol/data/DataChannelChild.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* vim: set ts=4 sw=4 sts=4 et tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "DataChannelChild.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/net/NeckoChild.h" namespace mozilla { namespace net { NS_IMPL_ISUPPORTS_INHERITED(DataChannelChild, nsDataChannel, nsIChildChannel) DataChannelChild::DataChannelChild(nsIURI* aURI)
--- a/netwerk/protocol/ftp/FTPChannelParent.cpp +++ b/netwerk/protocol/ftp/FTPChannelParent.cpp @@ -16,17 +16,17 @@ #include "nsFtpProtocolHandler.h" #include "nsIAuthPrompt.h" #include "nsIAuthPromptProvider.h" #include "nsIEncodedChannel.h" #include "nsIHttpChannelInternal.h" #include "nsIForcePendingChannel.h" #include "mozilla/ipc/InputStreamUtils.h" #include "mozilla/ipc/URIUtils.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "SerializedLoadContext.h" #include "nsIContentPolicy.h" #include "mozilla/ipc/BackgroundUtils.h" #include "nsIOService.h" #include "mozilla/LoadInfo.h" using namespace mozilla::dom; using namespace mozilla::ipc;
--- a/netwerk/protocol/http/HttpChannelChild.cpp +++ b/netwerk/protocol/http/HttpChannelChild.cpp @@ -5,17 +5,17 @@ * 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/. */ // HttpLog.h should generally be included first #include "HttpLog.h" #include "nsHttp.h" #include "nsICacheEntry.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/dom/TabChild.h" #include "mozilla/ipc/FileDescriptorSetChild.h" #include "mozilla/net/NeckoChild.h" #include "mozilla/net/HttpChannelChild.h" #include "nsISupportsPrimitives.h" #include "nsChannelClassifier.h"
--- a/netwerk/protocol/http/HttpChannelParent.cpp +++ b/netwerk/protocol/http/HttpChannelParent.cpp @@ -7,17 +7,17 @@ // HttpLog.h should generally be included first #include "HttpLog.h" #include "mozilla/ipc/FileDescriptorSetParent.h" #include "mozilla/net/HttpChannelParent.h" #include "mozilla/dom/Element.h" #include "mozilla/dom/TabParent.h" #include "mozilla/net/NeckoParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "HttpChannelParentListener.h" #include "nsHttpHandler.h" #include "nsNetUtil.h" #include "nsISupportsPriority.h" #include "nsIAuthPromptProvider.h" #include "nsSerializationHelper.h" #include "nsISerializable.h" #include "nsIAssociatedContentSecurity.h"
--- a/netwerk/protocol/http/HttpChannelParentListener.cpp +++ b/netwerk/protocol/http/HttpChannelParentListener.cpp @@ -4,17 +4,17 @@ * 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/. */ // HttpLog.h should generally be included first #include "HttpLog.h" #include "HttpChannelParentListener.h" #include "mozilla/net/HttpChannelParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIRedirectChannelRegistrar.h" #include "nsIHttpEventSink.h" #include "nsIHttpHeaderVisitor.h" #include "nsQueryObject.h" using mozilla::Unused; namespace mozilla {
--- a/netwerk/protocol/http/nsHttpConnectionMgr.cpp +++ b/netwerk/protocol/http/nsHttpConnectionMgr.cpp @@ -28,17 +28,17 @@ #include "NullHttpTransaction.h" #include "nsIDNSRecord.h" #include "nsITransport.h" #include "nsInterfaceRequestorAgg.h" #include "nsIRequestContext.h" #include "nsISocketTransportService.h" #include <algorithm> #include "mozilla/ChaosMode.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIURI.h" #include "mozilla/Telemetry.h" namespace mozilla { namespace net { //-----------------------------------------------------------------------------
--- a/netwerk/protocol/http/nsHttpHandler.cpp +++ b/netwerk/protocol/http/nsHttpHandler.cpp @@ -54,17 +54,17 @@ #include "nsSocketTransportService2.h" #include "nsIOService.h" #include "nsIUUIDGenerator.h" #include "mozilla/net/NeckoChild.h" #include "mozilla/net/NeckoParent.h" #include "mozilla/ipc/URIUtils.h" #include "mozilla/Telemetry.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/BasePrincipal.h" #if defined(XP_UNIX) #include <sys/utsname.h> #endif #if defined(XP_WIN) #include <windows.h>
--- a/netwerk/protocol/res/SubstitutingProtocolHandler.cpp +++ b/netwerk/protocol/res/SubstitutingProtocolHandler.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/chrome/RegistryMessageUtils.h" #include "mozilla/dom/ContentParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "SubstitutingProtocolHandler.h" #include "nsIChannel.h" #include "nsIIOService.h" #include "nsIFile.h" #include "nsNetCID.h" #include "nsNetUtil.h" #include "nsURLHelper.h"
--- a/netwerk/protocol/res/nsResProtocolHandler.cpp +++ b/netwerk/protocol/res/nsResProtocolHandler.cpp @@ -1,16 +1,16 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/chrome/RegistryMessageUtils.h" #include "mozilla/dom/ContentParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsResProtocolHandler.h" #include "nsIIOService.h" #include "nsIFile.h" #include "nsNetCID.h" #include "nsNetUtil.h" #include "nsURLHelper.h" #include "nsEscape.h"
--- a/netwerk/protocol/websocket/WebSocketEventListenerParent.cpp +++ b/netwerk/protocol/websocket/WebSocketEventListenerParent.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "WebSocketEventService.h" #include "WebSocketEventListenerParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" namespace mozilla { namespace net { NS_INTERFACE_MAP_BEGIN(WebSocketEventListenerParent) NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIWebSocketEventListener) NS_INTERFACE_MAP_ENTRY(nsIWebSocketEventListener) NS_INTERFACE_MAP_END
--- a/netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp +++ b/netwerk/protocol/wyciwyg/nsWyciwygChannel.cpp @@ -20,17 +20,17 @@ #include "nsThreadUtils.h" #include "nsIEventTarget.h" #include "nsIInputStream.h" #include "nsIInputStreamPump.h" #include "nsIOutputStream.h" #include "nsIProgressEventSink.h" #include "nsIURI.h" #include "mozilla/DebugOnly.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/BasePrincipal.h" #include "nsProxyRelease.h" #include "nsContentSecurityManager.h" #include "nsContentUtils.h" typedef mozilla::net::LoadContextInfo LoadContextInfo; // Must release mChannel on the main thread
--- a/netwerk/sctp/datachannel/DataChannel.cpp +++ b/netwerk/sctp/datachannel/DataChannel.cpp @@ -38,17 +38,17 @@ #include "mozilla/Services.h" #include "nsProxyRelease.h" #include "nsThread.h" #include "nsThreadUtils.h" #include "nsAutoPtr.h" #include "nsNetUtil.h" #include "nsNetCID.h" #include "mozilla/StaticPtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #ifdef MOZ_PEERCONNECTION #include "mtransport/runnable_utils.h" #endif #define DATACHANNEL_LOG(args) LOG(args) #include "DataChannel.h" #include "DataChannelProtocol.h"
--- a/netwerk/test/TestOpen.cpp +++ b/netwerk/test/TestOpen.cpp @@ -7,17 +7,17 @@ #include "nsCOMPtr.h" #include "nsStringAPI.h" #include "nsIURI.h" #include "nsIChannel.h" #include "nsIHttpChannel.h" #include "nsIInputStream.h" #include "nsNetUtil.h" #include "nsServiceManagerUtils.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIScriptSecurityManager.h" #include <stdio.h> using namespace mozilla; /* * Test synchronous Open.
--- a/netwerk/test/TestProtocols.cpp +++ b/netwerk/test/TestProtocols.cpp @@ -44,17 +44,17 @@ #include "nsIDNSService.h" #include "nsIAuthPrompt.h" #include "nsIPrefService.h" #include "nsIPrefBranch.h" #include "nsIPropertyBag2.h" #include "nsIWritablePropertyBag2.h" #include "nsITimedChannel.h" #include "mozilla/Attributes.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIScriptSecurityManager.h" #include "nsISimpleEnumerator.h" #include "nsStringAPI.h" #include "nsNetUtil.h" #include "nsServiceManagerUtils.h" #include "NetwerkTestLogging.h"
--- a/parser/html/nsHtml5Atom.cpp +++ b/parser/html/nsHtml5Atom.cpp @@ -1,15 +1,15 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "nsHtml5Atom.h" #include "nsAutoPtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" nsHtml5Atom::nsHtml5Atom(const nsAString& aString) { mLength = aString.Length(); mIsStatic = false; RefPtr<nsStringBuffer> buf = nsStringBuffer::FromString(aString); if (buf) { mString = static_cast<char16_t*>(buf->Data());
--- a/security/certverifier/NSSCertDBTrustDomain.cpp +++ b/security/certverifier/NSSCertDBTrustDomain.cpp @@ -12,17 +12,17 @@ #include "NSSErrorsService.h" #include "OCSPRequestor.h" #include "OCSPVerificationTrustDomain.h" #include "PublicKeyPinningService.h" #include "cert.h" #include "certdb.h" #include "mozilla/Casting.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsNSSCertificate.h" #include "nsServiceManagerUtils.h" #include "nss.h" #include "pk11pub.h" #include "pkix/Result.h" #include "pkix/pkix.h" #include "pkix/pkixnss.h" #include "prerror.h"
--- a/security/manager/ssl/CertBlocklist.cpp +++ b/security/manager/ssl/CertBlocklist.cpp @@ -5,17 +5,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "CertBlocklist.h" #include "mozilla/Base64.h" #include "mozilla/Casting.h" #include "mozilla/Logging.h" #include "mozilla/Preferences.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsAppDirectoryServiceDefs.h" #include "nsCRTGlue.h" #include "nsDirectoryServiceUtils.h" #include "nsICryptoHash.h" #include "nsIFileStreams.h" #include "nsILineInputStream.h" #include "nsISafeOutputStream.h" #include "nsIX509Cert.h"
--- a/security/manager/ssl/ContentSignatureVerifier.cpp +++ b/security/manager/ssl/ContentSignatureVerifier.cpp @@ -7,17 +7,17 @@ #include "ContentSignatureVerifier.h" #include "BRNameMatchingPolicy.h" #include "SharedCertVerifier.h" #include "cryptohi.h" #include "keyhi.h" #include "mozilla/Assertions.h" #include "mozilla/Casting.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsCOMPtr.h" #include "nsContentUtils.h" #include "nsISupportsPriority.h" #include "nsIURI.h" #include "nsNSSComponent.h" #include "nsSecurityHeaderParser.h" #include "nsStreamUtils.h" #include "nsWhitespaceTokenizer.h"
--- a/security/manager/ssl/DataStorage.cpp +++ b/security/manager/ssl/DataStorage.cpp @@ -8,17 +8,17 @@ #include "mozilla/ClearOnShutdown.h" #include "mozilla/dom/PContent.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" #include "mozilla/Telemetry.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsAppDirectoryServiceDefs.h" #include "nsDirectoryServiceUtils.h" #include "nsIObserverService.h" #include "nsITimer.h" #include "nsNetUtil.h" #include "nsStreamUtils.h" #include "nsThreadUtils.h" #include "prprf.h"
--- a/security/manager/ssl/PSMContentListener.cpp +++ b/security/manager/ssl/PSMContentListener.cpp @@ -9,17 +9,17 @@ #include "nsIDivertableChannel.h" #include "nsIStreamListener.h" #include "nsIX509CertDB.h" #include "nsIXULAppInfo.h" #include "mozilla/Casting.h" #include "mozilla/Services.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/net/ChannelDiverterParent.h" #include "mozilla/net/ChannelDiverterChild.h" #include "nsCRT.h" #include "nsNetUtil.h" #include "nsIChannel.h"
--- a/security/manager/ssl/SSLServerCertVerification.cpp +++ b/security/manager/ssl/SSLServerCertVerification.cpp @@ -107,17 +107,17 @@ #include "SharedSSLState.h" #include "cert.h" #include "mozilla/Assertions.h" #include "mozilla/Casting.h" #include "mozilla/Mutex.h" #include "mozilla/Telemetry.h" #include "mozilla/UniquePtr.h" #include "mozilla/net/DNS.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsComponentManagerUtils.h" #include "nsContentUtils.h" #include "nsIBadCertListener2.h" #include "nsICertOverrideService.h" #include "nsISiteSecurityService.h" #include "nsISocketProvider.h" #include "nsIThreadPool.h" #include "nsNSSComponent.h"
--- a/security/manager/ssl/SharedSSLState.cpp +++ b/security/manager/ssl/SharedSSLState.cpp @@ -13,17 +13,17 @@ #include "nsThreadUtils.h" #include "nsCRT.h" #include "nsServiceManagerUtils.h" #include "PSMRunnable.h" #include "PublicSSL.h" #include "ssl.h" #include "nsNetCID.h" #include "mozilla/Atomics.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" using mozilla::psm::SyncRunnableBase; using mozilla::Atomic; using mozilla::Unused; namespace { static Atomic<bool> sCertOverrideSvcExists(false);
--- a/security/manager/ssl/nsDataSignatureVerifier.cpp +++ b/security/manager/ssl/nsDataSignatureVerifier.cpp @@ -3,17 +3,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "nsDataSignatureVerifier.h" #include "cms.h" #include "cryptohi.h" #include "keyhi.h" #include "mozilla/Casting.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsCOMPtr.h" #include "nsNSSComponent.h" #include "nssb64.h" #include "pkix/pkixtypes.h" #include "ScopedNSSTypes.h" #include "secerr.h" #include "SharedCertVerifier.h"
--- a/security/manager/ssl/nsKeygenHandlerContent.cpp +++ b/security/manager/ssl/nsKeygenHandlerContent.cpp @@ -6,17 +6,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "nsKeygenHandlerContent.h" #include "nsIFormProcessor.h" #include "nsString.h" #include "mozilla/dom/ContentChild.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "keythi.h" #include "nss.h" #include "secmodt.h" #include "nsKeygenHandler.h" using mozilla::dom::ContentChild; using mozilla::Unused;
--- a/security/manager/ssl/nsNSSCallbacks.cpp +++ b/security/manager/ssl/nsNSSCallbacks.cpp @@ -6,17 +6,17 @@ #include "nsNSSCallbacks.h" #include "mozilla/ArrayUtils.h" #include "mozilla/Assertions.h" #include "mozilla/Casting.h" #include "mozilla/Telemetry.h" #include "mozilla/TimeStamp.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsContentUtils.h" #include "nsICertOverrideService.h" #include "nsIHttpChannelInternal.h" #include "nsIPrompt.h" #include "nsISupportsPriority.h" #include "nsITokenDialogs.h" #include "nsIUploadChannel.h" #include "nsIWebProgressListener.h"
--- a/security/manager/ssl/nsNSSCertificate.cpp +++ b/security/manager/ssl/nsNSSCertificate.cpp @@ -7,17 +7,17 @@ #include "CertVerifier.h" #include "ExtendedValidation.h" #include "NSSCertDBTrustDomain.h" #include "certdb.h" #include "mozilla/Base64.h" #include "mozilla/Casting.h" #include "mozilla/NotNull.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsArray.h" #include "nsCOMPtr.h" #include "nsCRT.h" #include "nsICertificateDialogs.h" #include "nsIClassInfoImpl.h" #include "nsIObjectInputStream.h" #include "nsIObjectOutputStream.h" #include "nsISupportsPrimitives.h"
--- a/security/manager/ssl/nsNSSCertificateDB.cpp +++ b/security/manager/ssl/nsNSSCertificateDB.cpp @@ -6,17 +6,17 @@ #include "CertVerifier.h" #include "CryptoTask.h" #include "ExtendedValidation.h" #include "NSSCertDBTrustDomain.h" #include "SharedSSLState.h" #include "mozilla/Base64.h" #include "mozilla/Casting.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsArray.h" #include "nsArrayUtils.h" #include "nsCOMPtr.h" #include "nsCRT.h" #include "nsComponentManagerUtils.h" #include "nsICertificateDialogs.h" #include "nsIFile.h" #include "nsIMutableArray.h"
--- a/security/manager/ssl/nsNSSComponent.cpp +++ b/security/manager/ssl/nsNSSComponent.cpp @@ -15,17 +15,17 @@ #include "mozilla/ArrayUtils.h" #include "mozilla/Casting.h" #include "mozilla/Preferences.h" #include "mozilla/PublicSSL.h" #include "mozilla/Services.h" #include "mozilla/StaticPtr.h" #include "mozilla/SyncRunnable.h" #include "mozilla/Telemetry.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsAppDirectoryServiceDefs.h" #include "nsCRT.h" #include "nsClientAuthRemember.h" #include "nsComponentManagerUtils.h" #include "nsDirectoryServiceDefs.h" #include "nsICertOverrideService.h" #include "nsIFile.h" #include "nsIObserverService.h"
--- a/security/manager/ssl/nsPK11TokenDB.cpp +++ b/security/manager/ssl/nsPK11TokenDB.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- * * This Source Code Form is subject to the terms of the Mozilla Public * 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 "nsPK11TokenDB.h" #include "mozilla/Casting.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIMutableArray.h" #include "nsISupports.h" #include "nsNSSComponent.h" #include "nsReadableUtils.h" #include "nsServiceManagerUtils.h" #include "prerror.h" #include "ScopedNSSTypes.h" #include "secerr.h"
--- a/security/manager/ssl/nsPKCS11Slot.cpp +++ b/security/manager/ssl/nsPKCS11Slot.cpp @@ -2,17 +2,17 @@ * 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 "nsPKCS11Slot.h" #include "mozilla/Casting.h" #include "mozilla/Logging.h" #include "mozilla/Telemetry.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsCOMPtr.h" #include "nsIMutableArray.h" #include "nsPK11TokenDB.h" #include "secmod.h" using mozilla::LogLevel; extern mozilla::LazyLogModule gPIPNSSLog;
--- a/security/manager/ssl/nsSmartCardMonitor.cpp +++ b/security/manager/ssl/nsSmartCardMonitor.cpp @@ -1,17 +1,17 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "nsSmartCardMonitor.h" #include "ScopedNSSTypes.h" #include "mozilla/Services.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIObserverService.h" #include "nsServiceManagerUtils.h" #include "nsThreadUtils.h" #include "nspr.h" #include "pk11func.h" using namespace mozilla;
--- a/security/sandbox/linux/Sandbox.cpp +++ b/security/sandbox/linux/Sandbox.cpp @@ -29,17 +29,17 @@ #include <sys/syscall.h> #include <sys/time.h> #include <unistd.h> #include "mozilla/Atomics.h" #include "mozilla/Maybe.h" #include "mozilla/SandboxInfo.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "sandbox/linux/bpf_dsl/dump_bpf.h" #include "sandbox/linux/bpf_dsl/policy.h" #include "sandbox/linux/bpf_dsl/policy_compiler.h" #include "sandbox/linux/seccomp-bpf/linux_seccomp.h" #include "sandbox/linux/seccomp-bpf/trap.h" #if defined(ANDROID) #include "sandbox/linux/services/android_ucontext.h" #endif
--- a/security/sandbox/linux/SandboxUtil.cpp +++ b/security/sandbox/linux/SandboxUtil.cpp @@ -12,17 +12,17 @@ #include <fcntl.h> #include <sys/stat.h> #include <sys/syscall.h> #include <sys/types.h> #include <unistd.h> #include "mozilla/Assertions.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "sandbox/linux/services/linux_syscalls.h" namespace mozilla { bool IsSingleThreaded() { // This detects the thread count indirectly. /proc/<pid>/task has a
--- a/security/sandbox/linux/glue/SandboxCrash.cpp +++ b/security/sandbox/linux/glue/SandboxCrash.cpp @@ -10,17 +10,17 @@ // to be able to isolate sandbox/chromium from ipc/chromium. #include "SandboxInternal.h" #include "SandboxLogging.h" #include <unistd.h> #include <sys/syscall.h> -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/Exceptions.h" #include "nsContentUtils.h" #ifdef MOZ_CRASHREPORTER #include "nsExceptionHandler.h" #endif #include "mozilla/StackWalk.h" #include "nsString.h" #include "nsThreadUtils.h"
--- a/storage/mozStorageConnection.cpp +++ b/storage/mozStorageConnection.cpp @@ -13,17 +13,17 @@ #include "nsThreadUtils.h" #include "nsIFile.h" #include "nsIFileURL.h" #include "mozilla/Telemetry.h" #include "mozilla/Mutex.h" #include "mozilla/CondVar.h" #include "mozilla/Attributes.h" #include "mozilla/ErrorNames.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/quota/QuotaObject.h" #include "mozIStorageAggregateFunction.h" #include "mozIStorageCompletionCallback.h" #include "mozIStorageFunction.h" #include "mozStorageAsyncStatementExecution.h" #include "mozStorageSQLFunctions.h"
--- a/toolkit/components/alerts/AlertNotification.cpp +++ b/toolkit/components/alerts/AlertNotification.cpp @@ -9,17 +9,17 @@ #include "imgIRequest.h" #include "imgLoader.h" #include "nsAlertsUtils.h" #include "nsComponentManagerUtils.h" #include "nsContentUtils.h" #include "nsNetUtil.h" #include "nsServiceManagerUtils.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" namespace mozilla { NS_IMPL_ISUPPORTS(AlertNotification, nsIAlertNotification) AlertNotification::AlertNotification() : mTextClickable(false) , mInPrivateBrowsing(false)
--- a/toolkit/components/alerts/nsXULAlerts.cpp +++ b/toolkit/components/alerts/nsXULAlerts.cpp @@ -5,17 +5,17 @@ #include "nsXULAlerts.h" #include "nsComponentManagerUtils.h" #include "nsCOMPtr.h" #include "mozilla/ClearOnShutdown.h" #include "mozilla/LookAndFeel.h" #include "mozilla/dom/Notification.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIServiceManager.h" #include "nsISupportsArray.h" #include "nsISupportsPrimitives.h" #include "nsPIDOMWindow.h" #include "nsIWindowWatcher.h" using namespace mozilla; using mozilla::dom::NotificationTelemetryService;
--- a/toolkit/components/downloads/nsDownloadManager.cpp +++ b/toolkit/components/downloads/nsDownloadManager.cpp @@ -1,15 +1,15 @@ /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/DebugOnly.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozIStorageService.h" #include "nsIAlertsService.h" #include "nsIArray.h" #include "nsIClassInfoImpl.h" #include "nsIDOMWindow.h" #include "nsIDownloadHistory.h" #include "nsIDownloadManagerUI.h"
--- a/toolkit/components/parentalcontrols/nsParentalControlsServiceDefault.cpp +++ b/toolkit/components/parentalcontrols/nsParentalControlsServiceDefault.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode:nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "nsParentalControlsService.h" #include "nsString.h" #include "nsIFile.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" NS_IMPL_ISUPPORTS(nsParentalControlsService, nsIParentalControlsService) nsParentalControlsService::nsParentalControlsService() : mEnabled(false) { mozilla::Unused << mEnabled; }
--- a/toolkit/components/perfmonitoring/nsPerformanceStats.cpp +++ b/toolkit/components/perfmonitoring/nsPerformanceStats.cpp @@ -18,17 +18,17 @@ #include "nsJSUtils.h" #include "xpcpublic.h" #include "jspubtd.h" #include "nsIDOMWindow.h" #include "nsGlobalWindow.h" #include "nsRefreshDriver.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/ArrayUtils.h" #include "mozilla/EventStateManager.h" #include "mozilla/Services.h" #include "mozilla/Telemetry.h" #if defined(XP_WIN) #include <processthreadsapi.h> #include <windows.h>
--- a/toolkit/components/places/Database.cpp +++ b/toolkit/components/places/Database.cpp @@ -24,17 +24,17 @@ #include "nsAppDirectoryServiceDefs.h" #include "nsDirectoryServiceUtils.h" #include "prenv.h" #include "prsystem.h" #include "nsPrintfCString.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "prtime.h" #include "nsXULAppAPI.h" // Time between corrupt database backups. #define RECENT_BACKUP_TIME_MICROSEC (int64_t)86400 * PR_USEC_PER_SEC // 24H // Filename of the database.
--- a/toolkit/components/places/History.cpp +++ b/toolkit/components/places/History.cpp @@ -25,17 +25,17 @@ #include "mozilla/storage.h" #include "mozilla/dom/Link.h" #include "nsDocShellCID.h" #include "mozilla/Services.h" #include "nsThreadUtils.h" #include "nsNetUtil.h" #include "nsIFileURL.h" #include "nsIXPConnect.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsContentUtils.h" // for nsAutoScriptBlocker #include "nsJSUtils.h" #include "mozilla/ipc/URIUtils.h" #include "nsPrintfCString.h" #include "nsTHashtable.h" #include "jsapi.h" // Initial size for the cache holding visited status observers.
--- a/toolkit/components/places/Shutdown.cpp +++ b/toolkit/components/places/Shutdown.cpp @@ -1,14 +1,14 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "Shutdown.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" namespace mozilla { namespace places { uint16_t PlacesShutdownBlocker::sCounter = 0; Atomic<bool> PlacesShutdownBlocker::sIsStarted(false); PlacesShutdownBlocker::PlacesShutdownBlocker(const nsString& aName)
--- a/toolkit/components/telemetry/Telemetry.cpp +++ b/toolkit/components/telemetry/Telemetry.cpp @@ -11,17 +11,17 @@ #include <prio.h> #include "mozilla/dom/ToJSValue.h" #include "mozilla/Atomics.h" #include "mozilla/Attributes.h" #include "mozilla/DebugOnly.h" #include "mozilla/Likely.h" #include "mozilla/MathAlgorithms.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "base/pickle.h" #include "nsIComponentManager.h" #include "nsIServiceManager.h" #include "nsThreadManager.h" #include "nsCOMArray.h" #include "nsCOMPtr.h" #include "nsXPCOMPrivate.h"
--- a/toolkit/components/telemetry/TelemetryScalar.cpp +++ b/toolkit/components/telemetry/TelemetryScalar.cpp @@ -11,17 +11,17 @@ #include "nsBaseHashtable.h" #include "nsClassHashtable.h" #include "nsIXPConnect.h" #include "nsContentUtils.h" #include "nsIConsoleService.h" #include "nsIScriptError.h" #include "nsThreadUtils.h" #include "mozilla/StaticMutex.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "TelemetryCommon.h" #include "TelemetryScalar.h" #include "TelemetryScalarData.h" using mozilla::StaticMutex; using mozilla::StaticMutexAutoLock; using mozilla::Telemetry::Common::AutoHashtable;
--- a/toolkit/components/terminator/nsTerminator.cpp +++ b/toolkit/components/terminator/nsTerminator.cpp @@ -41,17 +41,17 @@ #include "mozilla/ArrayUtils.h" #include "mozilla/Attributes.h" #include "mozilla/DebugOnly.h" #include "mozilla/MemoryChecking.h" #include "mozilla/Preferences.h" #include "mozilla/Services.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/Telemetry.h" // Normally, the number of milliseconds that AsyncShutdown waits until // it decides to crash is specified as a preference. We use the // following value as a fallback if for some reason the preference is // absent. #define FALLBACK_ASYNCSHUTDOWN_CRASH_AFTER_MS 60000
--- a/toolkit/components/url-classifier/nsUrlClassifierPrefixSet.cpp +++ b/toolkit/components/url-classifier/nsUrlClassifierPrefixSet.cpp @@ -18,17 +18,17 @@ #include "nsNetUtil.h" #include "nsISeekableStream.h" #include "nsIBufferedStreams.h" #include "nsIFileStreams.h" #include "mozilla/MemoryReporting.h" #include "mozilla/Telemetry.h" #include "mozilla/FileUtils.h" #include "mozilla/Logging.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include <algorithm> using namespace mozilla; // MOZ_LOG=UrlClassifierPrefixSet:5 static LazyLogModule gUrlClassifierPrefixSetLog("UrlClassifierPrefixSet"); #define LOG(args) MOZ_LOG(gUrlClassifierPrefixSetLog, mozilla::LogLevel::Debug, args) #define LOG_ENABLED() MOZ_LOG_TEST(gUrlClassifierPrefixSetLog, mozilla::LogLevel::Debug)
--- a/toolkit/crashreporter/nsExceptionHandler.cpp +++ b/toolkit/crashreporter/nsExceptionHandler.cpp @@ -8,17 +8,17 @@ #include "nsAppDirectoryServiceDefs.h" #include "nsDirectoryServiceDefs.h" #include "nsDataHashtable.h" #include "mozilla/ArrayUtils.h" #include "mozilla/dom/CrashReporterChild.h" #include "mozilla/Services.h" #include "nsIObserverService.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/Sprintf.h" #include "mozilla/SyncRunnable.h" #include "mozilla/TimeStamp.h" #include "nsThreadUtils.h" #include "nsXULAppAPI.h" #include "jsfriendapi.h"
--- a/toolkit/crashreporter/test/nsTestCrasher.cpp +++ b/toolkit/crashreporter/test/nsTestCrasher.cpp @@ -1,16 +1,16 @@ #include "mozilla/Assertions.h" #include <stdio.h> #include "nscore.h" #include "nsXULAppAPI.h" #include "nsExceptionHandler.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" /* * This pure virtual call example is from MSDN */ class A; void fcn( A* );
--- a/toolkit/system/gnome/nsPackageKitService.cpp +++ b/toolkit/system/gnome/nsPackageKitService.cpp @@ -5,17 +5,17 @@ #include "nsArrayUtils.h" #include "nsIObserver.h" #include "nsIObserverService.h" #include "nsISupportsPrimitives.h" #include "nsPackageKitService.h" #include "nsString.h" #include "prlink.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/UniquePtr.h" #include <glib.h> #include <glib-object.h> #include <limits> using namespace mozilla;
--- a/toolkit/xre/glxtest.cpp +++ b/toolkit/xre/glxtest.cpp @@ -33,17 +33,17 @@ #ifdef __SUNPRO_CC #include <stdio.h> #endif #include "X11/Xlib.h" #include "X11/Xutil.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" // stuff from glx.h typedef struct __GLXcontextRec *GLXContext; typedef XID GLXPixmap; typedef XID GLXDrawable; /* GLX 1.3 and later */ typedef struct __GLXFBConfigRec *GLXFBConfig; typedef XID GLXFBConfigID;
--- a/toolkit/xre/nsAppRunner.cpp +++ b/toolkit/xre/nsAppRunner.cpp @@ -84,17 +84,17 @@ #include "nsPIDOMWindow.h" #include "nsIBaseWindow.h" #include "nsIWidget.h" #include "nsIDocShell.h" #include "nsAppShellCID.h" #include "mozilla/scache/StartupCache.h" #include "gfxPrefs.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #ifdef XP_WIN #include "nsIWinAppHelper.h" #include <windows.h> #include <intrin.h> #include <math.h> #include "cairo/cairo-features.h" #include "mozilla/WindowsVersion.h"
--- a/toolkit/xre/nsXREDirProvider.cpp +++ b/toolkit/xre/nsXREDirProvider.cpp @@ -59,17 +59,17 @@ #include <ctype.h> #endif #ifdef XP_IOS #include "UIKitDirProvider.h" #endif #if (defined(XP_WIN) || defined(XP_MACOSX)) && defined(MOZ_CONTENT_SANDBOX) #include "nsIUUIDGenerator.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #endif #if defined(XP_MACOSX) #define APP_REGISTRY_NAME "Application Registry" #elif defined(XP_WIN) #define APP_REGISTRY_NAME "registry.dat" #else #define APP_REGISTRY_NAME "appreg"
--- a/tools/memory-profiler/UncensoredAllocator.cpp +++ b/tools/memory-profiler/UncensoredAllocator.cpp @@ -2,17 +2,17 @@ /* vim: set ts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "UncensoredAllocator.h" #include "mozilla/Assertions.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "MainThreadUtils.h" #include "jsfriendapi.h" #include "nsDebug.h" #include "prlock.h" #ifdef MOZ_REPLACE_MALLOC #include "replace_malloc_bridge.h" #endif
--- a/tools/profiler/core/platform.h +++ b/tools/profiler/core/platform.h @@ -48,17 +48,17 @@ #include <math.h> #ifndef SPS_STANDALONE #include "MainThreadUtils.h" #include "mozilla/Mutex.h" #include "ThreadResponsiveness.h" #endif #include "mozilla/TimeStamp.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "PlatformMacros.h" #include "v8-support.h" #include <vector> #include "StackTop.h" // We need a definition of gettid(), but Linux libc implementations don't // provide a wrapper for it (except for Bionic) #if defined(__linux__)
--- a/tools/profiler/tasktracer/GeckoTaskTracer.cpp +++ b/tools/profiler/tasktracer/GeckoTaskTracer.cpp @@ -7,17 +7,17 @@ #include "GeckoTaskTracer.h" #include "GeckoTaskTracerImpl.h" #include "mozilla/MathAlgorithms.h" #include "mozilla/StaticMutex.h" #include "mozilla/ThreadLocal.h" #include "mozilla/TimeStamp.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsString.h" #include "nsThreadUtils.h" #include "prtime.h" #include <stdarg.h> // We need a definition of gettid(), but glibc doesn't provide a
--- a/uriloader/exthandler/ExternalHelperAppParent.cpp +++ b/uriloader/exthandler/ExternalHelperAppParent.cpp @@ -15,17 +15,17 @@ #include "mozilla/dom/TabParent.h" #include "nsIBrowserDOMWindow.h" #include "nsStringStream.h" #include "mozilla/ipc/URIUtils.h" #include "nsNetUtil.h" #include "nsIDocument.h" #include "mozilla/net/ChannelDiverterParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" using namespace mozilla::ipc; namespace mozilla { namespace dom { NS_IMPL_ISUPPORTS_INHERITED(ExternalHelperAppParent, nsHashPropertyBag,
--- a/uriloader/prefetch/OfflineCacheUpdateParent.cpp +++ b/uriloader/prefetch/OfflineCacheUpdateParent.cpp @@ -4,17 +4,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "OfflineCacheUpdateParent.h" #include "BackgroundUtils.h" #include "mozilla/BasePrincipal.h" #include "mozilla/dom/TabParent.h" #include "mozilla/ipc/URIUtils.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsContentUtils.h" #include "nsOfflineCacheUpdate.h" #include "nsIApplicationCache.h" #include "nsIScriptSecurityManager.h" #include "nsNetUtil.h" using namespace mozilla::ipc; using mozilla::BasePrincipal;
--- a/uriloader/prefetch/nsOfflineCacheUpdateService.cpp +++ b/uriloader/prefetch/nsOfflineCacheUpdateService.cpp @@ -33,25 +33,25 @@ #include "nsServiceManagerUtils.h" #include "nsStreamUtils.h" #include "nsThreadUtils.h" #include "nsProxyRelease.h" #include "mozilla/Logging.h" #include "nsIAsyncVerifyRedirectCallback.h" #include "mozilla/Preferences.h" #include "mozilla/Attributes.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIDiskSpaceWatcher.h" #include "nsIDocShell.h" #include "nsIDocShellTreeItem.h" #include "nsIDocShellTreeOwner.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/dom/PermissionMessageUtils.h" #include "nsContentUtils.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" using namespace mozilla; using namespace mozilla::dom; static nsOfflineCacheUpdateService *gOfflineCacheUpdateService = nullptr; static bool sAllowOfflineCache = true; nsTHashtable<nsCStringHashKey>* nsOfflineCacheUpdateService::mAllowedDomains = nullptr;
--- a/widget/PuppetWidget.cpp +++ b/widget/PuppetWidget.cpp @@ -12,17 +12,17 @@ #include "mozilla/dom/TabChild.h" #include "mozilla/Hal.h" #include "mozilla/IMEStateManager.h" #include "mozilla/layers/APZChild.h" #include "mozilla/layers/PLayerTransactionChild.h" #include "mozilla/Preferences.h" #include "mozilla/TextComposition.h" #include "mozilla/TextEvents.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "PuppetWidget.h" #include "nsContentUtils.h" #include "nsIWidgetListener.h" #include "imgIContainer.h" #include "nsView.h" using namespace mozilla; using namespace mozilla::dom;
--- a/widget/ScreenProxy.cpp +++ b/widget/ScreenProxy.cpp @@ -1,15 +1,15 @@ /* -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 2; -*- */ /* vim: set sw=4 ts=8 et tw=80 : */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/unused.h" +#include "mozilla/Unused.h" #include "nsContentUtils.h" #include "nsIAppShell.h" #include "nsScreenManagerProxy.h" #include "nsServiceManagerUtils.h" #include "nsWidgetsCID.h" #include "ScreenProxy.h" namespace mozilla {
--- a/widget/WidgetUtils.cpp +++ b/widget/WidgetUtils.cpp @@ -2,17 +2,17 @@ * vim: sw=2 ts=8 et : */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/WidgetUtils.h" #include "mozilla/dom/ContentParent.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsContentUtils.h" #include "nsIBidiKeyboard.h" #include "nsTArray.h" #ifdef XP_WIN #include "WinUtils.h" #endif #if MOZ_WIDGET_GTK == 3 #include "mozilla/WidgetUtilsGtk.h"
--- a/widget/android/AndroidJNI.cpp +++ b/widget/android/AndroidJNI.cpp @@ -19,17 +19,17 @@ #include "nsAppShell.h" #include "nsWindow.h" #include <android/log.h> #include "nsIObserverService.h" #include "mozilla/Services.h" #include "nsThreadUtils.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/MathAlgorithms.h" #include "mozilla/UniquePtr.h" #include "mozilla/layers/APZCTreeManager.h" #include "nsPluginInstanceOwner.h" #include "AndroidSurfaceTexture.h" using namespace mozilla;
--- a/widget/android/jni/Natives.h +++ b/widget/android/jni/Natives.h @@ -4,17 +4,17 @@ #include <jni.h> #include "mozilla/IndexSequence.h" #include "mozilla/Move.h" #include "mozilla/Tuple.h" #include "mozilla/TypeTraits.h" #include "mozilla/UniquePtr.h" #include "mozilla/WeakPtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/jni/Accessors.h" #include "mozilla/jni/Refs.h" #include "mozilla/jni/Types.h" #include "mozilla/jni/Utils.h" namespace mozilla { namespace jni {
--- a/widget/android/nsAppShell.h +++ b/widget/android/nsAppShell.h @@ -7,17 +7,17 @@ #define nsAppShell_h__ #include "mozilla/HangMonitor.h" #include "mozilla/LinkedList.h" #include "mozilla/Monitor.h" #include "mozilla/Move.h" #include "mozilla/StaticPtr.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/jni/Natives.h" #include "nsBaseAppShell.h" #include "nsCOMPtr.h" #include "nsTArray.h" #include "nsInterfaceHashtable.h" #include "nsIAndroidBridge.h" namespace mozilla {
--- a/widget/android/nsWindow.cpp +++ b/widget/android/nsWindow.cpp @@ -15,17 +15,17 @@ #include "mozilla/TextComposition.h" #include "mozilla/TextEvents.h" #include "mozilla/TouchEvents.h" #include "mozilla/TypeTraits.h" #include "mozilla/WeakPtr.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/ContentChild.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/Preferences.h" #include "mozilla/layers/RenderTrace.h" #include <algorithm> using mozilla::dom::ContentParent; using mozilla::dom::ContentChild; using mozilla::Unused;
--- a/widget/cocoa/nsClipboard.mm +++ b/widget/cocoa/nsClipboard.mm @@ -1,16 +1,16 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/Logging.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "gfxPlatform.h" #include "nsCOMPtr.h" #include "nsClipboard.h" #include "nsString.h" #include "nsISupportsPrimitives.h" #include "nsXPIDLString.h" #include "nsPrimitiveHelpers.h"
--- a/widget/gonk/ProcessOrientation.cpp +++ b/widget/gonk/ProcessOrientation.cpp @@ -13,17 +13,17 @@ * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include "base/basictypes.h" #include "mozilla/Hal.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIScreen.h" #include "nsIScreenManager.h" #include "OrientationObserver.h" #include "ProcessOrientation.h" #include "mozilla/HalSensor.h" #include "math.h" #include "limits.h" #include "android/log.h"
--- a/widget/gtk/nsAppShell.cpp +++ b/widget/gtk/nsAppShell.cpp @@ -10,17 +10,17 @@ #include <fcntl.h> #include <errno.h> #include <gdk/gdk.h> #include "nsAppShell.h" #include "nsWindow.h" #include "mozilla/Logging.h" #include "prenv.h" #include "mozilla/HangMonitor.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "GeckoProfiler.h" #include "nsIPowerManagerService.h" #ifdef MOZ_ENABLE_DBUS #include "WakeLockListener.h" #endif using mozilla::Unused;
--- a/widget/gtk/nsSound.cpp +++ b/widget/gtk/nsSound.cpp @@ -18,17 +18,17 @@ #include "nsNetUtil.h" #include "nsIChannel.h" #include "nsCOMPtr.h" #include "nsString.h" #include "nsDirectoryService.h" #include "nsDirectoryServiceDefs.h" #include "mozilla/FileUtils.h" #include "mozilla/Services.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIStringBundle.h" #include "nsIXULAppInfo.h" #include "nsContentUtils.h" #include <stdio.h> #include <unistd.h> #include <gtk/gtk.h>
--- a/widget/nsBaseDragService.cpp +++ b/widget/nsBaseDragService.cpp @@ -31,17 +31,17 @@ #include "ImageRegion.h" #include "nsRegion.h" #include "nsXULPopupManager.h" #include "nsMenuPopupFrame.h" #include "SVGImageContext.h" #include "mozilla/MouseEvents.h" #include "mozilla/Preferences.h" #include "mozilla/gfx/2D.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsFrameLoader.h" #include "TabParent.h" #include "gfxContext.h" #include "gfxPlatform.h" #include <algorithm> using namespace mozilla;
--- a/widget/nsBaseWidget.cpp +++ b/widget/nsBaseWidget.cpp @@ -36,23 +36,23 @@ #include "nsXULPopupManager.h" #include "nsIWidgetListener.h" #include "nsIGfxInfo.h" #include "npapi.h" #include "base/thread.h" #include "prdtoa.h" #include "prenv.h" #include "mozilla/Attributes.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsContentUtils.h" #include "gfxPrefs.h" #include "mozilla/gfx/2D.h" #include "mozilla/MouseEvents.h" #include "GLConsts.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/IMEStateManager.h" #include "mozilla/VsyncDispatcher.h" #include "mozilla/layers/IAPZCTreeManager.h" #include "mozilla/layers/APZEventState.h" #include "mozilla/layers/APZThreadUtils.h" #include "mozilla/layers/ChromeProcessController.h" #include "mozilla/layers/InputAPZContext.h" #include "mozilla/layers/APZCCallbackHelper.h"
--- a/widget/nsClipboardProxy.cpp +++ b/widget/nsClipboardProxy.cpp @@ -1,14 +1,14 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/dom/ContentChild.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsClipboardProxy.h" #include "nsISupportsPrimitives.h" #include "nsCOMPtr.h" #include "nsComponentManagerUtils.h" #include "nsXULAppAPI.h" #include "nsContentUtils.h" #include "nsStringStream.h"
--- a/widget/nsDeviceContextSpecProxy.cpp +++ b/widget/nsDeviceContextSpecProxy.cpp @@ -7,17 +7,17 @@ #include "nsDeviceContextSpecProxy.h" #include "gfxASurface.h" #include "gfxPlatform.h" #include "mozilla/gfx/DrawEventRecorder.h" #include "mozilla/gfx/PrintTargetThebes.h" #include "mozilla/layout/RemotePrintJobChild.h" #include "mozilla/RefPtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsComponentManagerUtils.h" #include "nsIPrintSession.h" #include "nsIPrintSettings.h" using mozilla::Unused; using namespace mozilla; using namespace mozilla::gfx;
--- a/widget/nsDragServiceProxy.cpp +++ b/widget/nsDragServiceProxy.cpp @@ -5,17 +5,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "nsDragServiceProxy.h" #include "nsIDocument.h" #include "nsISupportsPrimitives.h" #include "mozilla/dom/TabChild.h" #include "mozilla/gfx/2D.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsContentUtils.h" using mozilla::ipc::Shmem; using mozilla::dom::TabChild; using mozilla::dom::OptionalShmem; NS_IMPL_ISUPPORTS_INHERITED0(nsDragServiceProxy, nsBaseDragService)
--- a/widget/nsScreenManagerProxy.cpp +++ b/widget/nsScreenManagerProxy.cpp @@ -1,15 +1,15 @@ /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- * * This Source Code Form is subject to the terms of the Mozilla Public * 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/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/ContentChild.h" #include "nsScreenManagerProxy.h" #include "nsServiceManagerUtils.h" #include "nsContentUtils.h" #include "nsIAppShell.h" #include "nsIScreen.h" #include "nsIScreenManager.h" #include "nsWidgetsCID.h"
--- a/widget/uikit/nsWindow.mm +++ b/widget/uikit/nsWindow.mm @@ -28,17 +28,17 @@ #include "gfxImageSurface.h" #include "gfxContext.h" #include "nsRegion.h" #include "Layers.h" #include "nsTArray.h" #include "mozilla/BasicEvents.h" #include "mozilla/TouchEvents.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "GeckoProfiler.h" using namespace mozilla; using namespace mozilla::dom; using namespace mozilla::layers; #define ALOG(args...) fprintf(stderr, args); fprintf(stderr, "\n")
--- a/widget/windows/CompositorWidgetChild.cpp +++ b/widget/windows/CompositorWidgetChild.cpp @@ -1,15 +1,15 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "CompositorWidgetChild.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/widget/CompositorWidgetVsyncObserver.h" #include "nsBaseWidget.h" #include "VsyncDispatcher.h" namespace mozilla { namespace widget { CompositorWidgetChild::CompositorWidgetChild(RefPtr<CompositorVsyncDispatcher> aVsyncDispatcher,
--- a/widget/windows/WinUtils.cpp +++ b/widget/windows/WinUtils.cpp @@ -16,17 +16,17 @@ #include "KeyboardLayout.h" #include "nsIDOMMouseEvent.h" #include "mozilla/ArrayUtils.h" #include "mozilla/gfx/2D.h" #include "mozilla/gfx/DataSurfaceHelpers.h" #include "mozilla/Preferences.h" #include "mozilla/RefPtr.h" #include "mozilla/WindowsVersion.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsIContentPolicy.h" #include "nsContentUtils.h" #include "mozilla/Logging.h" #include "nsString.h" #include "nsDirectoryServiceUtils.h" #include "imgIContainer.h"
--- a/widget/windows/nsWindowGfx.cpp +++ b/widget/windows/nsWindowGfx.cpp @@ -34,17 +34,17 @@ using mozilla::plugins::PluginInstancePa #include "mozilla/gfx/Tools.h" #include "mozilla/RefPtr.h" #include "mozilla/UniquePtrExtensions.h" #include "nsGfxCIID.h" #include "gfxContext.h" #include "prmem.h" #include "WinUtils.h" #include "nsIWidgetListener.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsDebug.h" #include "nsIXULRuntime.h" #include "mozilla/layers/CompositorBridgeParent.h" #include "mozilla/layers/CompositorBridgeChild.h" #include "ClientLayerManager.h" #include "nsUXThemeData.h"
--- a/xpcom/base/SystemMemoryReporter.cpp +++ b/xpcom/base/SystemMemoryReporter.cpp @@ -6,17 +6,17 @@ #include "mozilla/SystemMemoryReporter.h" #include "mozilla/Attributes.h" #include "mozilla/LinuxUtils.h" #include "mozilla/PodOperations.h" #include "mozilla/Preferences.h" #include "mozilla/TaggedAnonymousMemory.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsDataHashtable.h" #include "nsIMemoryReporter.h" #include "nsPrintfCString.h" #include "nsString.h" #include "nsTHashtable.h" #include "nsHashKeys.h"
--- a/xpcom/base/nsDumpUtils.cpp +++ b/xpcom/base/nsDumpUtils.cpp @@ -7,17 +7,17 @@ #include "nsDumpUtils.h" #include "nsDirectoryServiceDefs.h" #include "nsDirectoryServiceUtils.h" #include "prenv.h" #include <errno.h> #include "mozilla/Services.h" #include "nsIObserverService.h" #include "mozilla/ClearOnShutdown.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #ifdef XP_UNIX // { #include "mozilla/Preferences.h" #include <fcntl.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h>
--- a/xpcom/base/nsMemoryInfoDumper.cpp +++ b/xpcom/base/nsMemoryInfoDumper.cpp @@ -5,17 +5,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "mozilla/JSONWriter.h" #include "mozilla/UniquePtr.h" #include "mozilla/nsMemoryInfoDumper.h" #include "mozilla/DebugOnly.h" #include "nsDumpUtils.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/ContentChild.h" #include "nsIConsoleService.h" #include "nsCycleCollector.h" #include "nsICycleCollectorListener.h" #include "nsIMemoryReporter.h" #include "nsDirectoryServiceDefs.h" #include "nsGZFileWriter.h"
--- a/xpcom/ds/nsAtomTable.cpp +++ b/xpcom/ds/nsAtomTable.cpp @@ -5,17 +5,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "mozilla/Assertions.h" #include "mozilla/Attributes.h" #include "mozilla/HashFunctions.h" #include "mozilla/MemoryReporting.h" #include "mozilla/Mutex.h" #include "mozilla/DebugOnly.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsAtomTable.h" #include "nsStaticAtom.h" #include "nsString.h" #include "nsCRT.h" #include "PLDHashTable.h" #include "prenv.h" #include "nsThreadUtils.h"
--- a/xpcom/glue/nsProxyRelease.h +++ b/xpcom/glue/nsProxyRelease.h @@ -11,17 +11,17 @@ #include "nsIThread.h" #include "nsCOMPtr.h" #include "nsAutoPtr.h" #include "MainThreadUtils.h" #include "nsThreadUtils.h" #include "mozilla/Likely.h" #include "mozilla/Move.h" #include "mozilla/TypeTraits.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #ifdef XPCOM_GLUE_AVOID_NSPR #error NS_ProxyRelease implementation depends on NSPR. #endif namespace detail { template<typename T>
--- a/xpcom/tests/TestTArray.cpp +++ b/xpcom/tests/TestTArray.cpp @@ -1,16 +1,16 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim:set ts=2 sw=2 sts=2 et cindent: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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/ArrayUtils.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include <stdlib.h> #include <stdio.h> #include <iostream> #include "nsTArray.h" #include "nsAutoPtr.h" #include "nsStringAPI.h" #include "nsDirectoryServiceDefs.h"
--- a/xpcom/tests/gtest/TestCloneInputStream.cpp +++ b/xpcom/tests/gtest/TestCloneInputStream.cpp @@ -1,17 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * 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 "gtest/gtest.h" #include "Helpers.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsICloneableInputStream.h" #include "nsIMultiplexInputStream.h" #include "nsNetUtil.h" #include "nsStreamUtils.h" #include "nsStringStream.h" #include "nsComponentManagerUtils.h" TEST(CloneInputStream, InvalidInput)
--- a/xpcom/threads/AbstractThread.cpp +++ b/xpcom/threads/AbstractThread.cpp @@ -8,17 +8,17 @@ #include "mozilla/ClearOnShutdown.h" #include "mozilla/Maybe.h" #include "mozilla/MozPromise.h" // We initialize the MozPromise logging in this file. #include "mozilla/StaticPtr.h" #include "mozilla/StateWatching.h" // We initialize the StateWatching logging in this file. #include "mozilla/TaskQueue.h" #include "mozilla/TaskDispatcher.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsThreadUtils.h" #include "nsContentUtils.h" #include "nsServiceManagerUtils.h" namespace mozilla {
--- a/xpcom/threads/StateMirroring.h +++ b/xpcom/threads/StateMirroring.h @@ -7,17 +7,17 @@ #if !defined(StateMirroring_h_) #define StateMirroring_h_ #include "mozilla/Maybe.h" #include "mozilla/MozPromise.h" #include "mozilla/StateWatching.h" #include "mozilla/TaskDispatcher.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/Logging.h" #include "nsISupportsImpl.h" /* * The state-mirroring machinery allows pieces of interesting state to be * observed on multiple thread without locking. The basic strategy is to track * changes in a canonical value and post updates to other threads that hold
--- a/xpcom/threads/StateWatching.h +++ b/xpcom/threads/StateWatching.h @@ -5,17 +5,17 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #if !defined(StateWatching_h_) #define StateWatching_h_ #include "mozilla/AbstractThread.h" #include "mozilla/TaskDispatcher.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsISupportsImpl.h" /* * The state-watching machinery automates the process of responding to changes * in various pieces of state. * * A standard programming pattern is as follows:
--- a/xpcom/threads/TaskDispatcher.h +++ b/xpcom/threads/TaskDispatcher.h @@ -4,17 +4,17 @@ * 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(TaskDispatcher_h_) #define TaskDispatcher_h_ #include "mozilla/AbstractThread.h" #include "mozilla/UniquePtr.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "nsISupportsImpl.h" #include "nsTArray.h" #include "nsThreadUtils.h" #include <queue> namespace mozilla {
--- a/xpcom/threads/TaskQueue.h +++ b/xpcom/threads/TaskQueue.h @@ -6,17 +6,17 @@ #ifndef TaskQueue_h_ #define TaskQueue_h_ #include "mozilla/Monitor.h" #include "mozilla/MozPromise.h" #include "mozilla/RefPtr.h" #include "mozilla/TaskDispatcher.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include <queue> #include "mozilla/SharedThreadPool.h" #include "nsThreadUtils.h" class nsIRunnable;
--- a/xpcom/threads/nsThread.cpp +++ b/xpcom/threads/nsThread.cpp @@ -27,17 +27,17 @@ #include "mozilla/HangMonitor.h" #include "mozilla/IOInterposer.h" #include "mozilla/ipc/MessageChannel.h" #include "mozilla/ipc/BackgroundChild.h" #include "mozilla/Services.h" #include "nsXPCOMPrivate.h" #include "mozilla/ChaosMode.h" #include "mozilla/TimeStamp.h" -#include "mozilla/unused.h" +#include "mozilla/Unused.h" #include "mozilla/dom/ScriptSettings.h" #include "nsThreadSyncDispatch.h" #include "LeakRefPtr.h" #ifdef MOZ_CRASHREPORTER #include "nsServiceManagerUtils.h" #include "nsICrashReporter.h" #include "mozilla/dom/ContentChild.h"