From 2a97f4dc0d5b19548fc205fd5a326ce801d13508 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Sun, 8 Dec 2013 21:52:33 -0500 Subject: [PATCH] Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo --- content/base/src/nsGkAtoms.cpp | 2 -- content/base/src/nsINode.cpp | 1 - content/html/content/src/HTMLBRElement.cpp | 1 - content/html/content/src/HTMLBodyElement.cpp | 2 -- content/html/content/src/HTMLDivElement.cpp | 2 -- content/html/content/src/HTMLFontElement.cpp | 2 -- content/html/content/src/HTMLFrameElement.cpp | 1 - content/html/content/src/HTMLHeadingElement.cpp | 1 - content/html/content/src/HTMLIFrameElement.cpp | 2 -- content/html/content/src/HTMLImageElement.cpp | 2 -- content/html/content/src/HTMLLIElement.h | 2 +- content/html/content/src/HTMLObjectElement.cpp | 2 -- content/html/content/src/HTMLOptionsCollection.cpp | 1 - content/html/content/src/HTMLParagraphElement.h | 1 - content/html/content/src/HTMLPreElement.h | 1 - content/html/content/src/HTMLSelectElement.cpp | 1 - content/html/content/src/HTMLSharedListElement.h | 2 +- content/html/content/src/HTMLSharedObjectElement.cpp | 1 - content/html/content/src/HTMLTableCaptionElement.cpp | 2 -- content/html/content/src/HTMLTableCellElement.cpp | 2 -- content/html/content/src/HTMLTableColElement.cpp | 2 -- content/html/content/src/HTMLTableElement.cpp | 2 -- content/html/content/src/HTMLTableRowElement.cpp | 2 -- content/html/content/src/HTMLTableSectionElement.cpp | 2 -- content/html/content/src/HTMLTextAreaElement.cpp | 1 - content/html/content/src/HTMLVideoElement.cpp | 2 -- content/html/content/src/nsFormSubmission.cpp | 2 -- content/media/webrtc/LoadMonitor.cpp | 1 - content/svg/content/src/DOMSVGPathSeg.cpp | 2 -- content/xul/templates/src/nsRuleNetwork.cpp | 2 -- dom/audiochannel/AudioChannelService.cpp | 1 - dom/audiochannel/AudioChannelServiceChild.cpp | 1 - dom/base/nsGlobalWindow.cpp | 1 - dom/bindings/CallbackObject.h | 1 - dom/bindings/DOMJSProxyHandler.cpp | 2 -- dom/bindings/TypedArray.h | 1 - dom/bluetooth/BluetoothAdapter.cpp | 1 - dom/bluetooth/BluetoothManager.cpp | 1 - dom/bluetooth/BluetoothService.cpp | 1 - dom/bluetooth/ipc/BluetoothParent.cpp | 1 - dom/indexedDB/IndexedDatabaseManager.cpp | 1 - dom/indexedDB/ipc/IndexedDBParent.cpp | 1 - dom/speakermanager/SpeakerManagerService.cpp | 1 - dom/speakermanager/SpeakerManagerServiceChild.cpp | 1 - dom/workers/WorkerPrivate.cpp | 1 - editor/libeditor/html/nsEditProperty.cpp | 2 -- gfx/2d/Blur.cpp | 1 - gfx/gl/GLLibraryLoader.h | 1 - gfx/ipc/GfxMessageUtils.h | 1 - gfx/layers/LayerScope.cpp | 2 -- gfx/thebes/gfxPangoFonts.cpp | 2 -- hal/Hal.cpp | 1 - image/src/SurfaceCache.cpp | 1 - ipc/dbus/DBusThread.cpp | 1 - ipc/unixsocket/UnixSocket.cpp | 1 - js/src/gc/Zone.h | 1 - js/src/jsopcode.cpp | 3 --- js/xpconnect/shell/xpcshell.cpp | 1 - js/xpconnect/src/xpcprivate.h | 1 - layout/generic/nsBlockFrame.cpp | 1 - layout/generic/nsLineLayout.cpp | 1 - layout/inspector/inDOMView.cpp | 2 -- layout/style/nsCSSScanner.cpp | 2 -- memory/mozalloc/throw_gcc.h | 1 - mfbt/BloomFilter.h | 1 - parser/html/nsHtml5Atoms.cpp | 2 -- parser/htmlparser/src/CNavDTD.cpp | 2 -- parser/htmlparser/src/nsHTMLTags.cpp | 2 -- rdf/base/src/nsRDFContentSink.cpp | 2 -- storage/src/TelemetryVFS.cpp | 1 - storage/src/mozStorageStatementData.h | 1 - toolkit/components/places/nsNavBookmarks.cpp | 1 - toolkit/system/androidproxy/nsAndroidSystemProxySettings.cpp | 1 - tools/profiler/GeckoProfilerImpl.h | 1 - tools/profiler/platform.h | 1 - widget/android/AndroidBridge.cpp | 1 - widget/android/AndroidJNIWrapper.cpp | 2 -- widget/gonk/libdisplay/BootAnimation.cpp | 1 - widget/gtk/nsColorPicker.cpp | 1 - widget/gtk/nsFilePicker.cpp | 2 +- widget/windows/nsWindow.cpp | 1 - xpcom/tests/MoreTestingAtoms.cpp | 2 -- xpcom/tests/TestingAtoms.cpp | 2 -- 83 files changed, 3 insertions(+), 115 deletions(-) diff --git a/content/base/src/nsGkAtoms.cpp b/content/base/src/nsGkAtoms.cpp index 95ab827aa35..58cfaf28080 100644 --- a/content/base/src/nsGkAtoms.cpp +++ b/content/base/src/nsGkAtoms.cpp @@ -9,8 +9,6 @@ * is loaded and they are destroyed when gklayout is unloaded. */ -#include "mozilla/Util.h" - #include "nsGkAtoms.h" #include "nsStaticAtom.h" diff --git a/content/base/src/nsINode.cpp b/content/base/src/nsINode.cpp index 3d159100755..686881736a6 100644 --- a/content/base/src/nsINode.cpp +++ b/content/base/src/nsINode.cpp @@ -18,7 +18,6 @@ #include "mozilla/MemoryReporting.h" #include "mozilla/MutationEvent.h" #include "mozilla/Telemetry.h" -#include "mozilla/Util.h" #include "nsAsyncDOMEvent.h" #include "nsAttrValueOrString.h" #include "nsBindingManager.h" diff --git a/content/html/content/src/HTMLBRElement.cpp b/content/html/content/src/HTMLBRElement.cpp index 4ab581268d1..cd24478b595 100644 --- a/content/html/content/src/HTMLBRElement.cpp +++ b/content/html/content/src/HTMLBRElement.cpp @@ -5,7 +5,6 @@ #include "mozilla/dom/HTMLBRElement.h" #include "mozilla/dom/HTMLBRElementBinding.h" -#include "mozilla/Util.h" #include "nsAttrValueInlines.h" #include "nsStyleConsts.h" diff --git a/content/html/content/src/HTMLBodyElement.cpp b/content/html/content/src/HTMLBodyElement.cpp index 3b26f832c7e..9f17f945eb0 100644 --- a/content/html/content/src/HTMLBodyElement.cpp +++ b/content/html/content/src/HTMLBodyElement.cpp @@ -3,8 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "HTMLBodyElement.h" #include "mozilla/dom/HTMLBodyElementBinding.h" #include "nsAttrValueInlines.h" diff --git a/content/html/content/src/HTMLDivElement.cpp b/content/html/content/src/HTMLDivElement.cpp index 73f1e349fd2..b0102b1ec4d 100644 --- a/content/html/content/src/HTMLDivElement.cpp +++ b/content/html/content/src/HTMLDivElement.cpp @@ -3,8 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "HTMLDivElement.h" #include "nsGenericHTMLElement.h" #include "nsStyleConsts.h" diff --git a/content/html/content/src/HTMLFontElement.cpp b/content/html/content/src/HTMLFontElement.cpp index 1a8dc426ce1..7834b6be8e3 100644 --- a/content/html/content/src/HTMLFontElement.cpp +++ b/content/html/content/src/HTMLFontElement.cpp @@ -3,8 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "HTMLFontElement.h" #include "mozilla/dom/HTMLFontElementBinding.h" #include "nsAttrValueInlines.h" diff --git a/content/html/content/src/HTMLFrameElement.cpp b/content/html/content/src/HTMLFrameElement.cpp index b7799ba4c8d..51bcf5526af 100644 --- a/content/html/content/src/HTMLFrameElement.cpp +++ b/content/html/content/src/HTMLFrameElement.cpp @@ -5,7 +5,6 @@ #include "mozilla/dom/HTMLFrameElement.h" #include "mozilla/dom/HTMLFrameElementBinding.h" -#include "mozilla/Util.h" class nsIDOMDocument; diff --git a/content/html/content/src/HTMLHeadingElement.cpp b/content/html/content/src/HTMLHeadingElement.cpp index 13d3c6b3d52..b0003cadaea 100644 --- a/content/html/content/src/HTMLHeadingElement.cpp +++ b/content/html/content/src/HTMLHeadingElement.cpp @@ -6,7 +6,6 @@ #include "mozilla/dom/HTMLHeadingElement.h" #include "mozilla/dom/HTMLHeadingElementBinding.h" -#include "mozilla/Util.h" #include "nsGkAtoms.h" #include "nsStyleConsts.h" #include "nsMappedAttributes.h" diff --git a/content/html/content/src/HTMLIFrameElement.cpp b/content/html/content/src/HTMLIFrameElement.cpp index 4d76ec059bd..132739ae9a6 100644 --- a/content/html/content/src/HTMLIFrameElement.cpp +++ b/content/html/content/src/HTMLIFrameElement.cpp @@ -3,8 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "mozilla/dom/HTMLIFrameElement.h" #include "mozilla/dom/HTMLIFrameElementBinding.h" #include "nsMappedAttributes.h" diff --git a/content/html/content/src/HTMLImageElement.cpp b/content/html/content/src/HTMLImageElement.cpp index a5968e1b88a..3bffa10f904 100644 --- a/content/html/content/src/HTMLImageElement.cpp +++ b/content/html/content/src/HTMLImageElement.cpp @@ -3,8 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "mozilla/dom/HTMLImageElement.h" #include "mozilla/dom/HTMLImageElementBinding.h" #include "nsGkAtoms.h" diff --git a/content/html/content/src/HTMLLIElement.h b/content/html/content/src/HTMLLIElement.h index 45ae622ca61..86ed5df34b3 100644 --- a/content/html/content/src/HTMLLIElement.h +++ b/content/html/content/src/HTMLLIElement.h @@ -7,7 +7,7 @@ #define mozilla_dom_HTMLLIElement_h #include "mozilla/Attributes.h" -#include "mozilla/Util.h" + #include "nsIDOMHTMLLIElement.h" #include "nsGenericHTMLElement.h" diff --git a/content/html/content/src/HTMLObjectElement.cpp b/content/html/content/src/HTMLObjectElement.cpp index 5109fa7237f..d6158371fca 100644 --- a/content/html/content/src/HTMLObjectElement.cpp +++ b/content/html/content/src/HTMLObjectElement.cpp @@ -5,8 +5,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "mozilla/dom/HTMLObjectElement.h" -#include "mozilla/Util.h" - #include "mozilla/dom/HTMLObjectElementBinding.h" #include "mozilla/dom/ElementInlines.h" #include "nsAutoPtr.h" diff --git a/content/html/content/src/HTMLOptionsCollection.cpp b/content/html/content/src/HTMLOptionsCollection.cpp index d0e5c979905..9397987546a 100644 --- a/content/html/content/src/HTMLOptionsCollection.cpp +++ b/content/html/content/src/HTMLOptionsCollection.cpp @@ -12,7 +12,6 @@ #include "mozilla/dom/HTMLOptionElement.h" #include "mozilla/dom/HTMLOptionsCollectionBinding.h" #include "mozilla/dom/HTMLSelectElement.h" -#include "mozilla/Util.h" #include "nsContentCreatorFunctions.h" #include "nsError.h" #include "nsEventDispatcher.h" diff --git a/content/html/content/src/HTMLParagraphElement.h b/content/html/content/src/HTMLParagraphElement.h index fecfc845c9a..5dc2381579d 100644 --- a/content/html/content/src/HTMLParagraphElement.h +++ b/content/html/content/src/HTMLParagraphElement.h @@ -7,7 +7,6 @@ #define mozilla_dom_HTMLParagraphElement_h #include "mozilla/Attributes.h" -#include "mozilla/Util.h" #include "nsIDOMHTMLParagraphElement.h" #include "nsGenericHTMLElement.h" diff --git a/content/html/content/src/HTMLPreElement.h b/content/html/content/src/HTMLPreElement.h index 831a0d131ad..2640c08c1d1 100644 --- a/content/html/content/src/HTMLPreElement.h +++ b/content/html/content/src/HTMLPreElement.h @@ -7,7 +7,6 @@ #define mozilla_dom_HTMLPreElement_h #include "mozilla/Attributes.h" -#include "mozilla/Util.h" #include "nsIDOMHTMLPreElement.h" #include "nsGenericHTMLElement.h" diff --git a/content/html/content/src/HTMLSelectElement.cpp b/content/html/content/src/HTMLSelectElement.cpp index ef409cb5603..f72b032938e 100644 --- a/content/html/content/src/HTMLSelectElement.cpp +++ b/content/html/content/src/HTMLSelectElement.cpp @@ -11,7 +11,6 @@ #include "mozilla/dom/HTMLOptGroupElement.h" #include "mozilla/dom/HTMLOptionElement.h" #include "mozilla/dom/HTMLSelectElementBinding.h" -#include "mozilla/Util.h" #include "nsContentCreatorFunctions.h" #include "nsContentList.h" #include "nsError.h" diff --git a/content/html/content/src/HTMLSharedListElement.h b/content/html/content/src/HTMLSharedListElement.h index 71123998a3d..000fed30a36 100644 --- a/content/html/content/src/HTMLSharedListElement.h +++ b/content/html/content/src/HTMLSharedListElement.h @@ -5,8 +5,8 @@ #ifndef mozilla_dom_HTMLSharedListElement_h #define mozilla_dom_HTMLSharedListElement_h + #include "mozilla/Attributes.h" -#include "mozilla/Util.h" #include "nsIDOMHTMLOListElement.h" #include "nsIDOMHTMLUListElement.h" diff --git a/content/html/content/src/HTMLSharedObjectElement.cpp b/content/html/content/src/HTMLSharedObjectElement.cpp index 925d37c3eeb..798dc122fc5 100644 --- a/content/html/content/src/HTMLSharedObjectElement.cpp +++ b/content/html/content/src/HTMLSharedObjectElement.cpp @@ -8,7 +8,6 @@ #include "mozilla/dom/HTMLEmbedElementBinding.h" #include "mozilla/dom/HTMLAppletElementBinding.h" #include "mozilla/dom/ElementInlines.h" -#include "mozilla/Util.h" #include "nsIDocument.h" #include "nsIPluginDocument.h" diff --git a/content/html/content/src/HTMLTableCaptionElement.cpp b/content/html/content/src/HTMLTableCaptionElement.cpp index 07330cba30b..2ac62f3884c 100644 --- a/content/html/content/src/HTMLTableCaptionElement.cpp +++ b/content/html/content/src/HTMLTableCaptionElement.cpp @@ -3,8 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "mozilla/dom/HTMLTableCaptionElement.h" #include "nsAttrValueInlines.h" #include "nsMappedAttributes.h" diff --git a/content/html/content/src/HTMLTableCellElement.cpp b/content/html/content/src/HTMLTableCellElement.cpp index 97235acc22b..7d1ffaf02c6 100644 --- a/content/html/content/src/HTMLTableCellElement.cpp +++ b/content/html/content/src/HTMLTableCellElement.cpp @@ -3,8 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "mozilla/dom/HTMLTableCellElement.h" #include "mozilla/dom/HTMLTableElement.h" #include "mozilla/dom/HTMLTableRowElement.h" diff --git a/content/html/content/src/HTMLTableColElement.cpp b/content/html/content/src/HTMLTableColElement.cpp index 450f07a7439..46a8d33fe4f 100644 --- a/content/html/content/src/HTMLTableColElement.cpp +++ b/content/html/content/src/HTMLTableColElement.cpp @@ -3,8 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "mozilla/dom/HTMLTableColElement.h" #include "nsMappedAttributes.h" #include "nsAttrValueInlines.h" diff --git a/content/html/content/src/HTMLTableElement.cpp b/content/html/content/src/HTMLTableElement.cpp index 1296bc42db2..618e345e080 100644 --- a/content/html/content/src/HTMLTableElement.cpp +++ b/content/html/content/src/HTMLTableElement.cpp @@ -3,8 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "mozilla/dom/HTMLTableElement.h" #include "nsAttrValueInlines.h" #include "nsRuleData.h" diff --git a/content/html/content/src/HTMLTableRowElement.cpp b/content/html/content/src/HTMLTableRowElement.cpp index 584636ad058..46a7bf0161b 100644 --- a/content/html/content/src/HTMLTableRowElement.cpp +++ b/content/html/content/src/HTMLTableRowElement.cpp @@ -3,8 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "mozilla/dom/HTMLTableRowElement.h" #include "mozilla/dom/HTMLTableElement.h" #include "nsMappedAttributes.h" diff --git a/content/html/content/src/HTMLTableSectionElement.cpp b/content/html/content/src/HTMLTableSectionElement.cpp index 572e0ab4618..e10e4e5e6b2 100644 --- a/content/html/content/src/HTMLTableSectionElement.cpp +++ b/content/html/content/src/HTMLTableSectionElement.cpp @@ -3,8 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "mozilla/dom/HTMLTableSectionElement.h" #include "nsMappedAttributes.h" #include "nsAttrValueInlines.h" diff --git a/content/html/content/src/HTMLTextAreaElement.cpp b/content/html/content/src/HTMLTextAreaElement.cpp index ce379b59e93..0f22ac66a9f 100644 --- a/content/html/content/src/HTMLTextAreaElement.cpp +++ b/content/html/content/src/HTMLTextAreaElement.cpp @@ -10,7 +10,6 @@ #include "mozilla/Attributes.h" #include "mozilla/dom/HTMLTextAreaElementBinding.h" #include "mozilla/MouseEvents.h" -#include "mozilla/Util.h" #include "nsAttrValueInlines.h" #include "nsContentCID.h" #include "nsContentCreatorFunctions.h" diff --git a/content/html/content/src/HTMLVideoElement.cpp b/content/html/content/src/HTMLVideoElement.cpp index 491668ce71e..1bc49191876 100644 --- a/content/html/content/src/HTMLVideoElement.cpp +++ b/content/html/content/src/HTMLVideoElement.cpp @@ -4,8 +4,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "nsIDOMHTMLVideoElement.h" #include "nsIDOMHTMLSourceElement.h" #include "mozilla/dom/HTMLVideoElement.h" diff --git a/content/html/content/src/nsFormSubmission.cpp b/content/html/content/src/nsFormSubmission.cpp index 7885f8a9fa6..df67b79f103 100644 --- a/content/html/content/src/nsFormSubmission.cpp +++ b/content/html/content/src/nsFormSubmission.cpp @@ -4,8 +4,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "nsFormSubmission.h" #include "nsCOMPtr.h" diff --git a/content/media/webrtc/LoadMonitor.cpp b/content/media/webrtc/LoadMonitor.cpp index e140e063644..a265e568420 100644 --- a/content/media/webrtc/LoadMonitor.cpp +++ b/content/media/webrtc/LoadMonitor.cpp @@ -19,7 +19,6 @@ #include "nsIServiceManager.h" #include "mozilla/TimeStamp.h" -#include "mozilla/Util.h" #include "mozilla/Services.h" #if defined(ANDROID) || defined(LINUX) || defined(XP_MACOSX) diff --git a/content/svg/content/src/DOMSVGPathSeg.cpp b/content/svg/content/src/DOMSVGPathSeg.cpp index 3f35f642503..e16d9d44fbc 100644 --- a/content/svg/content/src/DOMSVGPathSeg.cpp +++ b/content/svg/content/src/DOMSVGPathSeg.cpp @@ -3,8 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "DOMSVGPathSeg.h" #include "DOMSVGPathSegList.h" #include "SVGAnimatedPathSegList.h" diff --git a/content/xul/templates/src/nsRuleNetwork.cpp b/content/xul/templates/src/nsRuleNetwork.cpp index 526df564316..7e1b5403e08 100644 --- a/content/xul/templates/src/nsRuleNetwork.cpp +++ b/content/xul/templates/src/nsRuleNetwork.cpp @@ -16,8 +16,6 @@ */ -#include "mozilla/Util.h" - #include "nscore.h" #include "nsCOMPtr.h" #include "plhash.h" diff --git a/dom/audiochannel/AudioChannelService.cpp b/dom/audiochannel/AudioChannelService.cpp index 069e9a8cfd7..cba41aeadc2 100644 --- a/dom/audiochannel/AudioChannelService.cpp +++ b/dom/audiochannel/AudioChannelService.cpp @@ -12,7 +12,6 @@ #include "mozilla/Services.h" #include "mozilla/StaticPtr.h" #include "mozilla/unused.h" -#include "mozilla/Util.h" #include "mozilla/dom/ContentParent.h" diff --git a/dom/audiochannel/AudioChannelServiceChild.cpp b/dom/audiochannel/AudioChannelServiceChild.cpp index d2e4429c1d5..023eec896e2 100644 --- a/dom/audiochannel/AudioChannelServiceChild.cpp +++ b/dom/audiochannel/AudioChannelServiceChild.cpp @@ -11,7 +11,6 @@ #include "mozilla/Services.h" #include "mozilla/StaticPtr.h" #include "mozilla/unused.h" -#include "mozilla/Util.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/dom/ContentParent.h" #include "nsIObserverService.h" diff --git a/dom/base/nsGlobalWindow.cpp b/dom/base/nsGlobalWindow.cpp index b7e414e2b08..17562817597 100644 --- a/dom/base/nsGlobalWindow.cpp +++ b/dom/base/nsGlobalWindow.cpp @@ -9,7 +9,6 @@ #include #include "mozilla/MemoryReporting.h" -#include "mozilla/Util.h" // Local Includes #include "Navigator.h" diff --git a/dom/bindings/CallbackObject.h b/dom/bindings/CallbackObject.h index a04763817a8..85428678419 100644 --- a/dom/bindings/CallbackObject.h +++ b/dom/bindings/CallbackObject.h @@ -24,7 +24,6 @@ #include "mozilla/Assertions.h" #include "mozilla/ErrorResult.h" #include "mozilla/HoldDropJSObjects.h" -#include "mozilla/Util.h" #include "nsContentUtils.h" #include "nsCxPusher.h" #include "nsWrapperCache.h" diff --git a/dom/bindings/DOMJSProxyHandler.cpp b/dom/bindings/DOMJSProxyHandler.cpp index ca4189f069d..4bb115fbe1e 100644 --- a/dom/bindings/DOMJSProxyHandler.cpp +++ b/dom/bindings/DOMJSProxyHandler.cpp @@ -4,8 +4,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "mozilla/dom/DOMJSProxyHandler.h" #include "xpcpublic.h" #include "xpcprivate.h" diff --git a/dom/bindings/TypedArray.h b/dom/bindings/TypedArray.h index f84435a4e10..d8ed5008533 100644 --- a/dom/bindings/TypedArray.h +++ b/dom/bindings/TypedArray.h @@ -13,7 +13,6 @@ #include "js/Tracer.h" #include "mozilla/Attributes.h" #include "mozilla/dom/BindingDeclarations.h" -#include "mozilla/Util.h" // for Maybe #include "nsWrapperCache.h" namespace mozilla { diff --git a/dom/bluetooth/BluetoothAdapter.cpp b/dom/bluetooth/BluetoothAdapter.cpp index 0b3ec6c2755..8859776e855 100644 --- a/dom/bluetooth/BluetoothAdapter.cpp +++ b/dom/bluetooth/BluetoothAdapter.cpp @@ -19,7 +19,6 @@ #include "mozilla/dom/BluetoothAdapterBinding.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/LazyIdleThread.h" -#include "mozilla/Util.h" #include "BluetoothAdapter.h" #include "BluetoothDevice.h" diff --git a/dom/bluetooth/BluetoothManager.cpp b/dom/bluetooth/BluetoothManager.cpp index a4e432f3e94..922c64f853f 100644 --- a/dom/bluetooth/BluetoothManager.cpp +++ b/dom/bluetooth/BluetoothManager.cpp @@ -16,7 +16,6 @@ #include "nsDOMClassInfo.h" #include "nsIPermissionManager.h" #include "nsThreadUtils.h" -#include "mozilla/Util.h" #include "mozilla/dom/bluetooth/BluetoothTypes.h" #include "mozilla/dom/BluetoothManagerBinding.h" diff --git a/dom/bluetooth/BluetoothService.cpp b/dom/bluetooth/BluetoothService.cpp index dac0fdb3499..36fe27219a2 100644 --- a/dom/bluetooth/BluetoothService.cpp +++ b/dom/bluetooth/BluetoothService.cpp @@ -23,7 +23,6 @@ #include "mozilla/Services.h" #include "mozilla/StaticPtr.h" #include "mozilla/unused.h" -#include "mozilla/Util.h" #include "mozilla/dom/ContentParent.h" #include "mozilla/dom/bluetooth/BluetoothTypes.h" #include "mozilla/ipc/UnixSocket.h" diff --git a/dom/bluetooth/ipc/BluetoothParent.cpp b/dom/bluetooth/ipc/BluetoothParent.cpp index 057e2a678a2..2c9cc88d76f 100644 --- a/dom/bluetooth/ipc/BluetoothParent.cpp +++ b/dom/bluetooth/ipc/BluetoothParent.cpp @@ -10,7 +10,6 @@ #include "mozilla/Assertions.h" #include "mozilla/unused.h" -#include "mozilla/Util.h" #include "nsDebug.h" #include "nsThreadUtils.h" #include "nsTraceRefcnt.h" diff --git a/dom/indexedDB/IndexedDatabaseManager.cpp b/dom/indexedDB/IndexedDatabaseManager.cpp index 90cf8514408..d52ab010be1 100644 --- a/dom/indexedDB/IndexedDatabaseManager.cpp +++ b/dom/indexedDB/IndexedDatabaseManager.cpp @@ -23,7 +23,6 @@ #include "mozilla/dom/TabContext.h" #include "mozilla/Services.h" #include "mozilla/storage.h" -#include "mozilla/Util.h" #include "nsContentUtils.h" #include "nsEventDispatcher.h" #include "nsThreadUtils.h" diff --git a/dom/indexedDB/ipc/IndexedDBParent.cpp b/dom/indexedDB/ipc/IndexedDBParent.cpp index 0242472f4f6..ca23d65f302 100644 --- a/dom/indexedDB/ipc/IndexedDBParent.cpp +++ b/dom/indexedDB/ipc/IndexedDBParent.cpp @@ -17,7 +17,6 @@ #include "mozilla/dom/ipc/Blob.h" #include "mozilla/dom/TabParent.h" #include "mozilla/unused.h" -#include "mozilla/Util.h" #include "nsCxPusher.h" #include "AsyncConnectionHelper.h" diff --git a/dom/speakermanager/SpeakerManagerService.cpp b/dom/speakermanager/SpeakerManagerService.cpp index c3101592a71..635f95bec37 100644 --- a/dom/speakermanager/SpeakerManagerService.cpp +++ b/dom/speakermanager/SpeakerManagerService.cpp @@ -9,7 +9,6 @@ #include "mozilla/Services.h" #include "mozilla/StaticPtr.h" #include "mozilla/unused.h" -#include "mozilla/Util.h" #include "mozilla/dom/ContentParent.h" #include "nsIPropertyBag2.h" #include "nsThreadUtils.h" diff --git a/dom/speakermanager/SpeakerManagerServiceChild.cpp b/dom/speakermanager/SpeakerManagerServiceChild.cpp index bafb4ffd669..988c03e1288 100644 --- a/dom/speakermanager/SpeakerManagerServiceChild.cpp +++ b/dom/speakermanager/SpeakerManagerServiceChild.cpp @@ -8,7 +8,6 @@ #include "mozilla/Services.h" #include "mozilla/StaticPtr.h" #include "mozilla/unused.h" -#include "mozilla/Util.h" #include "mozilla/dom/ContentChild.h" #include "mozilla/dom/ContentParent.h" #include "nsIObserverService.h" diff --git a/dom/workers/WorkerPrivate.cpp b/dom/workers/WorkerPrivate.cpp index e499c2af0db..793475214b3 100644 --- a/dom/workers/WorkerPrivate.cpp +++ b/dom/workers/WorkerPrivate.cpp @@ -44,7 +44,6 @@ #include "mozilla/dom/MessagePortList.h" #include "mozilla/dom/WorkerBinding.h" #include "mozilla/Preferences.h" -#include "mozilla/Util.h" #include "nsAlgorithm.h" #include "nsContentUtils.h" #include "nsCxPusher.h" diff --git a/editor/libeditor/html/nsEditProperty.cpp b/editor/libeditor/html/nsEditProperty.cpp index 0af7f3e70e0..f92a74ba091 100644 --- a/editor/libeditor/html/nsEditProperty.cpp +++ b/editor/libeditor/html/nsEditProperty.cpp @@ -3,8 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "nsMemory.h" #include "nsStaticAtom.h" #include "nsEditProperty.h" diff --git a/gfx/2d/Blur.cpp b/gfx/2d/Blur.cpp index b183cf7fd4b..dd18e395a98 100644 --- a/gfx/2d/Blur.cpp +++ b/gfx/2d/Blur.cpp @@ -12,7 +12,6 @@ #include "mozilla/CheckedInt.h" #include "mozilla/Constants.h" -#include "mozilla/Util.h" #include "2D.h" #include "Tools.h" diff --git a/gfx/gl/GLLibraryLoader.h b/gfx/gl/GLLibraryLoader.h index 00d5a794eda..0d18a1428d4 100644 --- a/gfx/gl/GLLibraryLoader.h +++ b/gfx/gl/GLLibraryLoader.h @@ -12,7 +12,6 @@ #endif #include "GLDefs.h" -#include "mozilla/Util.h" #include "nscore.h" #include "prlink.h" diff --git a/gfx/ipc/GfxMessageUtils.h b/gfx/ipc/GfxMessageUtils.h index ed42a627619..9cdd4c008a2 100644 --- a/gfx/ipc/GfxMessageUtils.h +++ b/gfx/ipc/GfxMessageUtils.h @@ -11,7 +11,6 @@ #include "chrome/common/ipc_message_utils.h" #include "ipc/IPCMessageUtils.h" -#include "mozilla/Util.h" #include #include "gfx3DMatrix.h" diff --git a/gfx/layers/LayerScope.cpp b/gfx/layers/LayerScope.cpp index 6ebeae9a053..ca3f3217231 100644 --- a/gfx/layers/LayerScope.cpp +++ b/gfx/layers/LayerScope.cpp @@ -6,8 +6,6 @@ /* This must occur *after* layers/PLayers.h to avoid typedefs conflicts. */ #include "LayerScope.h" -#include "mozilla/Util.h" - #include "Composer2D.h" #include "Effects.h" #include "mozilla/TimeStamp.h" diff --git a/gfx/thebes/gfxPangoFonts.cpp b/gfx/thebes/gfxPangoFonts.cpp index 94820f132f4..6573d913fb5 100644 --- a/gfx/thebes/gfxPangoFonts.cpp +++ b/gfx/thebes/gfxPangoFonts.cpp @@ -3,8 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "prlink.h" #include "gfxTypes.h" diff --git a/hal/Hal.cpp b/hal/Hal.cpp index 1673b450969..4532ac79b96 100644 --- a/hal/Hal.cpp +++ b/hal/Hal.cpp @@ -7,7 +7,6 @@ #include "Hal.h" #include "HalImpl.h" #include "HalSandbox.h" -#include "mozilla/Util.h" #include "nsThreadUtils.h" #include "nsXULAppAPI.h" #include "mozilla/Observer.h" diff --git a/image/src/SurfaceCache.cpp b/image/src/SurfaceCache.cpp index d450d32326c..9ca996fe0e2 100644 --- a/image/src/SurfaceCache.cpp +++ b/image/src/SurfaceCache.cpp @@ -15,7 +15,6 @@ #include "mozilla/Preferences.h" #include "mozilla/RefPtr.h" #include "mozilla/StaticPtr.h" -#include "mozilla/Util.h" // for Maybe #include "gfxASurface.h" #include "gfxPattern.h" // Workaround for flaw in bug 921753 part 2. #include "gfxDrawable.h" diff --git a/ipc/dbus/DBusThread.cpp b/ipc/dbus/DBusThread.cpp index 86f32ba761c..346815ad5da 100644 --- a/ipc/dbus/DBusThread.cpp +++ b/ipc/dbus/DBusThread.cpp @@ -50,7 +50,6 @@ #include "mozilla/NullPtr.h" #include "mozilla/StaticPtr.h" #include "mozilla/Monitor.h" -#include "mozilla/Util.h" #include "mozilla/FileUtils.h" #include "nsThreadUtils.h" #include "nsIThread.h" diff --git a/ipc/unixsocket/UnixSocket.cpp b/ipc/unixsocket/UnixSocket.cpp index f352c18a110..9a67b03f203 100644 --- a/ipc/unixsocket/UnixSocket.cpp +++ b/ipc/unixsocket/UnixSocket.cpp @@ -17,7 +17,6 @@ #include "base/message_loop.h" #include "mozilla/Monitor.h" -#include "mozilla/Util.h" #include "mozilla/FileUtils.h" #include "nsString.h" #include "nsThreadUtils.h" diff --git a/js/src/gc/Zone.h b/js/src/gc/Zone.h index e14eea16276..ebad06d0b6c 100644 --- a/js/src/gc/Zone.h +++ b/js/src/gc/Zone.h @@ -9,7 +9,6 @@ #include "mozilla/Atomics.h" #include "mozilla/MemoryReporting.h" -#include "mozilla/Util.h" #include "jscntxt.h" #include "jsgc.h" diff --git a/js/src/jsopcode.cpp b/js/src/jsopcode.cpp index 14c6432f859..7c5a8151901 100644 --- a/js/src/jsopcode.cpp +++ b/js/src/jsopcode.cpp @@ -10,8 +10,6 @@ #include "jsopcodeinlines.h" -#include "mozilla/Util.h" - #include #include #include @@ -49,7 +47,6 @@ using namespace js; using namespace js::gc; using js::frontend::IsIdentifier; -using mozilla::ArrayLength; /* * Index limit must stay within 32 bits. diff --git a/js/xpconnect/shell/xpcshell.cpp b/js/xpconnect/shell/xpcshell.cpp index 1fac33fe90b..31effe323cb 100644 --- a/js/xpconnect/shell/xpcshell.cpp +++ b/js/xpconnect/shell/xpcshell.cpp @@ -9,7 +9,6 @@ #include -#include "mozilla/Util.h" #include "mozilla/WindowsDllBlocklist.h" #include "nsXULAppAPI.h" diff --git a/js/xpconnect/src/xpcprivate.h b/js/xpconnect/src/xpcprivate.h index 81fb1809730..cb43fa26c53 100644 --- a/js/xpconnect/src/xpcprivate.h +++ b/js/xpconnect/src/xpcprivate.h @@ -81,7 +81,6 @@ #include "mozilla/CycleCollectedJSRuntime.h" #include "mozilla/GuardObjects.h" #include "mozilla/MemoryReporting.h" -#include "mozilla/Util.h" #include #include diff --git a/layout/generic/nsBlockFrame.cpp b/layout/generic/nsBlockFrame.cpp index 7bd33bf3774..4a59b02484f 100644 --- a/layout/generic/nsBlockFrame.cpp +++ b/layout/generic/nsBlockFrame.cpp @@ -12,7 +12,6 @@ #include "nsBlockFrame.h" #include "mozilla/DebugOnly.h" -#include "mozilla/Util.h" #include "nsCOMPtr.h" #include "nsAbsoluteContainingBlock.h" diff --git a/layout/generic/nsLineLayout.cpp b/layout/generic/nsLineLayout.cpp index 448fcea83cc..630e5b738e0 100644 --- a/layout/generic/nsLineLayout.cpp +++ b/layout/generic/nsLineLayout.cpp @@ -10,7 +10,6 @@ #define PL_ARENA_CONST_ALIGN_MASK (sizeof(void*)-1) #include "nsLineLayout.h" -#include "mozilla/Util.h" #include "nsBlockFrame.h" #include "nsStyleConsts.h" #include "nsContainerFrame.h" diff --git a/layout/inspector/inDOMView.cpp b/layout/inspector/inDOMView.cpp index f8bc32bbbe6..26c19d7f861 100644 --- a/layout/inspector/inDOMView.cpp +++ b/layout/inspector/inDOMView.cpp @@ -3,8 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "inDOMView.h" #include "inIDOMUtils.h" diff --git a/layout/style/nsCSSScanner.cpp b/layout/style/nsCSSScanner.cpp index 35c369d60e6..f11ca5d18ee 100644 --- a/layout/style/nsCSSScanner.cpp +++ b/layout/style/nsCSSScanner.cpp @@ -14,8 +14,6 @@ #include "mozilla/Util.h" #include -using mozilla::ArrayLength; - /* Character class tables and related helper functions. */ static const uint8_t IS_HEX_DIGIT = 0x01; diff --git a/memory/mozalloc/throw_gcc.h b/memory/mozalloc/throw_gcc.h index 65a96abec36..2c04dd24343 100644 --- a/memory/mozalloc/throw_gcc.h +++ b/memory/mozalloc/throw_gcc.h @@ -9,7 +9,6 @@ #define mozilla_throw_gcc_h #include "mozilla/Attributes.h" -#include "mozilla/Util.h" #include // snprintf #include // strerror diff --git a/mfbt/BloomFilter.h b/mfbt/BloomFilter.h index afe4b72b809..8129c489d4c 100644 --- a/mfbt/BloomFilter.h +++ b/mfbt/BloomFilter.h @@ -16,7 +16,6 @@ #include "mozilla/Assertions.h" #include "mozilla/Likely.h" -#include "mozilla/Util.h" #include #include diff --git a/parser/html/nsHtml5Atoms.cpp b/parser/html/nsHtml5Atoms.cpp index 108e393ecbb..ae8136179da 100644 --- a/parser/html/nsHtml5Atoms.cpp +++ b/parser/html/nsHtml5Atoms.cpp @@ -10,8 +10,6 @@ * unloaded. */ -#include "mozilla/Util.h" - #include "nsHtml5Atoms.h" #include "nsStaticAtom.h" diff --git a/parser/htmlparser/src/CNavDTD.cpp b/parser/htmlparser/src/CNavDTD.cpp index 8657b6aa0f2..652e7a7bb80 100644 --- a/parser/htmlparser/src/CNavDTD.cpp +++ b/parser/htmlparser/src/CNavDTD.cpp @@ -4,8 +4,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "nsISupports.h" #include "nsISupportsImpl.h" #include "nsIParser.h" diff --git a/parser/htmlparser/src/nsHTMLTags.cpp b/parser/htmlparser/src/nsHTMLTags.cpp index 2d437bfca0e..b51fecb93b5 100644 --- a/parser/htmlparser/src/nsHTMLTags.cpp +++ b/parser/htmlparser/src/nsHTMLTags.cpp @@ -3,8 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "nsHTMLTags.h" #include "nsCRT.h" #include "nsReadableUtils.h" diff --git a/rdf/base/src/nsRDFContentSink.cpp b/rdf/base/src/nsRDFContentSink.cpp index 6fcbc36c5b9..dcd8623eac2 100644 --- a/rdf/base/src/nsRDFContentSink.cpp +++ b/rdf/base/src/nsRDFContentSink.cpp @@ -38,8 +38,6 @@ */ -#include "mozilla/Util.h" - #include "nsCOMPtr.h" #include "nsInterfaceHashtable.h" #include "nsIContentSink.h" diff --git a/storage/src/TelemetryVFS.cpp b/storage/src/TelemetryVFS.cpp index bcdacd7cee1..423788c9052 100644 --- a/storage/src/TelemetryVFS.cpp +++ b/storage/src/TelemetryVFS.cpp @@ -9,7 +9,6 @@ #include "mozilla/Preferences.h" #include "sqlite3.h" #include "nsThreadUtils.h" -#include "mozilla/Util.h" #include "mozilla/dom/quota/PersistenceType.h" #include "mozilla/dom/quota/QuotaManager.h" #include "mozilla/dom/quota/QuotaObject.h" diff --git a/storage/src/mozStorageStatementData.h b/storage/src/mozStorageStatementData.h index 2e611cd3c1e..727c473b337 100644 --- a/storage/src/mozStorageStatementData.h +++ b/storage/src/mozStorageStatementData.h @@ -12,7 +12,6 @@ #include "nsAutoPtr.h" #include "nsTArray.h" #include "nsIEventTarget.h" -#include "mozilla/Util.h" #include "MainThreadUtils.h" #include "mozStorageBindingParamsArray.h" diff --git a/toolkit/components/places/nsNavBookmarks.cpp b/toolkit/components/places/nsNavBookmarks.cpp index 1879a078160..64460a51104 100644 --- a/toolkit/components/places/nsNavBookmarks.cpp +++ b/toolkit/components/places/nsNavBookmarks.cpp @@ -16,7 +16,6 @@ #include "nsPrintfCString.h" #include "prprf.h" #include "mozilla/storage.h" -#include "mozilla/Util.h" #include "GeckoProfiler.h" diff --git a/toolkit/system/androidproxy/nsAndroidSystemProxySettings.cpp b/toolkit/system/androidproxy/nsAndroidSystemProxySettings.cpp index c268e91a8b7..792893a2bd9 100644 --- a/toolkit/system/androidproxy/nsAndroidSystemProxySettings.cpp +++ b/toolkit/system/androidproxy/nsAndroidSystemProxySettings.cpp @@ -6,7 +6,6 @@ #include "nsNetUtil.h" #include "nsIURI.h" -#include "mozilla/Util.h" #include "nsISystemProxySettings.h" #include "nsIServiceManager.h" #include "mozilla/ModuleUtils.h" diff --git a/tools/profiler/GeckoProfilerImpl.h b/tools/profiler/GeckoProfilerImpl.h index 727907ac9c4..e84eb3cc4c8 100644 --- a/tools/profiler/GeckoProfilerImpl.h +++ b/tools/profiler/GeckoProfilerImpl.h @@ -13,7 +13,6 @@ #include #include "mozilla/ThreadLocal.h" #include "mozilla/Assertions.h" -#include "mozilla/Util.h" #include "nsAlgorithm.h" #include "nscore.h" #include "GeckoProfilerFunc.h" diff --git a/tools/profiler/platform.h b/tools/profiler/platform.h index 53cdf3eec45..6ad0baadf3b 100644 --- a/tools/profiler/platform.h +++ b/tools/profiler/platform.h @@ -40,7 +40,6 @@ #endif #include -#include "mozilla/Util.h" #include "mozilla/unused.h" #include "mozilla/TimeStamp.h" #include "mozilla/Mutex.h" diff --git a/widget/android/AndroidBridge.cpp b/widget/android/AndroidBridge.cpp index 7322006f529..7c39a14da86 100644 --- a/widget/android/AndroidBridge.cpp +++ b/widget/android/AndroidBridge.cpp @@ -3,7 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" #include "mozilla/layers/CompositorChild.h" #include "mozilla/layers/CompositorParent.h" diff --git a/widget/android/AndroidJNIWrapper.cpp b/widget/android/AndroidJNIWrapper.cpp index 9c9c825bb65..67e46717009 100644 --- a/widget/android/AndroidJNIWrapper.cpp +++ b/widget/android/AndroidJNIWrapper.cpp @@ -3,8 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include #include #include diff --git a/widget/gonk/libdisplay/BootAnimation.cpp b/widget/gonk/libdisplay/BootAnimation.cpp index 54b550a3d50..a30175a4bdb 100644 --- a/widget/gonk/libdisplay/BootAnimation.cpp +++ b/widget/gonk/libdisplay/BootAnimation.cpp @@ -22,7 +22,6 @@ #include #include "mozilla/FileUtils.h" #include "mozilla/NullPtr.h" -#include "mozilla/Util.h" #include "png.h" #include "android/log.h" diff --git a/widget/gtk/nsColorPicker.cpp b/widget/gtk/nsColorPicker.cpp index 320addd8625..432e1089e25 100644 --- a/widget/gtk/nsColorPicker.cpp +++ b/widget/gtk/nsColorPicker.cpp @@ -5,7 +5,6 @@ #include -#include "mozilla/Util.h" #include "nsColor.h" #include "nsColorPicker.h" #include "nsGtkUtils.h" diff --git a/widget/gtk/nsFilePicker.cpp b/widget/gtk/nsFilePicker.cpp index afd7e00dd5e..149d877beed 100644 --- a/widget/gtk/nsFilePicker.cpp +++ b/widget/gtk/nsFilePicker.cpp @@ -3,7 +3,7 @@ * 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/Util.h" +#include "mozilla/Types.h" #include diff --git a/widget/windows/nsWindow.cpp b/widget/windows/nsWindow.cpp index ce319a62764..6c350011bad 100644 --- a/widget/windows/nsWindow.cpp +++ b/widget/windows/nsWindow.cpp @@ -58,7 +58,6 @@ #include "mozilla/MiscEvents.h" #include "mozilla/MouseEvents.h" #include "mozilla/TouchEvents.h" -#include "mozilla/Util.h" #include "mozilla/ipc/MessageChannel.h" #include diff --git a/xpcom/tests/MoreTestingAtoms.cpp b/xpcom/tests/MoreTestingAtoms.cpp index c64a14cbacc..09433cd187e 100644 --- a/xpcom/tests/MoreTestingAtoms.cpp +++ b/xpcom/tests/MoreTestingAtoms.cpp @@ -3,8 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "MoreTestingAtoms.h" #include "nsStaticAtom.h" #include "nsMemory.h" diff --git a/xpcom/tests/TestingAtoms.cpp b/xpcom/tests/TestingAtoms.cpp index f03cf658e59..f1521d9ab70 100644 --- a/xpcom/tests/TestingAtoms.cpp +++ b/xpcom/tests/TestingAtoms.cpp @@ -3,8 +3,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include "mozilla/Util.h" - #include "TestingAtoms.h" #include "nsStaticAtom.h" #include "nsMemory.h"