From 94545cbb2efed887182b9a2d3ed34f9198367737 Mon Sep 17 00:00:00 2001 From: Andrea Marchesini Date: Fri, 27 Mar 2015 18:52:19 +0000 Subject: [PATCH] Bug 1148527 - Indentation fix after bug 1145631, r=ehsan --- accessible/base/NotificationController.h | 2 +- accessible/base/nsAccessibilityService.h | 8 +- accessible/windows/msaa/IUnknownImpl.h | 4 +- accessible/windows/uia/uiaRawElmProvider.h | 2 +- browser/components/feeds/nsFeedSniffer.h | 2 +- caps/nsNullPrincipalURI.h | 4 +- caps/nsScriptSecurityManager.h | 4 +- chrome/nsChromeProtocolHandler.h | 2 +- docshell/shistory/src/nsSHEntry.h | 4 +- docshell/shistory/src/nsSHEntryShared.h | 2 +- docshell/shistory/src/nsSHistory.h | 6 +- dom/archivereader/ArchiveReader.h | 2 +- dom/archivereader/ArchiveZipFile.cpp | 2 +- dom/asmjscache/AsmJSCache.cpp | 6 +- dom/base/Attr.h | 2 +- dom/base/Comment.h | 2 +- dom/base/Console.h | 2 +- dom/base/DOMImplementation.h | 2 +- dom/base/DOMParser.h | 4 +- dom/base/DOMRect.h | 4 +- dom/base/Element.h | 122 +++++++++--------- dom/base/EventSource.h | 10 +- dom/base/File.cpp | 4 +- dom/base/File.h | 13 +- dom/base/ImportManager.h | 2 +- dom/base/MessageChannel.h | 2 +- dom/base/MessagePortList.h | 2 +- dom/base/Navigator.h | 4 +- dom/base/NodeIterator.h | 4 +- dom/base/SubtleCrypto.h | 2 +- dom/base/TextInputProcessor.h | 2 +- dom/base/URLSearchParams.h | 2 +- dom/base/WebSocket.cpp | 10 +- dom/base/nsContentPermissionHelper.h | 2 +- dom/base/nsContentUtils.cpp | 2 +- dom/base/nsDOMMutationObserver.h | 4 +- dom/base/nsDOMScriptObjectFactory.h | 2 +- dom/base/nsDOMSerializer.h | 2 +- dom/base/nsDOMWindowUtils.h | 2 +- dom/base/nsDocument.h | 4 +- dom/base/nsFocusManager.h | 4 +- dom/base/nsFormData.h | 6 +- dom/base/nsFrameLoader.h | 4 +- dom/base/nsFrameMessageManager.h | 8 +- dom/base/nsGenConImageContent.cpp | 2 +- dom/base/nsGlobalWindow.cpp | 2 +- dom/base/nsLocation.h | 4 +- dom/base/nsMimeTypeArray.h | 2 +- dom/base/nsObjectLoadingContent.cpp | 4 +- dom/base/nsPluginArray.h | 6 +- dom/base/nsRange.h | 4 +- dom/base/nsTextNode.cpp | 2 +- dom/base/nsWindowMemoryReporter.h | 4 +- dom/base/nsXMLHttpRequest.h | 31 ++--- dom/bluetooth/BluetoothProfileManagerBase.h | 14 +- dom/bluetooth2/BluetoothProfileManagerBase.h | 14 +- dom/camera/DOMCameraCapabilities.h | 10 +- dom/camera/DOMCameraControl.h | 2 +- dom/camera/DOMCameraDetectedFace.h | 2 +- dom/cellbroadcast/CellBroadcastMessage.h | 4 +- .../ipc/CellBroadcastIPCService.h | 4 +- dom/cellbroadcast/ipc/CellBroadcastParent.h | 2 +- dom/crypto/CryptoKey.h | 4 +- dom/datastore/DataStoreService.h | 2 +- dom/events/CustomEvent.h | 2 +- dom/events/DOMEventTargetHelper.h | 4 +- dom/events/DataTransfer.h | 2 +- dom/events/IMEContentObserver.h | 10 +- dom/events/ImageCaptureError.h | 2 +- dom/events/MessageEvent.h | 2 +- dom/events/PaintRequest.h | 4 +- dom/events/Touch.h | 4 +- dom/events/TouchEvent.h | 2 +- dom/events/UIEvent.h | 6 +- dom/fetch/Fetch.cpp | 2 +- dom/fetch/FetchDriver.h | 6 +- dom/fetch/Headers.h | 2 +- dom/fetch/Request.h | 4 +- dom/fetch/Response.h | 4 +- dom/fmradio/FMRadio.cpp | 2 +- dom/fmradio/FMRadio.h | 10 +- dom/fmradio/FMRadioService.h | 6 +- dom/fmradio/ipc/FMRadioChild.h | 2 +- dom/fmradio/ipc/FMRadioParent.h | 2 +- dom/fmradio/ipc/FMRadioRequestParent.h | 2 +- dom/gamepad/Gamepad.h | 2 +- dom/geolocation/nsGeoPosition.h | 4 +- dom/geolocation/nsGeolocation.h | 9 +- dom/html/HTMLAllCollection.h | 2 +- dom/html/HTMLAnchorElement.h | 4 +- dom/html/HTMLAreaElement.h | 4 +- dom/html/HTMLBRElement.h | 2 +- dom/html/HTMLBodyElement.h | 2 +- dom/html/HTMLButtonElement.h | 4 +- dom/html/HTMLCanvasElement.h | 2 +- dom/html/HTMLDivElement.h | 2 +- dom/html/HTMLFieldSetElement.h | 4 +- dom/html/HTMLFormControlsCollection.h | 2 +- dom/html/HTMLFormElement.h | 8 +- dom/html/HTMLFrameElement.h | 2 +- dom/html/HTMLFrameSetElement.h | 2 +- dom/html/HTMLHRElement.h | 2 +- dom/html/HTMLHeadingElement.h | 2 +- dom/html/HTMLIFrameElement.h | 2 +- dom/html/HTMLImageElement.h | 4 +- dom/html/HTMLInputElement.h | 14 +- dom/html/HTMLLIElement.h | 2 +- dom/html/HTMLLabelElement.h | 2 +- dom/html/HTMLLinkElement.h | 6 +- dom/html/HTMLMapElement.h | 2 +- dom/html/HTMLMediaElement.cpp | 6 +- dom/html/HTMLMenuElement.h | 4 +- dom/html/HTMLMenuItemElement.h | 2 +- dom/html/HTMLMetaElement.h | 2 +- dom/html/HTMLObjectElement.h | 6 +- dom/html/HTMLOptGroupElement.h | 2 +- dom/html/HTMLOptionElement.h | 2 +- dom/html/HTMLOptionsCollection.h | 4 +- dom/html/HTMLOutputElement.h | 4 +- dom/html/HTMLParagraphElement.h | 2 +- dom/html/HTMLPictureElement.h | 2 +- dom/html/HTMLPreElement.h | 2 +- dom/html/HTMLPropertiesCollection.h | 6 +- dom/html/HTMLScriptElement.h | 4 +- dom/html/HTMLSelectElement.h | 4 +- dom/html/HTMLShadowElement.h | 2 +- dom/html/HTMLSharedElement.h | 10 +- dom/html/HTMLSharedListElement.h | 4 +- dom/html/HTMLSharedObjectElement.h | 6 +- dom/html/HTMLSourceElement.h | 2 +- dom/html/HTMLStyleElement.h | 6 +- dom/html/HTMLTableCaptionElement.h | 2 +- dom/html/HTMLTableCellElement.h | 2 +- dom/html/HTMLTableElement.h | 2 +- dom/html/HTMLTextAreaElement.h | 10 +- dom/html/HTMLTitleElement.h | 4 +- dom/html/ImageDocument.h | 6 +- dom/html/MediaError.h | 2 +- dom/html/PluginDocument.cpp | 2 +- dom/html/UndoManager.h | 2 +- dom/html/ValidityState.h | 2 +- dom/html/nsHTMLDNSPrefetch.h | 4 +- dom/html/nsTextEditorState.cpp | 2 +- dom/indexedDB/IDBFileHandle.h | 6 +- dom/indexedDB/IDBFileRequest.h | 2 +- dom/ipc/ContentBridgeChild.h | 2 +- dom/ipc/ContentParent.cpp | 2 +- dom/ipc/ContentParent.h | 10 +- dom/ipc/TabChild.h | 26 ++-- dom/ipc/TabParent.cpp | 6 +- dom/mathml/nsMathMLElement.h | 4 +- dom/media/MediaCache.cpp | 3 +- dom/media/MediaManager.h | 2 +- dom/media/MediaRecorder.h | 2 +- dom/media/MediaResource.h | 4 +- dom/media/MediaStreamError.h | 6 +- dom/media/RTCIdentityProviderRegistrar.h | 2 +- dom/media/RtspMediaResource.h | 2 +- dom/media/TextTrackCueList.h | 2 +- dom/media/TextTrackRegion.h | 2 +- dom/media/WebVTTListener.h | 6 +- dom/media/eme/MediaKeyStatusMap.h | 2 +- dom/media/eme/MediaKeySystemAccess.h | 2 +- dom/media/gmp/GMPAudioDecoderParent.h | 2 +- dom/media/gmp/GMPVideoDecoderParent.h | 4 +- dom/media/systemservices/LoadManager.h | 2 +- dom/media/webaudio/AudioContext.h | 2 +- dom/media/webaudio/AudioDestinationNode.h | 6 +- dom/media/webaudio/AudioParam.h | 2 +- .../webspeech/recognition/SpeechGrammar.h | 2 +- .../webspeech/recognition/SpeechGrammarList.h | 2 +- .../webspeech/recognition/SpeechRecognition.h | 4 +- .../SpeechRecognitionAlternative.h | 2 +- .../recognition/SpeechRecognitionResult.h | 2 +- .../recognition/SpeechRecognitionResultList.h | 2 +- dom/media/webspeech/synth/SpeechSynthesis.h | 2 +- .../webspeech/synth/SpeechSynthesisVoice.h | 2 +- dom/media/wmf/WMFByteStream.h | 2 +- dom/mobileconnection/MobileCellInfo.h | 2 +- dom/mobileconnection/MobileConnection.cpp | 2 +- dom/mobileconnection/MobileConnection.h | 4 +- dom/mobileconnection/MobileConnectionArray.h | 2 +- dom/mobileconnection/MobileConnectionInfo.h | 2 +- dom/mobileconnection/MobileNetworkInfo.h | 2 +- .../ipc/MobileConnectionChild.h | 2 +- dom/mobilemessage/MobileMessageManager.h | 2 +- dom/mobilemessage/ipc/SmsIPCService.h | 6 +- dom/network/Connection.h | 4 +- dom/network/UDPSocket.h | 4 +- dom/nfc/MozNDEFRecord.h | 2 +- dom/nfc/gonk/NfcService.h | 2 +- dom/notification/DesktopNotification.h | 2 +- dom/offline/nsDOMOfflineResourceList.h | 8 +- dom/plugins/base/nsPluginHost.h | 6 +- dom/plugins/base/nsPluginInstanceOwner.h | 6 +- dom/plugins/ipc/PluginModuleParent.cpp | 2 +- dom/power/PowerManager.h | 2 +- dom/presentation/PresentationDeviceManager.h | 6 +- dom/quota/QuotaManager.cpp | 4 +- dom/quota/QuotaManager.h | 2 +- dom/quota/nsIOfflineStorage.h | 10 +- dom/requestsync/RequestSyncWifiService.h | 2 +- dom/security/nsCORSListenerProxy.cpp | 4 +- dom/security/nsCORSListenerProxy.h | 6 +- dom/security/nsCSPContext.h | 2 +- dom/smil/TimeEvent.h | 2 +- dom/smil/nsSMILAnimationController.h | 2 +- dom/storage/DOMStorageIPC.h | 4 +- dom/svg/DOMSVGAnimatedNumberList.h | 2 +- dom/svg/DOMSVGLength.h | 2 +- dom/svg/DOMSVGLengthList.h | 2 +- dom/svg/DOMSVGNumber.h | 2 +- dom/svg/DOMSVGNumberList.h | 2 +- dom/svg/DOMSVGPathSeg.h | 8 +- dom/svg/DOMSVGPathSegList.h | 2 +- dom/svg/DOMSVGPointList.h | 2 +- dom/svg/DOMSVGStringList.h | 2 +- dom/svg/DOMSVGTransformList.h | 2 +- dom/svg/SVGAElement.h | 2 +- dom/svg/SVGAnimatedPreserveAspectRatio.h | 2 +- dom/svg/SVGMPathElement.h | 2 +- dom/svg/SVGPreserveAspectRatio.h | 2 +- dom/svg/SVGScriptElement.h | 2 +- dom/svg/SVGStyleElement.h | 4 +- dom/svg/SVGSymbolElement.h | 2 +- dom/svg/SVGTitleElement.h | 2 +- dom/svg/SVGUseElement.h | 2 +- dom/system/gonk/AudioManager.h | 2 +- dom/system/gonk/SystemWorkerManager.h | 4 +- dom/system/gonk/nsVolumeMountLock.h | 4 +- dom/system/gonk/nsVolumeService.h | 2 +- dom/telephony/CallsList.h | 2 +- dom/telephony/MMICall.h | 2 +- dom/telephony/Telephony.h | 2 +- dom/telephony/TelephonyCallId.h | 2 +- dom/telephony/TelephonyDialCallback.h | 2 +- dom/telephony/USSDSession.h | 2 +- dom/telephony/ipc/TelephonyIPCService.h | 4 +- dom/time/TimeManager.h | 2 +- dom/tv/TVProgram.h | 2 +- dom/voicemail/Voicemail.h | 2 +- dom/voicemail/VoicemailStatus.h | 2 +- dom/voicemail/ipc/VoicemailIPCService.h | 2 +- dom/voicemail/ipc/VoicemailParent.h | 2 +- dom/wifi/WifiCertService.h | 2 +- dom/workers/DataStore.h | 2 +- dom/workers/ScriptLoader.cpp | 4 +- dom/workers/ServiceWorkerClients.h | 2 +- dom/workers/ServiceWorkerManager.cpp | 2 +- dom/workers/WorkerScope.cpp | 4 +- dom/workers/WorkerScope.h | 2 +- dom/workers/XMLHttpRequest.cpp | 2 +- dom/workers/XMLHttpRequest.h | 2 +- dom/xbl/nsXBLService.cpp | 2 +- dom/xml/CDATASection.h | 2 +- dom/xslt/xpath/XPathResult.h | 4 +- dom/xslt/xslt/txMozillaStylesheetCompiler.cpp | 6 +- dom/xslt/xslt/txMozillaXMLOutput.h | 2 +- dom/xslt/xslt/txMozillaXSLTProcessor.h | 8 +- dom/xslt/xslt/txStylesheetCompiler.h | 2 +- dom/xul/XULDocument.h | 10 +- dom/xul/nsXULContentSink.h | 2 +- dom/xul/nsXULElement.cpp | 2 +- dom/xul/nsXULElement.h | 2 +- .../nsXULTemplateQueryProcessorRDF.h | 2 +- .../nsXULTemplateQueryProcessorXML.h | 2 +- editor/composer/nsEditingSession.h | 4 +- editor/libeditor/nsHTMLEditor.h | 16 +-- editor/txmgr/nsTransactionManager.h | 2 +- editor/txtsvc/nsTextServicesDocument.h | 2 +- embedding/browser/nsDocShellTreeOwner.h | 12 +- embedding/browser/nsWebBrowser.h | 26 ++-- .../printingui/ipc/PrintProgressDialogChild.h | 4 +- .../ipc/PrintProgressDialogParent.h | 2 +- extensions/cookie/nsPermissionManager.h | 4 +- extensions/gio/nsGIOProtocolHandler.cpp | 2 +- extensions/permissions/nsContentBlocker.h | 4 +- .../spellcheck/hunspell/src/mozHunspell.h | 6 +- .../spellcheck/src/mozInlineSpellChecker.h | 6 +- .../spellcheck/src/mozPersonalDictionary.h | 4 +- gfx/2d/ExtendInputEffectD2D1.h | 2 +- gfx/2d/RadialGradientEffectD2D1.h | 2 +- gfx/layers/client/ClientPaintedLayer.h | 2 +- gfx/layers/client/ClientTiledPaintedLayer.h | 2 +- gfx/layers/client/ContentClient.h | 2 +- gfx/layers/composite/PaintedLayerComposite.h | 2 +- gfx/layers/ipc/CompositorParent.cpp | 2 +- gfx/layers/ipc/CompositorParent.h | 2 +- gfx/layers/ipc/ImageBridgeChild.h | 4 +- gfx/layers/ipc/ImageBridgeParent.h | 2 +- gfx/layers/opengl/TextureHostOGL.h | 4 +- gfx/thebes/gfxAndroidPlatform.cpp | 2 +- gfx/thebes/gfxPlatform.cpp | 2 +- image/decoders/icon/nsIconURI.h | 2 +- image/src/RasterImage.h | 6 +- image/src/SVGDocumentWrapper.h | 4 +- image/src/VectorImage.h | 2 +- image/src/imgLoader.h | 8 +- image/src/imgRequest.h | 8 +- ipc/bluetooth/BluetoothDaemonConnection.cpp | 2 +- ipc/glue/MessagePump.cpp | 2 +- .../nsIIPCBackgroundChildCreateCallback.h | 10 +- ipc/glue/nsIIPCSerializableInputStream.h | 10 +- ipc/unixsocket/ListenSocket.cpp | 2 +- ipc/unixsocket/StreamSocket.cpp | 4 +- ipc/unixsocket/UnixSocket.cpp | 2 +- js/src/jit/MIR.h | 12 +- js/src/jsapi-tests/tests.h | 4 +- js/xpconnect/src/xpcprivate.h | 8 +- layout/base/SelectionCarets.h | 6 +- layout/base/nsDocumentViewer.cpp | 8 +- layout/base/nsLayoutHistoryState.cpp | 2 +- layout/base/nsPresShell.h | 7 +- layout/base/nsRefreshDriver.h | 3 +- layout/forms/nsColorControlFrame.h | 2 +- layout/forms/nsComboboxControlFrame.h | 12 +- layout/forms/nsListControlFrame.h | 6 +- layout/forms/nsNumberControlFrame.h | 4 +- layout/forms/nsTextControlFrame.h | 6 +- layout/generic/ScrollbarActivity.h | 3 +- layout/generic/Selection.h | 4 +- layout/generic/nsBulletFrame.h | 2 +- layout/generic/nsCanvasFrame.h | 4 +- layout/generic/nsGfxScrollFrame.h | 7 +- layout/generic/nsImageFrame.h | 3 +- layout/generic/nsImageMap.h | 2 +- layout/ipc/VsyncParent.h | 2 +- layout/printing/nsPagePrintTimer.h | 2 +- layout/printing/nsPrintEngine.h | 4 +- layout/style/CSSStyleSheet.h | 6 +- layout/style/FontFace.h | 2 +- layout/style/FontFaceSet.h | 4 +- layout/style/ImageLoader.h | 3 +- layout/style/ImportRule.h | 2 +- layout/style/MediaQueryList.h | 4 +- layout/style/NameSpaceRule.h | 2 +- layout/style/nsCSSRules.h | 21 ++- layout/style/nsDOMCSSValueList.h | 2 +- layout/style/nsICSSDeclaration.h | 4 +- layout/style/nsIMediaList.h | 2 +- layout/style/nsROCSSPrimitiveValue.h | 2 +- layout/svg/nsSVGOuterSVGFrame.h | 2 +- layout/xul/ListBoxObject.h | 2 +- layout/xul/grid/nsGridLayout2.h | 2 +- layout/xul/nsImageBoxFrame.h | 2 +- layout/xul/nsListBoxBodyFrame.h | 4 +- layout/xul/nsMenuPopupFrame.h | 2 +- layout/xul/nsXULPopupManager.h | 6 +- layout/xul/tree/TreeBoxObject.h | 2 +- layout/xul/tree/nsTreeColumns.h | 4 +- layout/xul/tree/nsTreeContentView.h | 4 +- .../gmp-clearkey/0.1/ClearKeySessionManager.h | 2 +- media/mtransport/transportflow.h | 2 +- .../signaling/src/jsep/JsepCodecDescription.h | 2 +- .../src/peerconnection/PeerConnectionImpl.h | 8 +- .../desktop_and_cursor_composer.h | 4 +- .../components/build/nsAndroidHistory.h | 4 +- modules/libjar/nsJARChannel.h | 12 +- modules/libjar/nsJARProtocolHandler.h | 2 +- modules/libjar/nsJARURI.h | 8 +- modules/libjar/zipwriter/nsZipWriter.h | 2 +- modules/libpref/Preferences.cpp | 2 +- modules/libpref/Preferences.h | 6 +- netwerk/base/ProxyAutoConfig.cpp | 2 +- netwerk/base/nsAsyncRedirectVerifyHelper.h | 2 +- netwerk/base/nsAsyncStreamCopier.h | 2 +- netwerk/base/nsIOService.h | 8 +- netwerk/base/nsInputStreamPump.h | 4 +- netwerk/base/nsPACMan.h | 6 +- netwerk/base/nsProtocolProxyService.cpp | 4 +- netwerk/base/nsProtocolProxyService.h | 2 +- netwerk/base/nsSocketTransport2.h | 8 +- netwerk/base/nsSocketTransportService2.h | 8 +- netwerk/base/nsStreamListenerWrapper.h | 2 +- netwerk/base/nsStreamLoader.h | 2 +- netwerk/base/nsStreamTransportService.h | 4 +- netwerk/base/nsSyncStreamListener.h | 2 +- netwerk/base/nsUDPSocket.h | 2 +- netwerk/cache/nsCacheService.h | 2 +- netwerk/cache/nsDiskCacheDeviceSQL.h | 2 +- netwerk/cache2/CacheEntry.h | 4 +- netwerk/cache2/CacheStorageService.h | 4 +- netwerk/cookie/nsCookieService.h | 8 +- netwerk/dns/nsDNSService2.cpp | 2 +- netwerk/dns/nsDNSService2.h | 4 +- netwerk/protocol/ftp/FTPChannelParent.h | 10 +- netwerk/protocol/ftp/nsFtpConnectionThread.h | 10 +- netwerk/protocol/ftp/nsFtpProtocolHandler.h | 4 +- netwerk/protocol/http/Http2Session.h | 6 +- netwerk/protocol/http/HttpChannelChild.h | 20 +-- netwerk/protocol/http/SpdySession31.h | 6 +- netwerk/protocol/http/SpdyStream31.h | 2 +- netwerk/protocol/http/nsAHttpConnection.h | 35 +++-- netwerk/protocol/http/nsHttpChannel.cpp | 2 +- netwerk/protocol/http/nsHttpChannel.h | 26 ++-- netwerk/protocol/http/nsHttpConnection.h | 12 +- netwerk/protocol/http/nsHttpConnectionMgr.h | 6 +- netwerk/protocol/http/nsHttpHandler.h | 6 +- netwerk/protocol/http/nsHttpPipeline.h | 4 +- netwerk/protocol/http/nsHttpTransaction.h | 6 +- .../protocol/rtsp/controller/RtspController.h | 2 +- .../protocol/viewsource/nsViewSourceChannel.h | 12 +- .../streamconv/converters/nsMultiMixedConv.h | 6 +- netwerk/test/TestIncrementalDownload.cpp | 2 +- parser/html/nsHtml5Parser.h | 2 +- parser/html/nsHtml5TreeOpExecutor.h | 6 +- parser/html/nsParserUtils.h | 2 +- parser/htmlparser/nsParser.h | 4 +- parser/xml/nsSAXXMLReader.h | 4 +- rdf/base/nsRDFService.h | 2 +- security/manager/ssl/src/PSMContentListener.h | 3 +- .../manager/ssl/src/nsCertOverrideService.h | 4 +- .../manager/ssl/src/nsClientAuthRemember.h | 2 +- security/manager/ssl/src/nsNSSCertificate.h | 6 +- security/manager/ssl/src/nsNSSCertificateDB.h | 2 +- security/manager/ssl/src/nsNSSComponent.h | 6 +- security/manager/ssl/src/nsNSSIOLayer.h | 4 +- security/manager/ssl/src/nsRandomGenerator.h | 2 +- storage/src/mozStorageAsyncStatement.h | 2 +- .../src/mozStorageAsyncStatementExecution.h | 2 +- storage/src/mozStorageAsyncStatementParams.h | 2 +- storage/src/mozStorageConnection.h | 2 +- storage/src/mozStorageStatement.h | 4 +- storage/src/mozStorageStatementParams.h | 2 +- storage/src/mozStorageStatementRow.h | 2 +- .../autocomplete/nsAutoCompleteController.h | 6 +- .../diskspacewatcher/DiskSpaceWatcher.h | 2 +- .../components/downloads/nsDownloadManager.h | 6 +- .../filewatcher/NativeFileWatcherWin.h | 2 +- toolkit/components/places/Database.h | 2 +- toolkit/components/places/History.cpp | 4 +- toolkit/components/places/History.h | 8 +- .../components/places/nsAnnotationService.h | 4 +- toolkit/components/places/nsFaviconService.h | 4 +- toolkit/components/places/nsNavBookmarks.h | 8 +- toolkit/components/places/nsNavHistory.h | 10 +- .../components/places/nsNavHistoryResult.h | 16 +-- .../components/satchel/nsFormFillController.h | 10 +- toolkit/components/startup/nsAppStartup.h | 6 +- .../nsUrlClassifierDBService.cpp | 2 +- .../url-classifier/nsUrlClassifierDBService.h | 4 +- .../nsUrlClassifierStreamUpdater.h | 10 +- .../linux/elf_symbols_to_module_unittest.cc | 2 +- toolkit/xre/nsXREDirProvider.h | 2 +- uriloader/base/nsURILoader.cpp | 2 +- .../exthandler/nsExternalHelperAppService.h | 6 +- uriloader/prefetch/OfflineCacheUpdateGlue.h | 4 +- uriloader/prefetch/nsOfflineCacheUpdate.cpp | 4 +- uriloader/prefetch/nsOfflineCacheUpdate.h | 12 +- .../prefetch/nsOfflineCacheUpdateService.cpp | 2 +- uriloader/prefetch/nsPrefetchService.h | 12 +- widget/android/nsAndroidProtocolHandler.h | 2 +- widget/gonk/nativewindow/GonkBufferQueueKK.h | 5 +- widget/gtk/nsDragService.h | 2 +- widget/nsColorPickerProxy.h | 2 +- widget/nsScreenManagerProxy.h | 2 +- widget/windows/nsTextStore.cpp | 2 +- widget/windows/nsTextStore.h | 4 +- xpcom/base/nsIStatusReporter.idl | 8 +- xpcom/glue/nsCycleCollectionParticipant.h | 59 +++++---- xpcom/glue/nsISupportsImpl.h | 18 +-- xpcom/io/SnappyCompressOutputStream.h | 2 +- xpcom/io/SnappyUncompressInputStream.h | 2 +- xpcom/tests/TestCallTemplates.cpp | 2 +- xpcom/tests/TestObserverService.cpp | 2 +- xpfe/appshell/nsAppShellService.cpp | 3 +- xpfe/appshell/nsAppShellService.h | 2 +- xpfe/appshell/nsContentTreeOwner.h | 8 +- xpfe/appshell/nsWebShellWindow.h | 4 +- xpfe/components/directory/nsDirectoryViewer.h | 10 +- xpfe/components/windowds/nsWindowDataSource.h | 6 +- 471 files changed, 1075 insertions(+), 1071 deletions(-) diff --git a/accessible/base/NotificationController.h b/accessible/base/NotificationController.h index 24af2af261f..d4f7c98208b 100644 --- a/accessible/base/NotificationController.h +++ b/accessible/base/NotificationController.h @@ -86,7 +86,7 @@ private: * Used to process notifications from core for the document accessible. */ class NotificationController final : public EventQueue, - public nsARefreshObserver + public nsARefreshObserver { public: NotificationController(DocAccessible* aDocument, nsIPresShell* aPresShell); diff --git a/accessible/base/nsAccessibilityService.h b/accessible/base/nsAccessibilityService.h index 44678e4a359..75091fc216b 100644 --- a/accessible/base/nsAccessibilityService.h +++ b/accessible/base/nsAccessibilityService.h @@ -64,10 +64,10 @@ struct MarkupMapInfo { } // namespace mozilla class nsAccessibilityService final : public mozilla::a11y::DocManager, - public mozilla::a11y::FocusManager, - public mozilla::a11y::SelectionManager, - public nsIAccessibilityService, - public nsIObserver + public mozilla::a11y::FocusManager, + public mozilla::a11y::SelectionManager, + public nsIAccessibilityService, + public nsIObserver { public: typedef mozilla::a11y::Accessible Accessible; diff --git a/accessible/windows/msaa/IUnknownImpl.h b/accessible/windows/msaa/IUnknownImpl.h index cb2565776e3..dbf6c1374ff 100644 --- a/accessible/windows/msaa/IUnknownImpl.h +++ b/accessible/windows/msaa/IUnknownImpl.h @@ -51,13 +51,13 @@ private: #define DECL_IUNKNOWN \ public: \ virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID, void**); \ - virtual ULONG STDMETHODCALLTYPE AddRef() final \ + virtual ULONG STDMETHODCALLTYPE AddRef() final \ { \ MOZ_ASSERT(int32_t(mRefCnt) >= 0, "illegal refcnt"); \ ++mRefCnt; \ return mRefCnt; \ } \ - virtual ULONG STDMETHODCALLTYPE Release() final \ + virtual ULONG STDMETHODCALLTYPE Release() final \ { \ MOZ_ASSERT(int32_t(mRefCnt) > 0, "dup release"); \ --mRefCnt; \ diff --git a/accessible/windows/uia/uiaRawElmProvider.h b/accessible/windows/uia/uiaRawElmProvider.h index cb10779c137..ba0921530a7 100644 --- a/accessible/windows/uia/uiaRawElmProvider.h +++ b/accessible/windows/uia/uiaRawElmProvider.h @@ -21,7 +21,7 @@ class AccessibleWrap; * IRawElementProviderSimple implementation (maintains IAccessibleEx approach). */ class uiaRawElmProvider final : public IAccessibleEx, - public IRawElementProviderSimple + public IRawElementProviderSimple { public: uiaRawElmProvider(AccessibleWrap* aAcc) : mAcc(aAcc) { } diff --git a/browser/components/feeds/nsFeedSniffer.h b/browser/components/feeds/nsFeedSniffer.h index 57e10d954d0..fce66773bb1 100644 --- a/browser/components/feeds/nsFeedSniffer.h +++ b/browser/components/feeds/nsFeedSniffer.h @@ -10,7 +10,7 @@ #include "mozilla/Attributes.h" class nsFeedSniffer final : public nsIContentSniffer, - nsIStreamListener + nsIStreamListener { public: NS_DECL_ISUPPORTS diff --git a/caps/nsNullPrincipalURI.h b/caps/nsNullPrincipalURI.h index 1837fcaa618..6fb0b02d645 100644 --- a/caps/nsNullPrincipalURI.h +++ b/caps/nsNullPrincipalURI.h @@ -25,8 +25,8 @@ {0xb9, 0x1b, 0x6b, 0x54, 0x10, 0x22, 0x36, 0xe6} } class nsNullPrincipalURI final : public nsIURI - , public nsISizeOf - , public nsIIPCSerializableURI + , public nsISizeOf + , public nsIIPCSerializableURI { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/caps/nsScriptSecurityManager.h b/caps/nsScriptSecurityManager.h index 646114d211d..da9b3a29908 100644 --- a/caps/nsScriptSecurityManager.h +++ b/caps/nsScriptSecurityManager.h @@ -33,8 +33,8 @@ class ClassInfoData; { 0xba, 0x18, 0x00, 0x60, 0xb0, 0xf1, 0x99, 0xa2 }} class nsScriptSecurityManager final : public nsIScriptSecurityManager, - public nsIChannelEventSink, - public nsIObserver + public nsIChannelEventSink, + public nsIObserver { public: static void Shutdown(); diff --git a/chrome/nsChromeProtocolHandler.h b/chrome/nsChromeProtocolHandler.h index 0d86b009db4..42c3f52be05 100644 --- a/chrome/nsChromeProtocolHandler.h +++ b/chrome/nsChromeProtocolHandler.h @@ -19,7 +19,7 @@ } class nsChromeProtocolHandler final : public nsIProtocolHandler, - public nsSupportsWeakReference + public nsSupportsWeakReference { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/docshell/shistory/src/nsSHEntry.h b/docshell/shistory/src/nsSHEntry.h index cc00572035f..19e3827faa4 100644 --- a/docshell/shistory/src/nsSHEntry.h +++ b/docshell/shistory/src/nsSHEntry.h @@ -23,8 +23,8 @@ class nsIInputStream; class nsIURI; class nsSHEntry final : public nsISHEntry, - public nsISHContainer, - public nsISHEntryInternal + public nsISHContainer, + public nsISHEntryInternal { public: nsSHEntry(); diff --git a/docshell/shistory/src/nsSHEntryShared.h b/docshell/shistory/src/nsSHEntryShared.h index 1e7a2e67775..6559fa51634 100644 --- a/docshell/shistory/src/nsSHEntryShared.h +++ b/docshell/shistory/src/nsSHEntryShared.h @@ -31,7 +31,7 @@ class nsISupportsArray; // // nsSHEntryShared is the vehicle for this sharing. class nsSHEntryShared final : public nsIBFCacheEntry, - public nsIMutationObserver + public nsIMutationObserver { public: static void EnsureHistoryTracker(); diff --git a/docshell/shistory/src/nsSHistory.h b/docshell/shistory/src/nsSHistory.h index 71237cfd334..36af8855f68 100644 --- a/docshell/shistory/src/nsSHistory.h +++ b/docshell/shistory/src/nsSHistory.h @@ -28,9 +28,9 @@ class nsISHEntry; class nsISHTransaction; class nsSHistory final : public PRCList, - public nsISHistory, - public nsISHistoryInternal, - public nsIWebNavigation + public nsISHistory, + public nsISHistoryInternal, + public nsIWebNavigation { public: nsSHistory(); diff --git a/dom/archivereader/ArchiveReader.h b/dom/archivereader/ArchiveReader.h index b84cc3c03f3..31a75b3dd97 100644 --- a/dom/archivereader/ArchiveReader.h +++ b/dom/archivereader/ArchiveReader.h @@ -33,7 +33,7 @@ class ArchiveRequest; * This is the ArchiveReader object */ class ArchiveReader final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/archivereader/ArchiveZipFile.cpp b/dom/archivereader/ArchiveZipFile.cpp index 13e804b403a..0866503d32d 100644 --- a/dom/archivereader/ArchiveZipFile.cpp +++ b/dom/archivereader/ArchiveZipFile.cpp @@ -21,7 +21,7 @@ USING_ARCHIVEREADER_NAMESPACE * Input stream object for zip files */ class ArchiveInputStream final : public nsIInputStream, - public nsISeekableStream + public nsISeekableStream { public: ArchiveInputStream(uint64_t aParentSize, diff --git a/dom/asmjscache/AsmJSCache.cpp b/dom/asmjscache/AsmJSCache.cpp index c4dcc6987b3..dbe07f4413d 100644 --- a/dom/asmjscache/AsmJSCache.cpp +++ b/dom/asmjscache/AsmJSCache.cpp @@ -1108,7 +1108,7 @@ FindHashMatch(const Metadata& aMetadata, const ReadParams& aReadParams, // A runnable that executes for a cache access originating in the main process. class SingleProcessRunnable final : public File, - private MainProcessRunnable + private MainProcessRunnable { public: // In the single-process case, the calling JS compilation thread holds the @@ -1186,7 +1186,7 @@ private: // in the content process. This runnable gets registered as an IPDL subprotocol // actor so that it can communicate with the corresponding ChildProcessRunnable. class ParentProcessRunnable final : public PAsmJSCacheEntryParent, - public MainProcessRunnable + public MainProcessRunnable { public: // The given principal comes from an IPC::Principal which will be dec-refed @@ -1357,7 +1357,7 @@ DeallocEntryParent(PAsmJSCacheEntryParent* aActor) namespace { class ChildProcessRunnable final : public File, - public PAsmJSCacheEntryChild + public PAsmJSCacheEntryChild { public: NS_DECL_NSIRUNNABLE diff --git a/dom/base/Attr.h b/dom/base/Attr.h index 3716c4ba66e..6b36e51aca7 100644 --- a/dom/base/Attr.h +++ b/dom/base/Attr.h @@ -29,7 +29,7 @@ namespace dom { // Attribute helper class used to wrap up an attribute with a dom // object that implements nsIDOMAttr and nsIDOMNode class Attr final : public nsIAttribute, - public nsIDOMAttr + public nsIDOMAttr { virtual ~Attr() {} diff --git a/dom/base/Comment.h b/dom/base/Comment.h index 572169704cd..d13fc1d00ba 100644 --- a/dom/base/Comment.h +++ b/dom/base/Comment.h @@ -14,7 +14,7 @@ namespace mozilla { namespace dom { class Comment final : public nsGenericDOMDataNode, - public nsIDOMComment + public nsIDOMComment { private: void Init() diff --git a/dom/base/Console.h b/dom/base/Console.h index 67ca8ff3595..0c0a356382b 100644 --- a/dom/base/Console.h +++ b/dom/base/Console.h @@ -26,7 +26,7 @@ class ConsoleCallData; struct ConsoleStackEntry; class Console final : public nsIObserver - , public nsWrapperCache + , public nsWrapperCache { ~Console(); diff --git a/dom/base/DOMImplementation.h b/dom/base/DOMImplementation.h index 4cbf44fa27e..8b2a1914393 100644 --- a/dom/base/DOMImplementation.h +++ b/dom/base/DOMImplementation.h @@ -25,7 +25,7 @@ namespace dom { class DocumentType; class DOMImplementation final : public nsIDOMDOMImplementation - , public nsWrapperCache + , public nsWrapperCache { ~DOMImplementation() { diff --git a/dom/base/DOMParser.h b/dom/base/DOMParser.h index 9ee16934c6c..b4adeffefec 100644 --- a/dom/base/DOMParser.h +++ b/dom/base/DOMParser.h @@ -21,8 +21,8 @@ namespace mozilla { namespace dom { class DOMParser final : public nsIDOMParser, - public nsSupportsWeakReference, - public nsWrapperCache + public nsSupportsWeakReference, + public nsWrapperCache { typedef mozilla::dom::GlobalObject GlobalObject; diff --git a/dom/base/DOMRect.h b/dom/base/DOMRect.h index fb7dfaeff1e..d0e94e54a12 100644 --- a/dom/base/DOMRect.h +++ b/dom/base/DOMRect.h @@ -76,7 +76,7 @@ protected: }; class DOMRect final : public DOMRectReadOnly - , public nsIDOMClientRect + , public nsIDOMClientRect { public: explicit DOMRect(nsISupports* aParent, double aX = 0, double aY = 0, @@ -147,7 +147,7 @@ private: }; class DOMRectList final : public nsIDOMClientRectList, - public nsWrapperCache + public nsWrapperCache { ~DOMRectList() {} diff --git a/dom/base/Element.h b/dom/base/Element.h index 8044541db0c..100243f496e 100644 --- a/dom/base/Element.h +++ b/dom/base/Element.h @@ -1467,45 +1467,44 @@ _elementName::Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult) const #define NS_FORWARD_NSIDOMELEMENT_TO_GENERIC \ typedef mozilla::dom::Element Element; \ -NS_IMETHOD GetTagName(nsAString& aTagName) final override \ +NS_IMETHOD GetTagName(nsAString& aTagName) final override \ { \ Element::GetTagName(aTagName); \ return NS_OK; \ } \ -NS_IMETHOD GetId(nsAString& aId) final override \ +NS_IMETHOD GetId(nsAString& aId) final override \ { \ Element::GetId(aId); \ return NS_OK; \ } \ -NS_IMETHOD SetId(const nsAString& aId) final override \ +NS_IMETHOD SetId(const nsAString& aId) final override \ { \ Element::SetId(aId); \ return NS_OK; \ } \ -NS_IMETHOD GetClassName(nsAString& aClassName) final override \ +NS_IMETHOD GetClassName(nsAString& aClassName) final override \ { \ Element::GetClassName(aClassName); \ return NS_OK; \ } \ -NS_IMETHOD SetClassName(const nsAString& aClassName) final override \ +NS_IMETHOD SetClassName(const nsAString& aClassName) final override \ { \ Element::SetClassName(aClassName); \ return NS_OK; \ } \ -NS_IMETHOD GetClassList(nsISupports** aClassList) final override \ +NS_IMETHOD GetClassList(nsISupports** aClassList) final override \ { \ Element::GetClassList(aClassList); \ return NS_OK; \ } \ -NS_IMETHOD GetAttributes(nsIDOMMozNamedAttrMap** aAttributes) final \ - override \ +NS_IMETHOD GetAttributes(nsIDOMMozNamedAttrMap** aAttributes) final override \ { \ NS_ADDREF(*aAttributes = Attributes()); \ return NS_OK; \ } \ using Element::GetAttribute; \ -NS_IMETHOD GetAttribute(const nsAString& name, nsAString& _retval) final \ - override \ +NS_IMETHOD GetAttribute(const nsAString& name, nsAString& _retval) final \ + override \ { \ nsString attr; \ GetAttribute(name, attr); \ @@ -1514,13 +1513,13 @@ NS_IMETHOD GetAttribute(const nsAString& name, nsAString& _retval) final \ } \ NS_IMETHOD GetAttributeNS(const nsAString& namespaceURI, \ const nsAString& localName, \ - nsAString& _retval) final override \ + nsAString& _retval) final override \ { \ Element::GetAttributeNS(namespaceURI, localName, _retval); \ return NS_OK; \ } \ NS_IMETHOD SetAttribute(const nsAString& name, \ - const nsAString& value) override \ + const nsAString& value) override \ { \ mozilla::ErrorResult rv; \ Element::SetAttribute(name, value, rv); \ @@ -1528,22 +1527,21 @@ NS_IMETHOD SetAttribute(const nsAString& name, \ } \ NS_IMETHOD SetAttributeNS(const nsAString& namespaceURI, \ const nsAString& qualifiedName, \ - const nsAString& value) final override \ + const nsAString& value) final override \ { \ mozilla::ErrorResult rv; \ Element::SetAttributeNS(namespaceURI, qualifiedName, value, rv); \ return rv.ErrorCode(); \ } \ using Element::RemoveAttribute; \ -NS_IMETHOD RemoveAttribute(const nsAString& name) final override \ +NS_IMETHOD RemoveAttribute(const nsAString& name) final override \ { \ mozilla::ErrorResult rv; \ RemoveAttribute(name, rv); \ return rv.ErrorCode(); \ } \ NS_IMETHOD RemoveAttributeNS(const nsAString& namespaceURI, \ - const nsAString& localName) final \ - override \ + const nsAString& localName) final override \ { \ mozilla::ErrorResult rv; \ Element::RemoveAttributeNS(namespaceURI, localName, rv); \ @@ -1551,31 +1549,31 @@ NS_IMETHOD RemoveAttributeNS(const nsAString& namespaceURI, \ } \ using Element::HasAttribute; \ NS_IMETHOD HasAttribute(const nsAString& name, \ - bool* _retval) final override \ + bool* _retval) final override \ { \ *_retval = HasAttribute(name); \ return NS_OK; \ } \ NS_IMETHOD HasAttributeNS(const nsAString& namespaceURI, \ const nsAString& localName, \ - bool* _retval) final override \ + bool* _retval) final override \ { \ *_retval = Element::HasAttributeNS(namespaceURI, localName); \ return NS_OK; \ } \ -NS_IMETHOD HasAttributes(bool* _retval) final override \ +NS_IMETHOD HasAttributes(bool* _retval) final override \ { \ *_retval = Element::HasAttributes(); \ return NS_OK; \ } \ NS_IMETHOD GetAttributeNode(const nsAString& name, \ - nsIDOMAttr** _retval) final override \ + nsIDOMAttr** _retval) final override \ { \ NS_IF_ADDREF(*_retval = Element::GetAttributeNode(name)); \ return NS_OK; \ } \ NS_IMETHOD SetAttributeNode(nsIDOMAttr* newAttr, \ - nsIDOMAttr** _retval) final override \ + nsIDOMAttr** _retval) final override \ { \ if (!newAttr) { \ return NS_ERROR_INVALID_POINTER; \ @@ -1586,7 +1584,7 @@ NS_IMETHOD SetAttributeNode(nsIDOMAttr* newAttr, \ return rv.ErrorCode(); \ } \ NS_IMETHOD RemoveAttributeNode(nsIDOMAttr* oldAttr, \ - nsIDOMAttr** _retval) final override \ + nsIDOMAttr** _retval) final override \ { \ if (!oldAttr) { \ return NS_ERROR_INVALID_POINTER; \ @@ -1598,14 +1596,14 @@ NS_IMETHOD RemoveAttributeNode(nsIDOMAttr* oldAttr, \ } \ NS_IMETHOD GetAttributeNodeNS(const nsAString& namespaceURI, \ const nsAString& localName, \ - nsIDOMAttr** _retval) final override \ + nsIDOMAttr** _retval) final override \ { \ NS_IF_ADDREF(*_retval = Element::GetAttributeNodeNS(namespaceURI, \ localName)); \ return NS_OK; \ } \ NS_IMETHOD SetAttributeNodeNS(nsIDOMAttr* newAttr, \ - nsIDOMAttr** _retval) final override \ + nsIDOMAttr** _retval) final override \ { \ mozilla::ErrorResult rv; \ mozilla::dom::Attr* attr = static_cast(newAttr); \ @@ -1613,34 +1611,33 @@ NS_IMETHOD SetAttributeNodeNS(nsIDOMAttr* newAttr, \ return rv.ErrorCode(); \ } \ NS_IMETHOD GetElementsByTagName(const nsAString& name, \ - nsIDOMHTMLCollection** _retval) final \ - override \ + nsIDOMHTMLCollection** _retval) final \ + override \ { \ Element::GetElementsByTagName(name, _retval); \ return NS_OK; \ } \ NS_IMETHOD GetElementsByTagNameNS(const nsAString& namespaceURI, \ const nsAString& localName, \ - nsIDOMHTMLCollection** _retval) final \ - override\ + nsIDOMHTMLCollection** _retval) final \ + override \ { \ return Element::GetElementsByTagNameNS(namespaceURI, localName, \ _retval); \ } \ NS_IMETHOD GetElementsByClassName(const nsAString& classes, \ - nsIDOMHTMLCollection** _retval) final \ - override\ + nsIDOMHTMLCollection** _retval) final \ + override \ { \ return Element::GetElementsByClassName(classes, _retval); \ } \ -NS_IMETHOD GetChildElements(nsIDOMNodeList** aChildElements) final \ - override \ +NS_IMETHOD GetChildElements(nsIDOMNodeList** aChildElements) final override \ { \ nsIHTMLCollection* list = FragmentOrElement::Children(); \ return CallQueryInterface(list, aChildElements); \ } \ -NS_IMETHOD GetFirstElementChild(nsIDOMElement** aFirstElementChild) final \ - override \ +NS_IMETHOD GetFirstElementChild(nsIDOMElement** aFirstElementChild) final \ + override \ { \ Element* element = Element::GetFirstElementChild(); \ if (!element) { \ @@ -1649,8 +1646,8 @@ NS_IMETHOD GetFirstElementChild(nsIDOMElement** aFirstElementChild) final \ } \ return CallQueryInterface(element, aFirstElementChild); \ } \ -NS_IMETHOD GetLastElementChild(nsIDOMElement** aLastElementChild) final \ - override \ +NS_IMETHOD GetLastElementChild(nsIDOMElement** aLastElementChild) final \ + override \ { \ Element* element = Element::GetLastElementChild(); \ if (!element) { \ @@ -1660,7 +1657,7 @@ NS_IMETHOD GetLastElementChild(nsIDOMElement** aLastElementChild) final \ return CallQueryInterface(element, aLastElementChild); \ } \ NS_IMETHOD GetPreviousElementSibling(nsIDOMElement** aPreviousElementSibling) \ - final override \ + final override \ { \ Element* element = Element::GetPreviousElementSibling(); \ if (!element) { \ @@ -1670,7 +1667,7 @@ NS_IMETHOD GetPreviousElementSibling(nsIDOMElement** aPreviousElementSibling) \ return CallQueryInterface(element, aPreviousElementSibling); \ } \ NS_IMETHOD GetNextElementSibling(nsIDOMElement** aNextElementSibling) \ - final override \ + final override \ { \ Element* element = Element::GetNextElementSibling(); \ if (!element) { \ @@ -1679,126 +1676,123 @@ NS_IMETHOD GetNextElementSibling(nsIDOMElement** aNextElementSibling) \ } \ return CallQueryInterface(element, aNextElementSibling); \ } \ -NS_IMETHOD GetChildElementCount(uint32_t* aChildElementCount) final \ - override \ +NS_IMETHOD GetChildElementCount(uint32_t* aChildElementCount) final override \ { \ *aChildElementCount = Element::ChildElementCount(); \ return NS_OK; \ } \ -NS_IMETHOD MozRemove() final override \ +NS_IMETHOD MozRemove() final override \ { \ nsINode::Remove(); \ return NS_OK; \ } \ -NS_IMETHOD GetClientRects(nsIDOMClientRectList** _retval) final \ - override \ +NS_IMETHOD GetClientRects(nsIDOMClientRectList** _retval) final override \ { \ *_retval = Element::GetClientRects().take(); \ return NS_OK; \ } \ -NS_IMETHOD GetBoundingClientRect(nsIDOMClientRect** _retval) final \ - override \ +NS_IMETHOD GetBoundingClientRect(nsIDOMClientRect** _retval) final override \ { \ *_retval = Element::GetBoundingClientRect().take(); \ return NS_OK; \ } \ -NS_IMETHOD GetScrollTop(int32_t* aScrollTop) final override \ +NS_IMETHOD GetScrollTop(int32_t* aScrollTop) final override \ { \ *aScrollTop = Element::ScrollTop(); \ return NS_OK; \ } \ -NS_IMETHOD SetScrollTop(int32_t aScrollTop) final override \ +NS_IMETHOD SetScrollTop(int32_t aScrollTop) final override \ { \ Element::SetScrollTop(aScrollTop); \ return NS_OK; \ } \ -NS_IMETHOD GetScrollLeft(int32_t* aScrollLeft) final override \ +NS_IMETHOD GetScrollLeft(int32_t* aScrollLeft) final override \ { \ *aScrollLeft = Element::ScrollLeft(); \ return NS_OK; \ } \ -NS_IMETHOD SetScrollLeft(int32_t aScrollLeft) final override \ +NS_IMETHOD SetScrollLeft(int32_t aScrollLeft) final override \ { \ Element::SetScrollLeft(aScrollLeft); \ return NS_OK; \ } \ -NS_IMETHOD GetScrollWidth(int32_t* aScrollWidth) final override \ +NS_IMETHOD GetScrollWidth(int32_t* aScrollWidth) final override \ { \ *aScrollWidth = Element::ScrollWidth(); \ return NS_OK; \ } \ -NS_IMETHOD GetScrollHeight(int32_t* aScrollHeight) final override \ +NS_IMETHOD GetScrollHeight(int32_t* aScrollHeight) final override \ { \ *aScrollHeight = Element::ScrollHeight(); \ return NS_OK; \ } \ -NS_IMETHOD GetClientTop(int32_t* aClientTop) final override \ +NS_IMETHOD GetClientTop(int32_t* aClientTop) final override \ { \ *aClientTop = Element::ClientTop(); \ return NS_OK; \ } \ -NS_IMETHOD GetClientLeft(int32_t* aClientLeft) final override \ +NS_IMETHOD GetClientLeft(int32_t* aClientLeft) final override \ { \ *aClientLeft = Element::ClientLeft(); \ return NS_OK; \ } \ -NS_IMETHOD GetClientWidth(int32_t* aClientWidth) final override \ +NS_IMETHOD GetClientWidth(int32_t* aClientWidth) final override \ { \ *aClientWidth = Element::ClientWidth(); \ return NS_OK; \ } \ -NS_IMETHOD GetClientHeight(int32_t* aClientHeight) final override \ +NS_IMETHOD GetClientHeight(int32_t* aClientHeight) final override \ { \ *aClientHeight = Element::ClientHeight(); \ return NS_OK; \ } \ -NS_IMETHOD GetScrollLeftMax(int32_t* aScrollLeftMax) final override \ +NS_IMETHOD GetScrollLeftMax(int32_t* aScrollLeftMax) final override \ { \ *aScrollLeftMax = Element::ScrollLeftMax(); \ return NS_OK; \ } \ -NS_IMETHOD GetScrollTopMax(int32_t* aScrollTopMax) final override \ +NS_IMETHOD GetScrollTopMax(int32_t* aScrollTopMax) final override \ { \ *aScrollTopMax = Element::ScrollTopMax(); \ return NS_OK; \ } \ NS_IMETHOD MozMatchesSelector(const nsAString& selector, \ - bool* _retval) final override \ + bool* _retval) final override \ { \ mozilla::ErrorResult rv; \ *_retval = Element::MozMatchesSelector(selector, rv); \ return rv.ErrorCode(); \ } \ -NS_IMETHOD SetCapture(bool retargetToElement) final override \ +NS_IMETHOD SetCapture(bool retargetToElement) final override \ { \ Element::SetCapture(retargetToElement); \ return NS_OK; \ } \ -NS_IMETHOD ReleaseCapture(void) final override \ +NS_IMETHOD ReleaseCapture(void) final override \ { \ Element::ReleaseCapture(); \ return NS_OK; \ } \ -NS_IMETHOD MozRequestFullScreen(void) final override \ +NS_IMETHOD MozRequestFullScreen(void) final override \ { \ mozilla::ErrorResult rv; \ Element::MozRequestFullScreen(nullptr, JS::UndefinedHandleValue, rv); \ return rv.ErrorCode(); \ } \ -NS_IMETHOD MozRequestPointerLock(void) final override \ +NS_IMETHOD MozRequestPointerLock(void) final override \ { \ Element::MozRequestPointerLock(); \ return NS_OK; \ } \ using nsINode::QuerySelector; \ NS_IMETHOD QuerySelector(const nsAString& aSelector, \ - nsIDOMElement **aReturn) final override \ + nsIDOMElement **aReturn) final override \ { \ return nsINode::QuerySelector(aSelector, aReturn); \ } \ using nsINode::QuerySelectorAll; \ NS_IMETHOD QuerySelectorAll(const nsAString& aSelector, \ - nsIDOMNodeList **aReturn) final override \ + nsIDOMNodeList **aReturn) final override \ { \ return nsINode::QuerySelectorAll(aSelector, aReturn); \ } diff --git a/dom/base/EventSource.h b/dom/base/EventSource.h index 7086b9f3f20..6815b85f81a 100644 --- a/dom/base/EventSource.h +++ b/dom/base/EventSource.h @@ -37,11 +37,11 @@ class AsyncVerifyRedirectCallbackFwr; struct EventSourceInit; class EventSource final : public DOMEventTargetHelper - , public nsIObserver - , public nsIStreamListener - , public nsIChannelEventSink - , public nsIInterfaceRequestor - , public nsSupportsWeakReference + , public nsIObserver + , public nsIStreamListener + , public nsIChannelEventSink + , public nsIInterfaceRequestor + , public nsSupportsWeakReference { friend class AsyncVerifyRedirectCallbackFwr; diff --git a/dom/base/File.cpp b/dom/base/File.cpp index 6dfaf680a8e..dfd05f746c3 100644 --- a/dom/base/File.cpp +++ b/dom/base/File.cpp @@ -52,8 +52,8 @@ namespace dom { // from NS_NewByteInputStream is held alive as long as the // stream is. We do that by passing back this class instead. class DataOwnerAdapter final : public nsIInputStream, - public nsISeekableStream, - public nsIIPCSerializableInputStream + public nsISeekableStream, + public nsIIPCSerializableInputStream { typedef FileImplMemory::DataOwner DataOwner; public: diff --git a/dom/base/File.h b/dom/base/File.h index c8d4ac7ae23..ad704a007c2 100644 --- a/dom/base/File.h +++ b/dom/base/File.h @@ -52,10 +52,10 @@ class FileImpl; class OwningArrayBufferOrArrayBufferViewOrBlobOrString; class File final : public nsIDOMFile - , public nsIXHRSendable - , public nsIMutable - , public nsSupportsWeakReference - , public nsWrapperCache + , public nsIXHRSendable + , public nsIMutable + , public nsSupportsWeakReference + , public nsWrapperCache { public: NS_DECL_NSIDOMBLOB @@ -524,7 +524,8 @@ public: return true; } - class DataOwner final : public mozilla::LinkedListElement { + class DataOwner final : public mozilla::LinkedListElement + { public: NS_INLINE_DECL_THREADSAFE_REFCOUNTING(DataOwner) DataOwner(void* aMemoryBuffer, uint64_t aLength) @@ -814,7 +815,7 @@ private: }; class FileList final : public nsIDOMFileList, - public nsWrapperCache + public nsWrapperCache { ~FileList() {} diff --git a/dom/base/ImportManager.h b/dom/base/ImportManager.h index d63d7c84940..8d1aa77c342 100644 --- a/dom/base/ImportManager.h +++ b/dom/base/ImportManager.h @@ -62,7 +62,7 @@ class ImportManager; typedef nsTHashtable> NodeTable; class ImportLoader final : public nsIStreamListener - , public nsIDOMEventListener + , public nsIDOMEventListener { // A helper inner class to decouple the logic of updating the import graph diff --git a/dom/base/MessageChannel.h b/dom/base/MessageChannel.h index 87b28832a61..d9b1fb52f59 100644 --- a/dom/base/MessageChannel.h +++ b/dom/base/MessageChannel.h @@ -22,7 +22,7 @@ namespace dom { class MessagePort; class MessageChannel final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/base/MessagePortList.h b/dom/base/MessagePortList.h index 5b62bf72fac..b6f09ced68b 100644 --- a/dom/base/MessagePortList.h +++ b/dom/base/MessagePortList.h @@ -19,7 +19,7 @@ namespace mozilla { namespace dom { class MessagePortList final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { ~MessagePortList() {} diff --git a/dom/base/Navigator.h b/dom/base/Navigator.h index fe99c242b58..ea37e2140df 100644 --- a/dom/base/Navigator.h +++ b/dom/base/Navigator.h @@ -109,8 +109,8 @@ class AudioChannelManager; } // namespace system class Navigator final : public nsIDOMNavigator - , public nsIMozNavigatorNetwork - , public nsWrapperCache + , public nsIMozNavigatorNetwork + , public nsWrapperCache { public: explicit Navigator(nsPIDOMWindow* aInnerWindow); diff --git a/dom/base/NodeIterator.h b/dom/base/NodeIterator.h index 54d89f2fc17..a3313df74e8 100644 --- a/dom/base/NodeIterator.h +++ b/dom/base/NodeIterator.h @@ -23,8 +23,8 @@ namespace mozilla { namespace dom { class NodeIterator final : public nsIDOMNodeIterator, - public nsTraversal, - public nsStubMutationObserver + public nsTraversal, + public nsStubMutationObserver { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/base/SubtleCrypto.h b/dom/base/SubtleCrypto.h index 9712e740aef..eb530496aa9 100644 --- a/dom/base/SubtleCrypto.h +++ b/dom/base/SubtleCrypto.h @@ -22,7 +22,7 @@ class Promise; typedef ArrayBufferViewOrArrayBuffer CryptoOperationData; class SubtleCrypto final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { ~SubtleCrypto() {} diff --git a/dom/base/TextInputProcessor.h b/dom/base/TextInputProcessor.h index 40160532088..e8e7336b1cd 100644 --- a/dom/base/TextInputProcessor.h +++ b/dom/base/TextInputProcessor.h @@ -21,7 +21,7 @@ class TextEventDispatcher; } // namespace widget class TextInputProcessor final : public nsITextInputProcessor - , public widget::TextEventDispatcherListener + , public widget::TextEventDispatcherListener { typedef mozilla::widget::IMENotification IMENotification; typedef mozilla::widget::TextEventDispatcher TextEventDispatcher; diff --git a/dom/base/URLSearchParams.h b/dom/base/URLSearchParams.h index 86ac459008d..173628fb58c 100644 --- a/dom/base/URLSearchParams.h +++ b/dom/base/URLSearchParams.h @@ -27,7 +27,7 @@ public: }; class URLSearchParams final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { ~URLSearchParams(); diff --git a/dom/base/WebSocket.cpp b/dom/base/WebSocket.cpp index e03e15ef6c5..3c98128121c 100644 --- a/dom/base/WebSocket.cpp +++ b/dom/base/WebSocket.cpp @@ -62,11 +62,11 @@ namespace mozilla { namespace dom { class WebSocketImpl final : public nsIInterfaceRequestor - , public nsIWebSocketListener - , public nsIObserver - , public nsSupportsWeakReference - , public nsIRequest - , public nsIEventTarget + , public nsIWebSocketListener + , public nsIObserver + , public nsSupportsWeakReference + , public nsIRequest + , public nsIEventTarget { public: NS_DECL_NSIINTERFACEREQUESTOR diff --git a/dom/base/nsContentPermissionHelper.h b/dom/base/nsContentPermissionHelper.h index f51d706c610..e3368e836dd 100644 --- a/dom/base/nsContentPermissionHelper.h +++ b/dom/base/nsContentPermissionHelper.h @@ -107,7 +107,7 @@ class nsContentPermissionRequestProxy : public nsIContentPermissionRequest * RemotePermissionRequest will send a prompt ipdl request to b2g process. */ class RemotePermissionRequest final : public nsISupports - , public mozilla::dom::PContentPermissionRequestChild + , public mozilla::dom::PContentPermissionRequestChild { public: NS_DECL_ISUPPORTS diff --git a/dom/base/nsContentUtils.cpp b/dom/base/nsContentUtils.cpp index 5754db9a443..6604b747ea6 100644 --- a/dom/base/nsContentUtils.cpp +++ b/dom/base/nsContentUtils.cpp @@ -399,7 +399,7 @@ EventListenerManagerHashClearEntry(PLDHashTable *table, PLDHashEntryHdr *entry) } class SameOriginCheckerImpl final : public nsIChannelEventSink, - public nsIInterfaceRequestor + public nsIInterfaceRequestor { ~SameOriginCheckerImpl() {} diff --git a/dom/base/nsDOMMutationObserver.h b/dom/base/nsDOMMutationObserver.h index 47762d434c7..76d509365d7 100644 --- a/dom/base/nsDOMMutationObserver.h +++ b/dom/base/nsDOMMutationObserver.h @@ -31,7 +31,7 @@ class nsDOMMutationObserver; using mozilla::dom::MutationObservingInfo; class nsDOMMutationRecord final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { virtual ~nsDOMMutationRecord() {} @@ -443,7 +443,7 @@ private: { 0x9e, 0xab, 0x07, 0x47, 0xa9, 0xe4, 0x65, 0xb4 } } class nsDOMMutationObserver final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: nsDOMMutationObserver(already_AddRefed&& aOwner, diff --git a/dom/base/nsDOMScriptObjectFactory.h b/dom/base/nsDOMScriptObjectFactory.h index 0ef6ead0f9c..03263da0a0e 100644 --- a/dom/base/nsDOMScriptObjectFactory.h +++ b/dom/base/nsDOMScriptObjectFactory.h @@ -23,7 +23,7 @@ #include "mozilla/Attributes.h" class nsDOMScriptObjectFactory final : public nsIDOMScriptObjectFactory, - public nsIObserver + public nsIObserver { ~nsDOMScriptObjectFactory() {} diff --git a/dom/base/nsDOMSerializer.h b/dom/base/nsDOMSerializer.h index 1560998ed90..27accd6ecb7 100644 --- a/dom/base/nsDOMSerializer.h +++ b/dom/base/nsDOMSerializer.h @@ -15,7 +15,7 @@ class nsINode; class nsDOMSerializer final : public nsIDOMSerializer, - public nsWrapperCache + public nsWrapperCache { public: nsDOMSerializer(); diff --git a/dom/base/nsDOMWindowUtils.h b/dom/base/nsDOMWindowUtils.h index e3b351e73d8..aa13a3bd4c0 100644 --- a/dom/base/nsDOMWindowUtils.h +++ b/dom/base/nsDOMWindowUtils.h @@ -55,7 +55,7 @@ private: }; class nsDOMWindowUtils final : public nsIDOMWindowUtils, - public nsSupportsWeakReference + public nsSupportsWeakReference { typedef mozilla::widget::TextEventDispatcher TextEventDispatcher; diff --git a/dom/base/nsDocument.h b/dom/base/nsDocument.h index cc048458bb6..1b1bf79ee6a 100644 --- a/dom/base/nsDocument.h +++ b/dom/base/nsDocument.h @@ -597,8 +597,8 @@ protected: // XXXbz I wish we could just derive the _allcaps thing from _i #define DECL_SHIM(_i, _allcaps) \ - class _i##Shim final : public nsIInterfaceRequestor, \ - public _i \ + class _i##Shim final : public nsIInterfaceRequestor, \ + public _i \ { \ ~_i##Shim() {} \ public: \ diff --git a/dom/base/nsFocusManager.h b/dom/base/nsFocusManager.h index 5c2b433643a..b93571d5208 100644 --- a/dom/base/nsFocusManager.h +++ b/dom/base/nsFocusManager.h @@ -32,8 +32,8 @@ struct nsDelayedBlurOrFocusEvent; */ class nsFocusManager final : public nsIFocusManager, - public nsIObserver, - public nsSupportsWeakReference + public nsIObserver, + public nsSupportsWeakReference { typedef mozilla::widget::InputContextAction InputContextAction; diff --git a/dom/base/nsFormData.h b/dom/base/nsFormData.h index 59671337f4e..f830994a234 100644 --- a/dom/base/nsFormData.h +++ b/dom/base/nsFormData.h @@ -26,9 +26,9 @@ class GlobalObject; } // namespace mozilla class nsFormData final : public nsIDOMFormData, - public nsIXHRSendable, - public nsFormSubmission, - public nsWrapperCache + public nsIXHRSendable, + public nsFormSubmission, + public nsWrapperCache { private: ~nsFormData() {} diff --git a/dom/base/nsFrameLoader.h b/dom/base/nsFrameLoader.h index 326d725dd15..b2ba049a0b3 100644 --- a/dom/base/nsFrameLoader.h +++ b/dom/base/nsFrameLoader.h @@ -55,8 +55,8 @@ class QX11EmbedContainer; #endif class nsFrameLoader final : public nsIFrameLoader, - public nsStubMutationObserver, - public mozilla::dom::ipc::MessageManagerCallback + public nsStubMutationObserver, + public mozilla::dom::ipc::MessageManagerCallback { friend class AutoResetInShow; typedef mozilla::dom::PBrowserParent PBrowserParent; diff --git a/dom/base/nsFrameMessageManager.h b/dom/base/nsFrameMessageManager.h index 0a74f820ba5..bdd1fa8e159 100644 --- a/dom/base/nsFrameMessageManager.h +++ b/dom/base/nsFrameMessageManager.h @@ -153,10 +153,10 @@ private: }; class nsFrameMessageManager final : public nsIContentFrameMessageManager, - public nsIMessageBroadcaster, - public nsIFrameScriptLoader, - public nsIProcessScriptLoader, - public nsIProcessChecker + public nsIMessageBroadcaster, + public nsIFrameScriptLoader, + public nsIProcessScriptLoader, + public nsIProcessChecker { friend class mozilla::dom::MessageManagerReporter; typedef mozilla::dom::StructuredCloneData StructuredCloneData; diff --git a/dom/base/nsGenConImageContent.cpp b/dom/base/nsGenConImageContent.cpp index 3f6ddd3e39d..8a49a9d0e9c 100644 --- a/dom/base/nsGenConImageContent.cpp +++ b/dom/base/nsGenConImageContent.cpp @@ -21,7 +21,7 @@ using namespace mozilla; class nsGenConImageContent final : public nsXMLElement, - public nsImageLoadingContent + public nsImageLoadingContent { public: explicit nsGenConImageContent(already_AddRefed& aNodeInfo) diff --git a/dom/base/nsGlobalWindow.cpp b/dom/base/nsGlobalWindow.cpp index 2a11fb4df91..6d2694fa9f3 100644 --- a/dom/base/nsGlobalWindow.cpp +++ b/dom/base/nsGlobalWindow.cpp @@ -477,7 +477,7 @@ static const char sPopStatePrefStr[] = "browser.history.allowPopState"; * on nsGlobalWindow, where any script could see it. */ class nsGlobalWindowObserver final : public nsIObserver, - public nsIInterfaceRequestor + public nsIInterfaceRequestor { public: explicit nsGlobalWindowObserver(nsGlobalWindow* aWindow) : mWindow(aWindow) {} diff --git a/dom/base/nsLocation.h b/dom/base/nsLocation.h index 2db8315e4ec..ea420e356a7 100644 --- a/dom/base/nsLocation.h +++ b/dom/base/nsLocation.h @@ -26,8 +26,8 @@ class nsIDocShellLoadInfo; //***************************************************************************** class nsLocation final : public nsIDOMLocation - , public nsWrapperCache - , public mozilla::dom::URLSearchParamsObserver + , public nsWrapperCache + , public mozilla::dom::URLSearchParamsObserver { typedef mozilla::ErrorResult ErrorResult; diff --git a/dom/base/nsMimeTypeArray.h b/dom/base/nsMimeTypeArray.h index ee6631a532f..d4a8f5618b3 100644 --- a/dom/base/nsMimeTypeArray.h +++ b/dom/base/nsMimeTypeArray.h @@ -17,7 +17,7 @@ class nsMimeType; class nsPluginElement; class nsMimeTypeArray final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: explicit nsMimeTypeArray(nsPIDOMWindow* aWindow); diff --git a/dom/base/nsObjectLoadingContent.cpp b/dom/base/nsObjectLoadingContent.cpp index a85be30e81a..578de9884a2 100644 --- a/dom/base/nsObjectLoadingContent.cpp +++ b/dom/base/nsObjectLoadingContent.cpp @@ -1293,8 +1293,8 @@ nsObjectLoadingContent::GetBaseURI(nsIURI **aResult) // see an interface requestor even though WebIDL bindings don't expose // that stuff. class ObjectInterfaceRequestorShim final : public nsIInterfaceRequestor, - public nsIChannelEventSink, - public nsIStreamListener + public nsIChannelEventSink, + public nsIStreamListener { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/base/nsPluginArray.h b/dom/base/nsPluginArray.h index e9b5eb8a779..dc82f4f951d 100644 --- a/dom/base/nsPluginArray.h +++ b/dom/base/nsPluginArray.h @@ -18,8 +18,8 @@ class nsPluginElement; class nsMimeType; class nsPluginArray final : public nsIObserver, - public nsSupportsWeakReference, - public nsWrapperCache + public nsSupportsWeakReference, + public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS @@ -76,7 +76,7 @@ private: }; class nsPluginElement final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/base/nsRange.h b/dom/base/nsRange.h index 2438c21e550..b5330a0aa12 100644 --- a/dom/base/nsRange.h +++ b/dom/base/nsRange.h @@ -31,8 +31,8 @@ class DOMRectList; } class nsRange final : public nsIDOMRange, - public nsStubMutationObserver, - public nsWrapperCache + public nsStubMutationObserver, + public nsWrapperCache { typedef mozilla::ErrorResult ErrorResult; typedef mozilla::dom::DOMRect DOMRect; diff --git a/dom/base/nsTextNode.cpp b/dom/base/nsTextNode.cpp index 7e5a7e96bfe..75d32da204f 100644 --- a/dom/base/nsTextNode.cpp +++ b/dom/base/nsTextNode.cpp @@ -28,7 +28,7 @@ using namespace mozilla::dom; * class used to implement attr() generated content */ class nsAttributeTextNode final : public nsTextNode, - public nsStubMutationObserver + public nsStubMutationObserver { public: NS_DECL_ISUPPORTS_INHERITED diff --git a/dom/base/nsWindowMemoryReporter.h b/dom/base/nsWindowMemoryReporter.h index 59e8e242b13..7d76ab927d2 100644 --- a/dom/base/nsWindowMemoryReporter.h +++ b/dom/base/nsWindowMemoryReporter.h @@ -140,8 +140,8 @@ public: * */ class nsWindowMemoryReporter final : public nsIMemoryReporter, - public nsIObserver, - public nsSupportsWeakReference + public nsIObserver, + public nsSupportsWeakReference { public: NS_DECL_ISUPPORTS diff --git a/dom/base/nsXMLHttpRequest.h b/dom/base/nsXMLHttpRequest.h index fec3deb958b..ca37a7c45ac 100644 --- a/dom/base/nsXMLHttpRequest.h +++ b/dom/base/nsXMLHttpRequest.h @@ -147,7 +147,7 @@ public: }; class nsXMLHttpRequestUpload final : public nsXHREventTarget, - public nsIXMLHttpRequestUpload + public nsIXMLHttpRequestUpload { public: explicit nsXMLHttpRequestUpload(mozilla::DOMEventTargetHelper* aOwner) @@ -180,15 +180,15 @@ class nsXMLHttpRequestXPCOMifier; // Make sure that any non-DOM interfaces added here are also added to // nsXMLHttpRequestXPCOMifier. class nsXMLHttpRequest final : public nsXHREventTarget, - public nsIXMLHttpRequest, - public nsIJSXMLHttpRequest, - public nsIStreamListener, - public nsIChannelEventSink, - public nsIProgressEventSink, - public nsIInterfaceRequestor, - public nsSupportsWeakReference, - public nsITimerCallback, - public nsISizeOfEventTarget + public nsIXMLHttpRequest, + public nsIJSXMLHttpRequest, + public nsIStreamListener, + public nsIChannelEventSink, + public nsIProgressEventSink, + public nsIInterfaceRequestor, + public nsSupportsWeakReference, + public nsITimerCallback, + public nsISizeOfEventTarget { friend class nsXHRParseEndListener; friend class nsXMLHttpRequestXPCOMifier; @@ -634,7 +634,8 @@ protected: nsCOMPtr mXMLParserStreamListener; // used to implement getAllResponseHeaders() - class nsHeaderVisitor : public nsIHttpHeaderVisitor { + class nsHeaderVisitor : public nsIHttpHeaderVisitor + { public: NS_DECL_ISUPPORTS NS_DECL_NSIHTTPHEADERVISITOR @@ -820,10 +821,10 @@ private: // A shim class designed to expose the non-DOM interfaces of // XMLHttpRequest via XPCOM stuff. class nsXMLHttpRequestXPCOMifier final : public nsIStreamListener, - public nsIChannelEventSink, - public nsIProgressEventSink, - public nsIInterfaceRequestor, - public nsITimerCallback + public nsIChannelEventSink, + public nsIProgressEventSink, + public nsIInterfaceRequestor, + public nsITimerCallback { NS_DECL_CYCLE_COLLECTING_ISUPPORTS NS_DECL_CYCLE_COLLECTION_CLASS_AMBIGUOUS(nsXMLHttpRequestXPCOMifier, diff --git a/dom/bluetooth/BluetoothProfileManagerBase.h b/dom/bluetooth/BluetoothProfileManagerBase.h index 1fadfd99962..517c1cfc388 100644 --- a/dom/bluetooth/BluetoothProfileManagerBase.h +++ b/dom/bluetooth/BluetoothProfileManagerBase.h @@ -89,17 +89,17 @@ public: virtual void GetName(nsACString& aName) = 0; }; -#define BT_DECL_PROFILE_MGR_BASE \ -public: \ - NS_DECL_ISUPPORTS \ - NS_DECL_NSIOBSERVER \ - virtual void OnGetServiceChannel(const nsAString& aDeviceAddress, \ - const nsAString& aServiceUuid, \ +#define BT_DECL_PROFILE_MGR_BASE \ +public: \ + NS_DECL_ISUPPORTS \ + NS_DECL_NSIOBSERVER \ + virtual void OnGetServiceChannel(const nsAString& aDeviceAddress, \ + const nsAString& aServiceUuid, \ int aChannel) override; \ virtual void OnUpdateSdpRecords(const nsAString& aDeviceAddress) override; \ virtual void GetAddress(nsAString& aDeviceAddress) override; \ virtual bool IsConnected() override; \ - virtual void Connect(const nsAString& aDeviceAddress, \ + virtual void Connect(const nsAString& aDeviceAddress, \ BluetoothProfileController* aController) override; \ virtual void Disconnect(BluetoothProfileController* aController) override; \ virtual void OnConnect(const nsAString& aErrorStr) override; \ diff --git a/dom/bluetooth2/BluetoothProfileManagerBase.h b/dom/bluetooth2/BluetoothProfileManagerBase.h index f7db5907962..833af81abf8 100644 --- a/dom/bluetooth2/BluetoothProfileManagerBase.h +++ b/dom/bluetooth2/BluetoothProfileManagerBase.h @@ -88,17 +88,17 @@ public: virtual void GetName(nsACString& aName) = 0; }; -#define BT_DECL_PROFILE_MGR_BASE \ -public: \ - NS_DECL_ISUPPORTS \ - NS_DECL_NSIOBSERVER \ - virtual void OnGetServiceChannel(const nsAString& aDeviceAddress, \ - const nsAString& aServiceUuid, \ +#define BT_DECL_PROFILE_MGR_BASE \ +public: \ + NS_DECL_ISUPPORTS \ + NS_DECL_NSIOBSERVER \ + virtual void OnGetServiceChannel(const nsAString& aDeviceAddress, \ + const nsAString& aServiceUuid, \ int aChannel) override; \ virtual void OnUpdateSdpRecords(const nsAString& aDeviceAddress) override; \ virtual void GetAddress(nsAString& aDeviceAddress) override; \ virtual bool IsConnected() override; \ - virtual void Connect(const nsAString& aDeviceAddress, \ + virtual void Connect(const nsAString& aDeviceAddress, \ BluetoothProfileController* aController) override; \ virtual void Disconnect(BluetoothProfileController* aController) override; \ virtual void OnConnect(const nsAString& aErrorStr) override; \ diff --git a/dom/camera/DOMCameraCapabilities.h b/dom/camera/DOMCameraCapabilities.h index 499caff358b..8195a84047a 100644 --- a/dom/camera/DOMCameraCapabilities.h +++ b/dom/camera/DOMCameraCapabilities.h @@ -30,7 +30,7 @@ namespace dom { * CameraRecorderVideoProfile */ class CameraRecorderVideoProfile final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS @@ -69,7 +69,7 @@ private: * CameraRecorderAudioProfile */ class CameraRecorderAudioProfile final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS @@ -103,7 +103,7 @@ private: * CameraRecorderProfile */ class CameraRecorderProfile final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS @@ -149,7 +149,7 @@ private: template class CameraClosedListenerProxy; class CameraRecorderProfiles final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS @@ -182,7 +182,7 @@ private: * CameraCapabilities */ class CameraCapabilities final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/camera/DOMCameraControl.h b/dom/camera/DOMCameraControl.h index f850aacf4f5..dae5754d2a2 100644 --- a/dom/camera/DOMCameraControl.h +++ b/dom/camera/DOMCameraControl.h @@ -46,7 +46,7 @@ class StartRecordingHelper; // Main camera control. class nsDOMCameraControl final : public DOMMediaStream - , public nsSupportsWeakReference + , public nsSupportsWeakReference { public: NS_DECLARE_STATIC_IID_ACCESSOR(NS_DOM_CAMERA_CONTROL_CID) diff --git a/dom/camera/DOMCameraDetectedFace.h b/dom/camera/DOMCameraDetectedFace.h index f73c4cc61ed..45eb49ed8d9 100644 --- a/dom/camera/DOMCameraDetectedFace.h +++ b/dom/camera/DOMCameraDetectedFace.h @@ -17,7 +17,7 @@ namespace mozilla { namespace dom { class DOMCameraDetectedFace final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/cellbroadcast/CellBroadcastMessage.h b/dom/cellbroadcast/CellBroadcastMessage.h index 73f94786f7b..4a606317865 100644 --- a/dom/cellbroadcast/CellBroadcastMessage.h +++ b/dom/cellbroadcast/CellBroadcastMessage.h @@ -20,7 +20,7 @@ namespace dom { class CellBroadcastEtwsInfo; class CellBroadcastMessage final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS @@ -92,7 +92,7 @@ private: }; class CellBroadcastEtwsInfo final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/cellbroadcast/ipc/CellBroadcastIPCService.h b/dom/cellbroadcast/ipc/CellBroadcastIPCService.h index 9241203bde3..fe2d170cc16 100644 --- a/dom/cellbroadcast/ipc/CellBroadcastIPCService.h +++ b/dom/cellbroadcast/ipc/CellBroadcastIPCService.h @@ -16,7 +16,7 @@ namespace dom { namespace cellbroadcast { class CellBroadcastIPCService final : public PCellBroadcastChild - , public nsICellBroadcastService + , public nsICellBroadcastService { public: @@ -55,4 +55,4 @@ private: } // namespace dom } // namespace mozilla -#endif // mozilla_dom_cellbroadcast_CellBroadcastIPCService_h \ No newline at end of file +#endif // mozilla_dom_cellbroadcast_CellBroadcastIPCService_h diff --git a/dom/cellbroadcast/ipc/CellBroadcastParent.h b/dom/cellbroadcast/ipc/CellBroadcastParent.h index 3880762bde7..3d79fa0196a 100644 --- a/dom/cellbroadcast/ipc/CellBroadcastParent.h +++ b/dom/cellbroadcast/ipc/CellBroadcastParent.h @@ -16,7 +16,7 @@ namespace dom { namespace cellbroadcast { class CellBroadcastParent final : public PCellBroadcastParent - , public nsICellBroadcastListener + , public nsICellBroadcastListener { public: NS_DECL_ISUPPORTS diff --git a/dom/crypto/CryptoKey.h b/dom/crypto/CryptoKey.h index 5c091fe3395..21548780cd4 100644 --- a/dom/crypto/CryptoKey.h +++ b/dom/crypto/CryptoKey.h @@ -59,8 +59,8 @@ Thus, internally, a key has the following fields: struct JsonWebKey; class CryptoKey final : public nsISupports, - public nsWrapperCache, - public nsNSSShutDownObject + public nsWrapperCache, + public nsNSSShutDownObject { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/datastore/DataStoreService.h b/dom/datastore/DataStoreService.h index 0189ba89284..e740bcfb8a3 100644 --- a/dom/datastore/DataStoreService.h +++ b/dom/datastore/DataStoreService.h @@ -28,7 +28,7 @@ class RetrieveRevisionsCounter; class RevisionAddedEnableStoreCallback; class DataStoreService final : public nsIDataStoreService - , public nsIObserver + , public nsIObserver { friend class ContentChild; friend class FirstRevisionIdCallback; diff --git a/dom/events/CustomEvent.h b/dom/events/CustomEvent.h index 2d37dd3b4a9..b9922e9fb9c 100644 --- a/dom/events/CustomEvent.h +++ b/dom/events/CustomEvent.h @@ -14,7 +14,7 @@ namespace dom { struct CustomEventInit; class CustomEvent final : public Event, - public nsIDOMCustomEvent + public nsIDOMCustomEvent { private: virtual ~CustomEvent(); diff --git a/dom/events/DOMEventTargetHelper.h b/dom/events/DOMEventTargetHelper.h index 9cddf515e89..a64311aa0dd 100644 --- a/dom/events/DOMEventTargetHelper.h +++ b/dom/events/DOMEventTargetHelper.h @@ -281,11 +281,11 @@ NS_DEFINE_STATIC_IID_ACCESSOR(DOMEventTargetHelper, using _class::RemoveEventListener; \ NS_FORWARD_NSIDOMEVENTTARGET(_class::) \ virtual mozilla::EventListenerManager* \ - GetOrCreateListenerManager() override { \ + GetOrCreateListenerManager() override { \ return _class::GetOrCreateListenerManager(); \ } \ virtual mozilla::EventListenerManager* \ - GetExistingListenerManager() const override { \ + GetExistingListenerManager() const override { \ return _class::GetExistingListenerManager(); \ } diff --git a/dom/events/DataTransfer.h b/dom/events/DataTransfer.h index 934ed029861..a4e7eea2c1e 100644 --- a/dom/events/DataTransfer.h +++ b/dom/events/DataTransfer.h @@ -52,7 +52,7 @@ struct TransferItem { { 0x9b, 0xd0, 0xf1, 0x79, 0x09, 0x69, 0xf2, 0xfb } } class DataTransfer final : public nsIDOMDataTransfer, - public nsWrapperCache + public nsWrapperCache { public: NS_DECLARE_STATIC_IID_ACCESSOR(NS_DATATRANSFER_IID) diff --git a/dom/events/IMEContentObserver.h b/dom/events/IMEContentObserver.h index f8a598f21d1..ae991e44fa7 100644 --- a/dom/events/IMEContentObserver.h +++ b/dom/events/IMEContentObserver.h @@ -32,11 +32,11 @@ class EventStateManager; // IMEContentObserver notifies widget of any text and selection changes // in the currently focused editor class IMEContentObserver final : public nsISelectionListener - , public nsStubMutationObserver - , public nsIReflowObserver - , public nsIScrollObserver - , public nsSupportsWeakReference - , public nsIEditorObserver + , public nsStubMutationObserver + , public nsIReflowObserver + , public nsIScrollObserver + , public nsSupportsWeakReference + , public nsIEditorObserver { friend class AsyncMergeableNotificationsFlusher; diff --git a/dom/events/ImageCaptureError.h b/dom/events/ImageCaptureError.h index fe5ce88b245..da908e63b33 100644 --- a/dom/events/ImageCaptureError.h +++ b/dom/events/ImageCaptureError.h @@ -21,7 +21,7 @@ namespace dom { * This object should be generated by ImageCapture object only. */ class ImageCaptureError final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/events/MessageEvent.h b/dom/events/MessageEvent.h index ac855a60ba0..6c1eeffbe25 100644 --- a/dom/events/MessageEvent.h +++ b/dom/events/MessageEvent.h @@ -34,7 +34,7 @@ class ServiceWorkerClient; * further details. */ class MessageEvent final : public Event, - public nsIDOMMessageEvent + public nsIDOMMessageEvent { public: MessageEvent(EventTarget* aOwner, diff --git a/dom/events/PaintRequest.h b/dom/events/PaintRequest.h index 97cf18c5a2d..a08f891539b 100644 --- a/dom/events/PaintRequest.h +++ b/dom/events/PaintRequest.h @@ -18,7 +18,7 @@ namespace dom { class DOMRect; class PaintRequest final : public nsIDOMPaintRequest - , public nsWrapperCache + , public nsWrapperCache { public: explicit PaintRequest(nsIDOMEvent* aParent) @@ -55,7 +55,7 @@ private: }; class PaintRequestList final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: explicit PaintRequestList(nsIDOMEvent *aParent) : mParent(aParent) diff --git a/dom/events/Touch.h b/dom/events/Touch.h index daacd9cadbb..8b4a0ba6630 100644 --- a/dom/events/Touch.h +++ b/dom/events/Touch.h @@ -21,8 +21,8 @@ namespace dom { class EventTarget; class Touch final : public nsISupports - , public nsWrapperCache - , public WidgetPointerHelper + , public nsWrapperCache + , public WidgetPointerHelper { public: static bool PrefEnabled(JSContext* aCx, JSObject* aGlobal); diff --git a/dom/events/TouchEvent.h b/dom/events/TouchEvent.h index 531c4231cc5..f934d29878e 100644 --- a/dom/events/TouchEvent.h +++ b/dom/events/TouchEvent.h @@ -20,7 +20,7 @@ namespace mozilla { namespace dom { class TouchList final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/events/UIEvent.h b/dom/events/UIEvent.h index a4efc163d39..3635f5eb015 100644 --- a/dom/events/UIEvent.h +++ b/dom/events/UIEvent.h @@ -176,18 +176,18 @@ protected: #define NS_FORWARD_TO_UIEVENT \ NS_FORWARD_NSIDOMUIEVENT(UIEvent::) \ NS_FORWARD_TO_EVENT_NO_SERIALIZATION_NO_DUPLICATION \ - NS_IMETHOD DuplicatePrivateData() override \ + NS_IMETHOD DuplicatePrivateData() override \ { \ return UIEvent::DuplicatePrivateData(); \ } \ NS_IMETHOD_(void) Serialize(IPC::Message* aMsg, \ bool aSerializeInterfaceType) \ - override \ + override \ { \ UIEvent::Serialize(aMsg, aSerializeInterfaceType); \ } \ NS_IMETHOD_(bool) Deserialize(const IPC::Message* aMsg, \ - void** aIter) override \ + void** aIter) override \ { \ return UIEvent::Deserialize(aMsg, aIter); \ } diff --git a/dom/fetch/Fetch.cpp b/dom/fetch/Fetch.cpp index 777527d84bc..4a11c32e1b1 100644 --- a/dom/fetch/Fetch.cpp +++ b/dom/fetch/Fetch.cpp @@ -45,7 +45,7 @@ namespace dom { using namespace workers; class WorkerFetchResolver final : public FetchDriverObserver, - public WorkerFeature + public WorkerFeature { friend class MainThreadFetchRunnable; friend class WorkerFetchResponseEndRunnable; diff --git a/dom/fetch/FetchDriver.h b/dom/fetch/FetchDriver.h index 33ee192085e..b9cba3d935e 100644 --- a/dom/fetch/FetchDriver.h +++ b/dom/fetch/FetchDriver.h @@ -42,9 +42,9 @@ protected: }; class FetchDriver final : public nsIStreamListener, - public nsIChannelEventSink, - public nsIInterfaceRequestor, - public nsIAsyncVerifyRedirectCallback + public nsIChannelEventSink, + public nsIInterfaceRequestor, + public nsIAsyncVerifyRedirectCallback { public: NS_DECL_ISUPPORTS diff --git a/dom/fetch/Headers.h b/dom/fetch/Headers.h index 371b8f3f2b4..96eca7bb244 100644 --- a/dom/fetch/Headers.h +++ b/dom/fetch/Headers.h @@ -34,7 +34,7 @@ class OwningHeadersOrByteStringSequenceSequenceOrByteStringMozMap; * InternalHeaders object. */ class Headers final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { NS_DECL_CYCLE_COLLECTING_ISUPPORTS NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(Headers) diff --git a/dom/fetch/Request.h b/dom/fetch/Request.h index 2e07ecca381..839faa289a3 100644 --- a/dom/fetch/Request.h +++ b/dom/fetch/Request.h @@ -27,8 +27,8 @@ class Promise; class RequestOrUSVString; class Request final : public nsISupports - , public FetchBody - , public nsWrapperCache + , public FetchBody + , public nsWrapperCache { NS_DECL_CYCLE_COLLECTING_ISUPPORTS NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(Request) diff --git a/dom/fetch/Response.h b/dom/fetch/Response.h index 52e0cddf7ef..786736144bf 100644 --- a/dom/fetch/Response.h +++ b/dom/fetch/Response.h @@ -25,8 +25,8 @@ class InternalHeaders; class Promise; class Response final : public nsISupports - , public FetchBody - , public nsWrapperCache + , public FetchBody + , public nsWrapperCache { NS_DECL_CYCLE_COLLECTING_ISUPPORTS NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(Response) diff --git a/dom/fmradio/FMRadio.cpp b/dom/fmradio/FMRadio.cpp index 7867fc6cf0e..1e8c2a429fe 100644 --- a/dom/fmradio/FMRadio.cpp +++ b/dom/fmradio/FMRadio.cpp @@ -33,7 +33,7 @@ using mozilla::Preferences; BEGIN_FMRADIO_NAMESPACE class FMRadioRequest final : public FMRadioReplyRunnable - , public DOMRequest + , public DOMRequest { public: NS_DECL_ISUPPORTS_INHERITED diff --git a/dom/fmradio/FMRadio.h b/dom/fmradio/FMRadio.h index 71edf7fb5fc..69dd6e20a7d 100644 --- a/dom/fmradio/FMRadio.h +++ b/dom/fmradio/FMRadio.h @@ -21,11 +21,11 @@ BEGIN_FMRADIO_NAMESPACE class DOMRequest; class FMRadio final : public DOMEventTargetHelper - , public hal::SwitchObserver - , public FMRadioEventObserver - , public nsSupportsWeakReference - , public nsIAudioChannelAgentCallback - , public nsIDOMEventListener + , public hal::SwitchObserver + , public FMRadioEventObserver + , public nsSupportsWeakReference + , public nsIAudioChannelAgentCallback + , public nsIDOMEventListener { friend class FMRadioRequest; diff --git a/dom/fmradio/FMRadioService.h b/dom/fmradio/FMRadioService.h index c211200a913..82cfa14449b 100644 --- a/dom/fmradio/FMRadioService.h +++ b/dom/fmradio/FMRadioService.h @@ -148,9 +148,9 @@ enum FMRadioState }; class FMRadioService final : public IFMRadioService - , public hal::FMRadioObserver - , public hal::FMRadioRDSObserver - , public nsIObserver + , public hal::FMRadioObserver + , public hal::FMRadioRDSObserver + , public nsIObserver { friend class ReadAirplaneModeSettingTask; friend class EnableRunnable; diff --git a/dom/fmradio/ipc/FMRadioChild.h b/dom/fmradio/ipc/FMRadioChild.h index 173c36eb93a..730a5e10db3 100644 --- a/dom/fmradio/ipc/FMRadioChild.h +++ b/dom/fmradio/ipc/FMRadioChild.h @@ -23,7 +23,7 @@ BEGIN_FMRADIO_NAMESPACE * IPC channel to transfer the requests. */ class FMRadioChild final : public IFMRadioService - , public PFMRadioChild + , public PFMRadioChild { public: static FMRadioChild* Singleton(); diff --git a/dom/fmradio/ipc/FMRadioParent.h b/dom/fmradio/ipc/FMRadioParent.h index 39f36cd45e2..53f722b603d 100644 --- a/dom/fmradio/ipc/FMRadioParent.h +++ b/dom/fmradio/ipc/FMRadioParent.h @@ -16,7 +16,7 @@ BEGIN_FMRADIO_NAMESPACE class PFMRadioRequestParent; class FMRadioParent final : public PFMRadioParent - , public FMRadioEventObserver + , public FMRadioEventObserver { public: FMRadioParent(); diff --git a/dom/fmradio/ipc/FMRadioRequestParent.h b/dom/fmradio/ipc/FMRadioRequestParent.h index 857585eed33..0d1f0a2b2a1 100644 --- a/dom/fmradio/ipc/FMRadioRequestParent.h +++ b/dom/fmradio/ipc/FMRadioRequestParent.h @@ -14,7 +14,7 @@ BEGIN_FMRADIO_NAMESPACE class FMRadioRequestParent final : public PFMRadioRequestParent - , public FMRadioReplyRunnable + , public FMRadioReplyRunnable { public: FMRadioRequestParent(); diff --git a/dom/gamepad/Gamepad.h b/dom/gamepad/Gamepad.h index 62f6ac940c7..63bc12e7ad0 100644 --- a/dom/gamepad/Gamepad.h +++ b/dom/gamepad/Gamepad.h @@ -32,7 +32,7 @@ const int kRightStickXAxis = 2; const int kRightStickYAxis = 3; class Gamepad final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: Gamepad(nsISupports* aParent, diff --git a/dom/geolocation/nsGeoPosition.h b/dom/geolocation/nsGeoPosition.h index 00f2aa36299..48ed215bce1 100644 --- a/dom/geolocation/nsGeoPosition.h +++ b/dom/geolocation/nsGeoPosition.h @@ -77,7 +77,7 @@ namespace dom { class Coordinates; class Position final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { ~Position(); @@ -105,7 +105,7 @@ private: }; class Coordinates final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { ~Coordinates(); diff --git a/dom/geolocation/nsGeolocation.h b/dom/geolocation/nsGeolocation.h index 595fd3462fd..423b7bf773c 100644 --- a/dom/geolocation/nsGeolocation.h +++ b/dom/geolocation/nsGeolocation.h @@ -53,7 +53,8 @@ struct CachedPositionAndAccuracy { /** * Singleton that manages the geolocation provider */ -class nsGeolocationService final : public nsIGeolocationUpdate, public nsIObserver +class nsGeolocationService final : public nsIGeolocationUpdate, + public nsIObserver { public: @@ -124,8 +125,8 @@ namespace dom { * Can return a geolocation info */ class Geolocation final : public nsIDOMGeoGeolocation, - public nsIGeolocationUpdate, - public nsWrapperCache + public nsIGeolocationUpdate, + public nsWrapperCache { public: @@ -221,7 +222,7 @@ private: }; class PositionError final : public nsIDOMGeoPositionError, - public nsWrapperCache + public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/html/HTMLAllCollection.h b/dom/html/HTMLAllCollection.h index f2c5b95aec0..d6d71e2c824 100644 --- a/dom/html/HTMLAllCollection.h +++ b/dom/html/HTMLAllCollection.h @@ -30,7 +30,7 @@ class OwningNodeOrHTMLCollection; template struct Nullable; class HTMLAllCollection final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { ~HTMLAllCollection(); diff --git a/dom/html/HTMLAnchorElement.h b/dom/html/HTMLAnchorElement.h index 096da5245b4..8c5102d07aa 100644 --- a/dom/html/HTMLAnchorElement.h +++ b/dom/html/HTMLAnchorElement.h @@ -19,8 +19,8 @@ class EventChainPreVisitor; namespace dom { class HTMLAnchorElement final : public nsGenericHTMLElement, - public nsIDOMHTMLAnchorElement, - public Link + public nsIDOMHTMLAnchorElement, + public Link { public: using Element::GetText; diff --git a/dom/html/HTMLAreaElement.h b/dom/html/HTMLAreaElement.h index 41eb46bab53..01a2c5e229d 100644 --- a/dom/html/HTMLAreaElement.h +++ b/dom/html/HTMLAreaElement.h @@ -23,8 +23,8 @@ class EventChainPreVisitor; namespace dom { class HTMLAreaElement final : public nsGenericHTMLElement, - public nsIDOMHTMLAreaElement, - public Link + public nsIDOMHTMLAreaElement, + public Link { public: explicit HTMLAreaElement(already_AddRefed& aNodeInfo); diff --git a/dom/html/HTMLBRElement.h b/dom/html/HTMLBRElement.h index afe2bbf9bb4..13d5e667170 100644 --- a/dom/html/HTMLBRElement.h +++ b/dom/html/HTMLBRElement.h @@ -15,7 +15,7 @@ namespace mozilla { namespace dom { class HTMLBRElement final : public nsGenericHTMLElement, - public nsIDOMHTMLBRElement + public nsIDOMHTMLBRElement { public: explicit HTMLBRElement(already_AddRefed& aNodeInfo); diff --git a/dom/html/HTMLBodyElement.h b/dom/html/HTMLBodyElement.h index 60943ba82e0..4c3f5a6a6b1 100644 --- a/dom/html/HTMLBodyElement.h +++ b/dom/html/HTMLBodyElement.h @@ -35,7 +35,7 @@ public: }; class HTMLBodyElement final : public nsGenericHTMLElement, - public nsIDOMHTMLBodyElement + public nsIDOMHTMLBodyElement { public: using Element::GetText; diff --git a/dom/html/HTMLButtonElement.h b/dom/html/HTMLButtonElement.h index 324616ecf5e..d75ccbf0ff8 100644 --- a/dom/html/HTMLButtonElement.h +++ b/dom/html/HTMLButtonElement.h @@ -17,8 +17,8 @@ class EventChainPreVisitor; namespace dom { class HTMLButtonElement final : public nsGenericHTMLFormElementWithState, - public nsIDOMHTMLButtonElement, - public nsIConstraintValidation + public nsIDOMHTMLButtonElement, + public nsIConstraintValidation { public: using nsIConstraintValidation::GetValidationMessage; diff --git a/dom/html/HTMLCanvasElement.h b/dom/html/HTMLCanvasElement.h index 0ca614d3108..ea6c2f86cd5 100644 --- a/dom/html/HTMLCanvasElement.h +++ b/dom/html/HTMLCanvasElement.h @@ -42,7 +42,7 @@ enum class CanvasContextType : uint8_t { }; class HTMLCanvasElement final : public nsGenericHTMLElement, - public nsIDOMHTMLCanvasElement + public nsIDOMHTMLCanvasElement { enum { DEFAULT_CANVAS_WIDTH = 300, diff --git a/dom/html/HTMLDivElement.h b/dom/html/HTMLDivElement.h index 21392f03d56..066e565d24c 100644 --- a/dom/html/HTMLDivElement.h +++ b/dom/html/HTMLDivElement.h @@ -13,7 +13,7 @@ namespace mozilla { namespace dom { class HTMLDivElement final : public nsGenericHTMLElement, - public nsIDOMHTMLDivElement + public nsIDOMHTMLDivElement { public: explicit HTMLDivElement(already_AddRefed& aNodeInfo) diff --git a/dom/html/HTMLFieldSetElement.h b/dom/html/HTMLFieldSetElement.h index d50fc42e851..7d9b6e7d9b8 100644 --- a/dom/html/HTMLFieldSetElement.h +++ b/dom/html/HTMLFieldSetElement.h @@ -18,8 +18,8 @@ class EventChainPreVisitor; namespace dom { class HTMLFieldSetElement final : public nsGenericHTMLFormElement, - public nsIDOMHTMLFieldSetElement, - public nsIConstraintValidation + public nsIDOMHTMLFieldSetElement, + public nsIConstraintValidation { public: using nsGenericHTMLFormElement::GetForm; diff --git a/dom/html/HTMLFormControlsCollection.h b/dom/html/HTMLFormControlsCollection.h index fde2341866b..73f86036e32 100644 --- a/dom/html/HTMLFormControlsCollection.h +++ b/dom/html/HTMLFormControlsCollection.h @@ -24,7 +24,7 @@ class OwningRadioNodeListOrElement; template struct Nullable; class HTMLFormControlsCollection final : public nsIHTMLCollection - , public nsWrapperCache + , public nsWrapperCache { public: explicit HTMLFormControlsCollection(HTMLFormElement* aForm); diff --git a/dom/html/HTMLFormElement.h b/dom/html/HTMLFormElement.h index f0547d3dfe2..f3e7600d2af 100644 --- a/dom/html/HTMLFormElement.h +++ b/dom/html/HTMLFormElement.h @@ -34,10 +34,10 @@ class HTMLFormControlsCollection; class HTMLImageElement; class HTMLFormElement final : public nsGenericHTMLElement, - public nsIDOMHTMLFormElement, - public nsIWebProgressListener, - public nsIForm, - public nsIRadioGroupContainer + public nsIDOMHTMLFormElement, + public nsIWebProgressListener, + public nsIForm, + public nsIRadioGroupContainer { friend class HTMLFormControlsCollection; diff --git a/dom/html/HTMLFrameElement.h b/dom/html/HTMLFrameElement.h index 97fc4ea4542..ac8de9c8965 100644 --- a/dom/html/HTMLFrameElement.h +++ b/dom/html/HTMLFrameElement.h @@ -17,7 +17,7 @@ namespace mozilla { namespace dom { class HTMLFrameElement final : public nsGenericHTMLFrameElement, - public nsIDOMHTMLFrameElement + public nsIDOMHTMLFrameElement { public: using nsGenericHTMLFrameElement::SwapFrameLoaders; diff --git a/dom/html/HTMLFrameSetElement.h b/dom/html/HTMLFrameSetElement.h index 4448dbdcfe7..170d445248f 100644 --- a/dom/html/HTMLFrameSetElement.h +++ b/dom/html/HTMLFrameSetElement.h @@ -43,7 +43,7 @@ namespace dom { class OnBeforeUnloadEventHandlerNonNull; class HTMLFrameSetElement final : public nsGenericHTMLElement, - public nsIDOMHTMLFrameSetElement + public nsIDOMHTMLFrameSetElement { public: explicit HTMLFrameSetElement(already_AddRefed& aNodeInfo) diff --git a/dom/html/HTMLHRElement.h b/dom/html/HTMLHRElement.h index 8e46ed46856..09b7d37d6ea 100644 --- a/dom/html/HTMLHRElement.h +++ b/dom/html/HTMLHRElement.h @@ -17,7 +17,7 @@ namespace mozilla { namespace dom { class HTMLHRElement final : public nsGenericHTMLElement, - public nsIDOMHTMLHRElement + public nsIDOMHTMLHRElement { public: explicit HTMLHRElement(already_AddRefed& aNodeInfo); diff --git a/dom/html/HTMLHeadingElement.h b/dom/html/HTMLHeadingElement.h index 76719a7d296..ed0092cd852 100644 --- a/dom/html/HTMLHeadingElement.h +++ b/dom/html/HTMLHeadingElement.h @@ -14,7 +14,7 @@ namespace mozilla { namespace dom { class HTMLHeadingElement final : public nsGenericHTMLElement, - public nsIDOMHTMLHeadingElement + public nsIDOMHTMLHeadingElement { public: explicit HTMLHeadingElement(already_AddRefed& aNodeInfo) diff --git a/dom/html/HTMLIFrameElement.h b/dom/html/HTMLIFrameElement.h index 93b4acaf345..c67e641383b 100644 --- a/dom/html/HTMLIFrameElement.h +++ b/dom/html/HTMLIFrameElement.h @@ -15,7 +15,7 @@ namespace mozilla { namespace dom { class HTMLIFrameElement final : public nsGenericHTMLFrameElement - , public nsIDOMHTMLIFrameElement + , public nsIDOMHTMLIFrameElement { public: explicit HTMLIFrameElement(already_AddRefed& aNodeInfo, diff --git a/dom/html/HTMLImageElement.h b/dom/html/HTMLImageElement.h index f6c799e6063..945df6f3019 100644 --- a/dom/html/HTMLImageElement.h +++ b/dom/html/HTMLImageElement.h @@ -23,8 +23,8 @@ namespace dom { class ResponsiveImageSelector; class HTMLImageElement final : public nsGenericHTMLElement, - public nsImageLoadingContent, - public nsIDOMHTMLImageElement + public nsImageLoadingContent, + public nsIDOMHTMLImageElement { friend class HTMLSourceElement; friend class HTMLPictureElement; diff --git a/dom/html/HTMLInputElement.h b/dom/html/HTMLInputElement.h index 1a5d25a4a02..8784f2181a8 100644 --- a/dom/html/HTMLInputElement.h +++ b/dom/html/HTMLInputElement.h @@ -89,13 +89,13 @@ public: }; class HTMLInputElement final : public nsGenericHTMLFormElementWithState, - public nsImageLoadingContent, - public nsIDOMHTMLInputElement, - public nsITextControlElement, - public nsIPhonetic, - public nsIDOMNSEditableElement, - public nsITimerCallback, - public nsIConstraintValidation + public nsImageLoadingContent, + public nsIDOMHTMLInputElement, + public nsITextControlElement, + public nsIPhonetic, + public nsIDOMNSEditableElement, + public nsITimerCallback, + public nsIConstraintValidation { friend class DirPickerFileListBuilderTask; diff --git a/dom/html/HTMLLIElement.h b/dom/html/HTMLLIElement.h index 440d345df2c..ec77c73cd73 100644 --- a/dom/html/HTMLLIElement.h +++ b/dom/html/HTMLLIElement.h @@ -15,7 +15,7 @@ namespace mozilla { namespace dom { class HTMLLIElement final : public nsGenericHTMLElement, - public nsIDOMHTMLLIElement + public nsIDOMHTMLLIElement { public: explicit HTMLLIElement(already_AddRefed& aNodeInfo) diff --git a/dom/html/HTMLLabelElement.h b/dom/html/HTMLLabelElement.h index aff6901eb86..f90d43be9dd 100644 --- a/dom/html/HTMLLabelElement.h +++ b/dom/html/HTMLLabelElement.h @@ -18,7 +18,7 @@ class EventChainPostVisitor; namespace dom { class HTMLLabelElement final : public nsGenericHTMLFormElement, - public nsIDOMHTMLLabelElement + public nsIDOMHTMLLabelElement { public: explicit HTMLLabelElement(already_AddRefed& aNodeInfo) diff --git a/dom/html/HTMLLinkElement.h b/dom/html/HTMLLinkElement.h index bb05599f935..1ef429fb167 100644 --- a/dom/html/HTMLLinkElement.h +++ b/dom/html/HTMLLinkElement.h @@ -19,9 +19,9 @@ class EventChainPreVisitor; namespace dom { class HTMLLinkElement final : public nsGenericHTMLElement, - public nsIDOMHTMLLinkElement, - public nsStyleLinkElement, - public Link + public nsIDOMHTMLLinkElement, + public nsStyleLinkElement, + public Link { public: explicit HTMLLinkElement(already_AddRefed& aNodeInfo); diff --git a/dom/html/HTMLMapElement.h b/dom/html/HTMLMapElement.h index 869cbeb8172..34afaf96419 100644 --- a/dom/html/HTMLMapElement.h +++ b/dom/html/HTMLMapElement.h @@ -18,7 +18,7 @@ namespace mozilla { namespace dom { class HTMLMapElement final : public nsGenericHTMLElement, - public nsIDOMHTMLMapElement + public nsIDOMHTMLMapElement { public: explicit HTMLMapElement(already_AddRefed& aNodeInfo); diff --git a/dom/html/HTMLMediaElement.cpp b/dom/html/HTMLMediaElement.cpp index 27d13e53ade..1411c598e2d 100644 --- a/dom/html/HTMLMediaElement.cpp +++ b/dom/html/HTMLMediaElement.cpp @@ -258,9 +258,9 @@ public: * We break the reference cycle in OnStartRequest by clearing mElement. */ class HTMLMediaElement::MediaLoadListener final : public nsIStreamListener, - public nsIChannelEventSink, - public nsIInterfaceRequestor, - public nsIObserver + public nsIChannelEventSink, + public nsIInterfaceRequestor, + public nsIObserver { ~MediaLoadListener() {} diff --git a/dom/html/HTMLMenuElement.h b/dom/html/HTMLMenuElement.h index 272b436c5a5..4ffab2c173b 100644 --- a/dom/html/HTMLMenuElement.h +++ b/dom/html/HTMLMenuElement.h @@ -15,8 +15,8 @@ namespace mozilla { namespace dom { class HTMLMenuElement final : public nsGenericHTMLElement, - public nsIDOMHTMLMenuElement, - public nsIHTMLMenu + public nsIDOMHTMLMenuElement, + public nsIHTMLMenu { public: explicit HTMLMenuElement(already_AddRefed& aNodeInfo); diff --git a/dom/html/HTMLMenuItemElement.h b/dom/html/HTMLMenuItemElement.h index b5bdcff26e5..edb0e122b58 100644 --- a/dom/html/HTMLMenuItemElement.h +++ b/dom/html/HTMLMenuItemElement.h @@ -19,7 +19,7 @@ namespace dom { class Visitor; class HTMLMenuItemElement final : public nsGenericHTMLElement, - public nsIDOMHTMLMenuItemElement + public nsIDOMHTMLMenuItemElement { public: using mozilla::dom::Element::GetText; diff --git a/dom/html/HTMLMetaElement.h b/dom/html/HTMLMetaElement.h index e8492abc003..8331f697e11 100644 --- a/dom/html/HTMLMetaElement.h +++ b/dom/html/HTMLMetaElement.h @@ -14,7 +14,7 @@ namespace mozilla { namespace dom { class HTMLMetaElement final : public nsGenericHTMLElement, - public nsIDOMHTMLMetaElement + public nsIDOMHTMLMetaElement { public: explicit HTMLMetaElement(already_AddRefed& aNodeInfo); diff --git a/dom/html/HTMLObjectElement.h b/dom/html/HTMLObjectElement.h index 4de138bf877..855e6533626 100644 --- a/dom/html/HTMLObjectElement.h +++ b/dom/html/HTMLObjectElement.h @@ -17,9 +17,9 @@ namespace mozilla { namespace dom { class HTMLObjectElement final : public nsGenericHTMLFormElement - , public nsObjectLoadingContent - , public nsIDOMHTMLObjectElement - , public nsIConstraintValidation + , public nsObjectLoadingContent + , public nsIDOMHTMLObjectElement + , public nsIConstraintValidation { public: explicit HTMLObjectElement(already_AddRefed& aNodeInfo, diff --git a/dom/html/HTMLOptGroupElement.h b/dom/html/HTMLOptGroupElement.h index 310c6065094..8576f87dcca 100644 --- a/dom/html/HTMLOptGroupElement.h +++ b/dom/html/HTMLOptGroupElement.h @@ -15,7 +15,7 @@ class EventChainPreVisitor; namespace dom { class HTMLOptGroupElement final : public nsGenericHTMLElement, - public nsIDOMHTMLOptGroupElement + public nsIDOMHTMLOptGroupElement { public: explicit HTMLOptGroupElement(already_AddRefed& aNodeInfo); diff --git a/dom/html/HTMLOptionElement.h b/dom/html/HTMLOptionElement.h index de4fc63d1d0..81447971127 100644 --- a/dom/html/HTMLOptionElement.h +++ b/dom/html/HTMLOptionElement.h @@ -18,7 +18,7 @@ namespace dom { class HTMLSelectElement; class HTMLOptionElement final : public nsGenericHTMLElement, - public nsIDOMHTMLOptionElement + public nsIDOMHTMLOptionElement { public: explicit HTMLOptionElement(already_AddRefed& aNodeInfo); diff --git a/dom/html/HTMLOptionsCollection.h b/dom/html/HTMLOptionsCollection.h index 6175fa94a84..2b138901e6e 100644 --- a/dom/html/HTMLOptionsCollection.h +++ b/dom/html/HTMLOptionsCollection.h @@ -31,8 +31,8 @@ class HTMLSelectElement; * select.options in DOM) */ class HTMLOptionsCollection final : public nsIHTMLCollection - , public nsIDOMHTMLOptionsCollection - , public nsWrapperCache + , public nsIDOMHTMLOptionsCollection + , public nsWrapperCache { typedef HTMLOptionElementOrHTMLOptGroupElement HTMLOptionOrOptGroupElement; public: diff --git a/dom/html/HTMLOutputElement.h b/dom/html/HTMLOutputElement.h index 34c368c9d0f..68dbb57debb 100644 --- a/dom/html/HTMLOutputElement.h +++ b/dom/html/HTMLOutputElement.h @@ -15,8 +15,8 @@ namespace mozilla { namespace dom { class HTMLOutputElement final : public nsGenericHTMLFormElement, - public nsStubMutationObserver, - public nsIConstraintValidation + public nsStubMutationObserver, + public nsIConstraintValidation { public: using nsIConstraintValidation::GetValidationMessage; diff --git a/dom/html/HTMLParagraphElement.h b/dom/html/HTMLParagraphElement.h index 25f69770c3a..cea6c3c4e4e 100644 --- a/dom/html/HTMLParagraphElement.h +++ b/dom/html/HTMLParagraphElement.h @@ -15,7 +15,7 @@ namespace mozilla { namespace dom { class HTMLParagraphElement final : public nsGenericHTMLElement, - public nsIDOMHTMLParagraphElement + public nsIDOMHTMLParagraphElement { public: explicit HTMLParagraphElement(already_AddRefed& aNodeInfo) diff --git a/dom/html/HTMLPictureElement.h b/dom/html/HTMLPictureElement.h index d161d317cc9..1253aabe62f 100644 --- a/dom/html/HTMLPictureElement.h +++ b/dom/html/HTMLPictureElement.h @@ -17,7 +17,7 @@ namespace mozilla { namespace dom { class HTMLPictureElement final : public nsGenericHTMLElement, - public nsIDOMHTMLPictureElement + public nsIDOMHTMLPictureElement { public: explicit HTMLPictureElement(already_AddRefed& aNodeInfo); diff --git a/dom/html/HTMLPreElement.h b/dom/html/HTMLPreElement.h index 4a270ecda61..708ff0190a7 100644 --- a/dom/html/HTMLPreElement.h +++ b/dom/html/HTMLPreElement.h @@ -15,7 +15,7 @@ namespace mozilla { namespace dom { class HTMLPreElement final : public nsGenericHTMLElement, - public nsIDOMHTMLPreElement + public nsIDOMHTMLPreElement { public: explicit HTMLPreElement(already_AddRefed& aNodeInfo) diff --git a/dom/html/HTMLPropertiesCollection.h b/dom/html/HTMLPropertiesCollection.h index 0c6cbbf0797..ff40ea0c237 100644 --- a/dom/html/HTMLPropertiesCollection.h +++ b/dom/html/HTMLPropertiesCollection.h @@ -49,8 +49,8 @@ protected: }; class HTMLPropertiesCollection final : public nsIHTMLCollection, - public nsStubMutationObserver, - public nsWrapperCache + public nsStubMutationObserver, + public nsWrapperCache { friend class PropertyNodeList; friend class PropertyStringList; @@ -149,7 +149,7 @@ protected: }; class PropertyNodeList final : public nsINodeList, - public nsStubMutationObserver + public nsStubMutationObserver { public: PropertyNodeList(HTMLPropertiesCollection* aCollection, diff --git a/dom/html/HTMLScriptElement.h b/dom/html/HTMLScriptElement.h index 7c1c44fd9d2..94c721731b8 100644 --- a/dom/html/HTMLScriptElement.h +++ b/dom/html/HTMLScriptElement.h @@ -16,8 +16,8 @@ namespace mozilla { namespace dom { class HTMLScriptElement final : public nsGenericHTMLElement, - public nsIDOMHTMLScriptElement, - public nsScriptElement + public nsIDOMHTMLScriptElement, + public nsScriptElement { public: using Element::GetText; diff --git a/dom/html/HTMLSelectElement.h b/dom/html/HTMLSelectElement.h index b9c6e243f1c..32859345fba 100644 --- a/dom/html/HTMLSelectElement.h +++ b/dom/html/HTMLSelectElement.h @@ -113,8 +113,8 @@ private: * Implementation of <select> */ class HTMLSelectElement final : public nsGenericHTMLFormElementWithState, - public nsIDOMHTMLSelectElement, - public nsIConstraintValidation + public nsIDOMHTMLSelectElement, + public nsIConstraintValidation { public: /** diff --git a/dom/html/HTMLShadowElement.h b/dom/html/HTMLShadowElement.h index 6800dd46ba0..1feac60beef 100644 --- a/dom/html/HTMLShadowElement.h +++ b/dom/html/HTMLShadowElement.h @@ -12,7 +12,7 @@ namespace mozilla { namespace dom { class HTMLShadowElement final : public nsGenericHTMLElement, - public nsStubMutationObserver + public nsStubMutationObserver { public: explicit HTMLShadowElement(already_AddRefed& aNodeInfo); diff --git a/dom/html/HTMLSharedElement.h b/dom/html/HTMLSharedElement.h index dc46635f645..048d2c9846f 100644 --- a/dom/html/HTMLSharedElement.h +++ b/dom/html/HTMLSharedElement.h @@ -22,11 +22,11 @@ namespace mozilla { namespace dom { class HTMLSharedElement final : public nsGenericHTMLElement, - public nsIDOMHTMLBaseElement, - public nsIDOMHTMLDirectoryElement, - public nsIDOMHTMLQuoteElement, - public nsIDOMHTMLHeadElement, - public nsIDOMHTMLHtmlElement + public nsIDOMHTMLBaseElement, + public nsIDOMHTMLDirectoryElement, + public nsIDOMHTMLQuoteElement, + public nsIDOMHTMLHeadElement, + public nsIDOMHTMLHtmlElement { public: explicit HTMLSharedElement(already_AddRefed& aNodeInfo) diff --git a/dom/html/HTMLSharedListElement.h b/dom/html/HTMLSharedListElement.h index 5cb7dccf78e..acb88f1f0be 100644 --- a/dom/html/HTMLSharedListElement.h +++ b/dom/html/HTMLSharedListElement.h @@ -16,8 +16,8 @@ namespace mozilla { namespace dom { class HTMLSharedListElement final : public nsGenericHTMLElement, - public nsIDOMHTMLOListElement, - public nsIDOMHTMLUListElement + public nsIDOMHTMLOListElement, + public nsIDOMHTMLUListElement { public: explicit HTMLSharedListElement(already_AddRefed& aNodeInfo) diff --git a/dom/html/HTMLSharedObjectElement.h b/dom/html/HTMLSharedObjectElement.h index 89e61041a70..6d3071146de 100644 --- a/dom/html/HTMLSharedObjectElement.h +++ b/dom/html/HTMLSharedObjectElement.h @@ -19,9 +19,9 @@ namespace mozilla { namespace dom { class HTMLSharedObjectElement final : public nsGenericHTMLElement - , public nsObjectLoadingContent - , public nsIDOMHTMLAppletElement - , public nsIDOMHTMLEmbedElement + , public nsObjectLoadingContent + , public nsIDOMHTMLAppletElement + , public nsIDOMHTMLEmbedElement { public: explicit HTMLSharedObjectElement(already_AddRefed& aNodeInfo, diff --git a/dom/html/HTMLSourceElement.h b/dom/html/HTMLSourceElement.h index f98db495f48..34ddc82c1cd 100644 --- a/dom/html/HTMLSourceElement.h +++ b/dom/html/HTMLSourceElement.h @@ -19,7 +19,7 @@ namespace dom { class ResponsiveImageSelector; class HTMLSourceElement final : public nsGenericHTMLElement, - public nsIDOMHTMLSourceElement + public nsIDOMHTMLSourceElement { public: explicit HTMLSourceElement(already_AddRefed& aNodeInfo); diff --git a/dom/html/HTMLStyleElement.h b/dom/html/HTMLStyleElement.h index eadd51871ac..63e748db796 100644 --- a/dom/html/HTMLStyleElement.h +++ b/dom/html/HTMLStyleElement.h @@ -18,9 +18,9 @@ namespace mozilla { namespace dom { class HTMLStyleElement final : public nsGenericHTMLElement, - public nsIDOMHTMLStyleElement, - public nsStyleLinkElement, - public nsStubMutationObserver + public nsIDOMHTMLStyleElement, + public nsStyleLinkElement, + public nsStubMutationObserver { public: explicit HTMLStyleElement(already_AddRefed& aNodeInfo); diff --git a/dom/html/HTMLTableCaptionElement.h b/dom/html/HTMLTableCaptionElement.h index 612566d2ec0..15f41d8ef40 100644 --- a/dom/html/HTMLTableCaptionElement.h +++ b/dom/html/HTMLTableCaptionElement.h @@ -13,7 +13,7 @@ namespace mozilla { namespace dom { class HTMLTableCaptionElement final : public nsGenericHTMLElement, - public nsIDOMHTMLTableCaptionElement + public nsIDOMHTMLTableCaptionElement { public: explicit HTMLTableCaptionElement(already_AddRefed& aNodeInfo) diff --git a/dom/html/HTMLTableCellElement.h b/dom/html/HTMLTableCellElement.h index eb8fe3b060e..d0da453f434 100644 --- a/dom/html/HTMLTableCellElement.h +++ b/dom/html/HTMLTableCellElement.h @@ -17,7 +17,7 @@ namespace dom { class HTMLTableElement; class HTMLTableCellElement final : public nsGenericHTMLElement, - public nsIDOMHTMLTableCellElement + public nsIDOMHTMLTableCellElement { public: explicit HTMLTableCellElement(already_AddRefed& aNodeInfo) diff --git a/dom/html/HTMLTableElement.h b/dom/html/HTMLTableElement.h index 1d8fa067d08..1907a22b12c 100644 --- a/dom/html/HTMLTableElement.h +++ b/dom/html/HTMLTableElement.h @@ -19,7 +19,7 @@ namespace dom { class TableRowsCollection; class HTMLTableElement final : public nsGenericHTMLElement, - public nsIDOMHTMLTableElement + public nsIDOMHTMLTableElement { public: explicit HTMLTableElement(already_AddRefed& aNodeInfo); diff --git a/dom/html/HTMLTextAreaElement.h b/dom/html/HTMLTextAreaElement.h index f382a172739..b871184b419 100644 --- a/dom/html/HTMLTextAreaElement.h +++ b/dom/html/HTMLTextAreaElement.h @@ -36,11 +36,11 @@ class EventStates; namespace dom { class HTMLTextAreaElement final : public nsGenericHTMLFormElementWithState, - public nsIDOMHTMLTextAreaElement, - public nsITextControlElement, - public nsIDOMNSEditableElement, - public nsStubMutationObserver, - public nsIConstraintValidation + public nsIDOMHTMLTextAreaElement, + public nsITextControlElement, + public nsIDOMNSEditableElement, + public nsStubMutationObserver, + public nsIConstraintValidation { public: using nsIConstraintValidation::GetValidationMessage; diff --git a/dom/html/HTMLTitleElement.h b/dom/html/HTMLTitleElement.h index 9c716fbfd0e..81ef2be8e9d 100644 --- a/dom/html/HTMLTitleElement.h +++ b/dom/html/HTMLTitleElement.h @@ -17,8 +17,8 @@ class ErrorResult; namespace dom { class HTMLTitleElement final : public nsGenericHTMLElement, - public nsIDOMHTMLTitleElement, - public nsStubMutationObserver + public nsIDOMHTMLTitleElement, + public nsStubMutationObserver { public: using Element::GetText; diff --git a/dom/html/ImageDocument.h b/dom/html/ImageDocument.h index 8f404ca9750..c8564dd9588 100644 --- a/dom/html/ImageDocument.h +++ b/dom/html/ImageDocument.h @@ -15,9 +15,9 @@ namespace mozilla { namespace dom { class ImageDocument final : public MediaDocument, - public nsIImageDocument, - public imgINotificationObserver, - public nsIDOMEventListener + public nsIImageDocument, + public imgINotificationObserver, + public nsIDOMEventListener { public: ImageDocument(); diff --git a/dom/html/MediaError.h b/dom/html/MediaError.h index aea0b00e8d5..f0d00a5a511 100644 --- a/dom/html/MediaError.h +++ b/dom/html/MediaError.h @@ -17,7 +17,7 @@ namespace mozilla { namespace dom { class MediaError final : public nsIDOMMediaError, - public nsWrapperCache + public nsWrapperCache { ~MediaError() {} diff --git a/dom/html/PluginDocument.cpp b/dom/html/PluginDocument.cpp index 94dd437bbc1..646a625cfb7 100644 --- a/dom/html/PluginDocument.cpp +++ b/dom/html/PluginDocument.cpp @@ -23,7 +23,7 @@ namespace mozilla { namespace dom { class PluginDocument final : public MediaDocument - , public nsIPluginDocument + , public nsIPluginDocument { public: PluginDocument(); diff --git a/dom/html/UndoManager.h b/dom/html/UndoManager.h index 6b9029a9b81..b56b62d0eda 100644 --- a/dom/html/UndoManager.h +++ b/dom/html/UndoManager.h @@ -26,7 +26,7 @@ class DOMTransaction; class DOMTransactionCallback; class UndoManager final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { friend class TxnScopeGuard; public: diff --git a/dom/html/ValidityState.h b/dom/html/ValidityState.h index 25effb42144..9e37df9b693 100644 --- a/dom/html/ValidityState.h +++ b/dom/html/ValidityState.h @@ -15,7 +15,7 @@ namespace mozilla { namespace dom { class ValidityState final : public nsIDOMValidityState, - public nsWrapperCache + public nsWrapperCache { ~ValidityState() {} diff --git a/dom/html/nsHTMLDNSPrefetch.h b/dom/html/nsHTMLDNSPrefetch.h index 918836ef5c6..e2110bed83a 100644 --- a/dom/html/nsHTMLDNSPrefetch.h +++ b/dom/html/nsHTMLDNSPrefetch.h @@ -82,8 +82,8 @@ public: }; class nsDeferrals final: public nsIWebProgressListener - , public nsSupportsWeakReference - , public nsIObserver + , public nsSupportsWeakReference + , public nsIObserver { public: NS_DECL_ISUPPORTS diff --git a/dom/html/nsTextEditorState.cpp b/dom/html/nsTextEditorState.cpp index f4e3f160b5a..d35378921a9 100644 --- a/dom/html/nsTextEditorState.cpp +++ b/dom/html/nsTextEditorState.cpp @@ -199,7 +199,7 @@ private: }; class nsTextInputSelectionImpl final : public nsSupportsWeakReference - , public nsISelectionController + , public nsISelectionController { ~nsTextInputSelectionImpl(){} diff --git a/dom/indexedDB/IDBFileHandle.h b/dom/indexedDB/IDBFileHandle.h index c08b7649821..51f2b707e30 100644 --- a/dom/indexedDB/IDBFileHandle.h +++ b/dom/indexedDB/IDBFileHandle.h @@ -29,9 +29,9 @@ namespace indexedDB { class IDBMutableFile; class IDBFileHandle final : public DOMEventTargetHelper, - public nsIRunnable, - public FileHandleBase, - public nsSupportsWeakReference + public nsIRunnable, + public FileHandleBase, + public nsSupportsWeakReference { public: NS_DECL_ISUPPORTS_INHERITED diff --git a/dom/indexedDB/IDBFileRequest.h b/dom/indexedDB/IDBFileRequest.h index afad5c0be6d..8b5c6c9ed6b 100644 --- a/dom/indexedDB/IDBFileRequest.h +++ b/dom/indexedDB/IDBFileRequest.h @@ -26,7 +26,7 @@ namespace indexedDB { class IDBFileHandle; class IDBFileRequest final : public DOMRequest, - public FileRequestBase + public FileRequestBase { public: NS_DECL_ISUPPORTS_INHERITED diff --git a/dom/ipc/ContentBridgeChild.h b/dom/ipc/ContentBridgeChild.h index 5f24c952d59..ea0c2b9687f 100644 --- a/dom/ipc/ContentBridgeChild.h +++ b/dom/ipc/ContentBridgeChild.h @@ -14,7 +14,7 @@ namespace mozilla { namespace dom { class ContentBridgeChild final : public PContentBridgeChild - , public nsIContentChild + , public nsIContentChild { public: explicit ContentBridgeChild(Transport* aTransport); diff --git a/dom/ipc/ContentParent.cpp b/dom/ipc/ContentParent.cpp index a71cbd58117..a077d39d8c8 100755 --- a/dom/ipc/ContentParent.cpp +++ b/dom/ipc/ContentParent.cpp @@ -241,7 +241,7 @@ using namespace mozilla::widget; #ifdef ENABLE_TESTS class BackgroundTester final : public nsIIPCBackgroundChildCreateCallback, - public nsIObserver + public nsIObserver { static uint32_t sCallbackCount; diff --git a/dom/ipc/ContentParent.h b/dom/ipc/ContentParent.h index 95756dfb917..b722a011da5 100644 --- a/dom/ipc/ContentParent.h +++ b/dom/ipc/ContentParent.h @@ -67,11 +67,11 @@ class TabContext; class ContentBridgeParent; class ContentParent final : public PContentParent - , public nsIContentParent - , public nsIObserver - , public nsIDOMGeoPositionCallback - , public nsIDOMGeoPositionErrorCallback - , public mozilla::LinkedListElement + , public nsIContentParent + , public nsIObserver + , public nsIDOMGeoPositionCallback + , public nsIDOMGeoPositionErrorCallback + , public mozilla::LinkedListElement { typedef mozilla::ipc::GeckoChildProcessHost GeckoChildProcessHost; typedef mozilla::ipc::OptionalURIParams OptionalURIParams; diff --git a/dom/ipc/TabChild.h b/dom/ipc/TabChild.h index 1ca2182d08a..06203281ce4 100644 --- a/dom/ipc/TabChild.h +++ b/dom/ipc/TabChild.h @@ -226,19 +226,19 @@ protected: }; class TabChild final : public TabChildBase, - public PBrowserChild, - public nsIWebBrowserChrome2, - public nsIEmbeddingSiteWindow, - public nsIWebBrowserChromeFocus, - public nsIInterfaceRequestor, - public nsIWindowProvider, - public nsIDOMEventListener, - public nsIWebProgressListener, - public nsSupportsWeakReference, - public nsITabChild, - public nsIObserver, - public TabContext, - public nsITooltipListener + public PBrowserChild, + public nsIWebBrowserChrome2, + public nsIEmbeddingSiteWindow, + public nsIWebBrowserChromeFocus, + public nsIInterfaceRequestor, + public nsIWindowProvider, + public nsIDOMEventListener, + public nsIWebProgressListener, + public nsSupportsWeakReference, + public nsITabChild, + public nsIObserver, + public TabContext, + public nsITooltipListener { typedef mozilla::dom::ClonedMessageData ClonedMessageData; typedef mozilla::layout::RenderFrameChild RenderFrameChild; diff --git a/dom/ipc/TabParent.cpp b/dom/ipc/TabParent.cpp index 574eb3799bb..a7ad4533743 100644 --- a/dom/ipc/TabParent.cpp +++ b/dom/ipc/TabParent.cpp @@ -2796,9 +2796,9 @@ TabParent::HandleEvent(nsIDOMEvent* aEvent) } class FakeChannel final : public nsIChannel, - public nsIAuthPromptCallback, - public nsIInterfaceRequestor, - public nsILoadContext + public nsIAuthPromptCallback, + public nsIInterfaceRequestor, + public nsILoadContext { public: FakeChannel(const nsCString& aUri, uint64_t aCallbackId, Element* aElement) diff --git a/dom/mathml/nsMathMLElement.h b/dom/mathml/nsMathMLElement.h index d55f9cf3d8a..ac387c6c55e 100644 --- a/dom/mathml/nsMathMLElement.h +++ b/dom/mathml/nsMathMLElement.h @@ -26,8 +26,8 @@ class EventChainPreVisitor; * The base class for MathML elements. */ class nsMathMLElement final : public nsMathMLElementBase, - public nsIDOMElement, - public mozilla::dom::Link + public nsIDOMElement, + public mozilla::dom::Link { public: explicit nsMathMLElement(already_AddRefed& aNodeInfo); diff --git a/dom/media/MediaCache.cpp b/dom/media/MediaCache.cpp index 065ca568d31..2499e6bb0ea 100644 --- a/dom/media/MediaCache.cpp +++ b/dom/media/MediaCache.cpp @@ -67,7 +67,8 @@ static const uint32_t FREE_BLOCK_SCAN_LIMIT = 16; static MediaCache* gMediaCache; class MediaCacheFlusher final : public nsIObserver, - public nsSupportsWeakReference { + public nsSupportsWeakReference +{ MediaCacheFlusher() {} ~MediaCacheFlusher(); public: diff --git a/dom/media/MediaManager.h b/dom/media/MediaManager.h index 9b9ff9d220a..e902e1e68ed 100644 --- a/dom/media/MediaManager.h +++ b/dom/media/MediaManager.h @@ -545,7 +545,7 @@ typedef void (*WindowListenerCallback)(MediaManager *aThis, void *aData); class MediaManager final : public nsIMediaManagerService, - public nsIObserver + public nsIObserver { public: static already_AddRefed GetInstance(); diff --git a/dom/media/MediaRecorder.h b/dom/media/MediaRecorder.h index 2b32687165f..8ad14fdafa6 100644 --- a/dom/media/MediaRecorder.h +++ b/dom/media/MediaRecorder.h @@ -39,7 +39,7 @@ class AudioNode; */ class MediaRecorder final : public DOMEventTargetHelper, - public nsIDocumentActivity + public nsIDocumentActivity { class Session; diff --git a/dom/media/MediaResource.h b/dom/media/MediaResource.h index c3c5dc5e99b..b15af5db915 100644 --- a/dom/media/MediaResource.h +++ b/dom/media/MediaResource.h @@ -631,8 +631,8 @@ public: } class Listener final : public nsIStreamListener, - public nsIInterfaceRequestor, - public nsIChannelEventSink + public nsIInterfaceRequestor, + public nsIChannelEventSink { ~Listener() {} public: diff --git a/dom/media/MediaStreamError.h b/dom/media/MediaStreamError.h index 65fc9da1180..411ac0479d6 100644 --- a/dom/media/MediaStreamError.h +++ b/dom/media/MediaStreamError.h @@ -41,7 +41,7 @@ protected: }; class MediaMgrError final : public nsISupports, - public BaseMediaMgrError + public BaseMediaMgrError { public: explicit MediaMgrError(const nsAString& aName, @@ -57,8 +57,8 @@ private: namespace dom { class MediaStreamError final : public nsISupports, - public BaseMediaMgrError, - public nsWrapperCache + public BaseMediaMgrError, + public nsWrapperCache { public: MediaStreamError(nsPIDOMWindow* aParent, diff --git a/dom/media/RTCIdentityProviderRegistrar.h b/dom/media/RTCIdentityProviderRegistrar.h index 38a0de5b716..18dca0c1713 100644 --- a/dom/media/RTCIdentityProviderRegistrar.h +++ b/dom/media/RTCIdentityProviderRegistrar.h @@ -21,7 +21,7 @@ namespace dom { class RTCIdentityProvider; class RTCIdentityProviderRegistrar final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/media/RtspMediaResource.h b/dom/media/RtspMediaResource.h index 260c2fa4421..8bebd9d49e2 100644 --- a/dom/media/RtspMediaResource.h +++ b/dom/media/RtspMediaResource.h @@ -209,7 +209,7 @@ public: // data arrival. The Revoke function releases the reference when // RtspMediaResource::OnDisconnected is called. class Listener final : public nsIInterfaceRequestor, - public nsIStreamingProtocolListener + public nsIStreamingProtocolListener { ~Listener() {} public: diff --git a/dom/media/TextTrackCueList.h b/dom/media/TextTrackCueList.h index 24ecd920196..da71a8d1864 100644 --- a/dom/media/TextTrackCueList.h +++ b/dom/media/TextTrackCueList.h @@ -19,7 +19,7 @@ namespace dom { class TextTrackCue; class TextTrackCueList final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/media/TextTrackRegion.h b/dom/media/TextTrackRegion.h index d24abe59d01..c6f5c7cce93 100644 --- a/dom/media/TextTrackRegion.h +++ b/dom/media/TextTrackRegion.h @@ -22,7 +22,7 @@ class GlobalObject; class TextTrack; class TextTrackRegion final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: diff --git a/dom/media/WebVTTListener.h b/dom/media/WebVTTListener.h index 94604983d79..5be9ceae439 100644 --- a/dom/media/WebVTTListener.h +++ b/dom/media/WebVTTListener.h @@ -21,9 +21,9 @@ namespace dom { class HTMLTrackElement; class WebVTTListener final : public nsIWebVTTListener, - public nsIStreamListener, - public nsIChannelEventSink, - public nsIInterfaceRequestor + public nsIStreamListener, + public nsIChannelEventSink, + public nsIInterfaceRequestor { NS_DECL_CYCLE_COLLECTING_ISUPPORTS NS_DECL_NSIWEBVTTLISTENER diff --git a/dom/media/eme/MediaKeyStatusMap.h b/dom/media/eme/MediaKeyStatusMap.h index db41b42836c..b82b5958430 100644 --- a/dom/media/eme/MediaKeyStatusMap.h +++ b/dom/media/eme/MediaKeyStatusMap.h @@ -24,7 +24,7 @@ namespace dom { class ArrayBufferViewOrArrayBuffer; class MediaKeyStatusMap final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/media/eme/MediaKeySystemAccess.h b/dom/media/eme/MediaKeySystemAccess.h index 48405132df4..ba3751763ae 100644 --- a/dom/media/eme/MediaKeySystemAccess.h +++ b/dom/media/eme/MediaKeySystemAccess.h @@ -22,7 +22,7 @@ namespace mozilla { namespace dom { class MediaKeySystemAccess final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/media/gmp/GMPAudioDecoderParent.h b/dom/media/gmp/GMPAudioDecoderParent.h index 30dad915b09..66fc4da94e5 100644 --- a/dom/media/gmp/GMPAudioDecoderParent.h +++ b/dom/media/gmp/GMPAudioDecoderParent.h @@ -19,7 +19,7 @@ namespace gmp { class GMPParent; class GMPAudioDecoderParent final : public GMPAudioDecoderProxy - , public PGMPAudioDecoderParent + , public PGMPAudioDecoderParent { public: NS_INLINE_DECL_REFCOUNTING(GMPAudioDecoderParent) diff --git a/dom/media/gmp/GMPVideoDecoderParent.h b/dom/media/gmp/GMPVideoDecoderParent.h index 23c4d706c56..42bcac1d0de 100644 --- a/dom/media/gmp/GMPVideoDecoderParent.h +++ b/dom/media/gmp/GMPVideoDecoderParent.h @@ -21,8 +21,8 @@ namespace gmp { class GMPParent; class GMPVideoDecoderParent final : public PGMPVideoDecoderParent - , public GMPVideoDecoderProxy - , public GMPSharedMemManager + , public GMPVideoDecoderProxy + , public GMPSharedMemManager { public: NS_INLINE_DECL_REFCOUNTING(GMPVideoDecoderParent) diff --git a/dom/media/systemservices/LoadManager.h b/dom/media/systemservices/LoadManager.h index 7df86666604..d2e5c4e9ead 100644 --- a/dom/media/systemservices/LoadManager.h +++ b/dom/media/systemservices/LoadManager.h @@ -73,7 +73,7 @@ private: }; class LoadManager final : public webrtc::CPULoadStateCallbackInvoker, - public webrtc::CpuOveruseObserver + public webrtc::CpuOveruseObserver { public: explicit LoadManager(LoadManagerSingleton* aManager) diff --git a/dom/media/webaudio/AudioContext.h b/dom/media/webaudio/AudioContext.h index f9f751f4b81..ed9a7fe55bd 100644 --- a/dom/media/webaudio/AudioContext.h +++ b/dom/media/webaudio/AudioContext.h @@ -65,7 +65,7 @@ class PeriodicWave; class Promise; class AudioContext final : public DOMEventTargetHelper, - public nsIMemoryReporter + public nsIMemoryReporter { AudioContext(nsPIDOMWindow* aParentWindow, bool aIsOffline, diff --git a/dom/media/webaudio/AudioDestinationNode.h b/dom/media/webaudio/AudioDestinationNode.h index 58d5a7dc26d..3aafe9ec423 100644 --- a/dom/media/webaudio/AudioDestinationNode.h +++ b/dom/media/webaudio/AudioDestinationNode.h @@ -20,9 +20,9 @@ class AudioContext; class EventProxyHandler; class AudioDestinationNode final : public AudioNode - , public nsIDOMEventListener - , public nsIAudioChannelAgentCallback - , public MainThreadMediaStreamListener + , public nsIDOMEventListener + , public nsIAudioChannelAgentCallback + , public MainThreadMediaStreamListener { public: // This node type knows what MediaStreamGraph to use based on diff --git a/dom/media/webaudio/AudioParam.h b/dom/media/webaudio/AudioParam.h index 52f9260eee6..2e5b6f5c1d3 100644 --- a/dom/media/webaudio/AudioParam.h +++ b/dom/media/webaudio/AudioParam.h @@ -21,7 +21,7 @@ namespace mozilla { namespace dom { class AudioParam final : public nsWrapperCache, - public AudioParamTimeline + public AudioParamTimeline { virtual ~AudioParam(); diff --git a/dom/media/webspeech/recognition/SpeechGrammar.h b/dom/media/webspeech/recognition/SpeechGrammar.h index 75f33884a64..70453e513f7 100644 --- a/dom/media/webspeech/recognition/SpeechGrammar.h +++ b/dom/media/webspeech/recognition/SpeechGrammar.h @@ -22,7 +22,7 @@ namespace dom { class GlobalObject; class SpeechGrammar final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: explicit SpeechGrammar(nsISupports* aParent); diff --git a/dom/media/webspeech/recognition/SpeechGrammarList.h b/dom/media/webspeech/recognition/SpeechGrammarList.h index acfbce269c1..a821ab9817d 100644 --- a/dom/media/webspeech/recognition/SpeechGrammarList.h +++ b/dom/media/webspeech/recognition/SpeechGrammarList.h @@ -26,7 +26,7 @@ class SpeechGrammar; template class Optional; class SpeechGrammarList final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: explicit SpeechGrammarList(nsISupports* aParent, nsISpeechRecognitionService* aRecognitionService); diff --git a/dom/media/webspeech/recognition/SpeechRecognition.h b/dom/media/webspeech/recognition/SpeechRecognition.h index 41d30cb0e60..98d4f30f6a3 100644 --- a/dom/media/webspeech/recognition/SpeechRecognition.h +++ b/dom/media/webspeech/recognition/SpeechRecognition.h @@ -56,8 +56,8 @@ PRLogModuleInfo* GetSpeechRecognitionLog(); already_AddRefed GetSpeechRecognitionService(); class SpeechRecognition final : public DOMEventTargetHelper, - public nsIObserver, - public SupportsWeakPtr + public nsIObserver, + public SupportsWeakPtr { public: MOZ_DECLARE_REFCOUNTED_TYPENAME(SpeechRecognition) diff --git a/dom/media/webspeech/recognition/SpeechRecognitionAlternative.h b/dom/media/webspeech/recognition/SpeechRecognitionAlternative.h index a788ce0c104..b1df9e1d305 100644 --- a/dom/media/webspeech/recognition/SpeechRecognitionAlternative.h +++ b/dom/media/webspeech/recognition/SpeechRecognitionAlternative.h @@ -21,7 +21,7 @@ namespace dom { class SpeechRecognition; class SpeechRecognitionAlternative final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: explicit SpeechRecognitionAlternative(SpeechRecognition* aParent); diff --git a/dom/media/webspeech/recognition/SpeechRecognitionResult.h b/dom/media/webspeech/recognition/SpeechRecognitionResult.h index 0bc93662a77..cf1545721b2 100644 --- a/dom/media/webspeech/recognition/SpeechRecognitionResult.h +++ b/dom/media/webspeech/recognition/SpeechRecognitionResult.h @@ -22,7 +22,7 @@ namespace mozilla { namespace dom { class SpeechRecognitionResult final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: explicit SpeechRecognitionResult(SpeechRecognition* aParent); diff --git a/dom/media/webspeech/recognition/SpeechRecognitionResultList.h b/dom/media/webspeech/recognition/SpeechRecognitionResultList.h index 3c1855012c2..861974956ca 100644 --- a/dom/media/webspeech/recognition/SpeechRecognitionResultList.h +++ b/dom/media/webspeech/recognition/SpeechRecognitionResultList.h @@ -23,7 +23,7 @@ namespace dom { class SpeechRecognition; class SpeechRecognitionResultList final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: explicit SpeechRecognitionResultList(SpeechRecognition* aParent); diff --git a/dom/media/webspeech/synth/SpeechSynthesis.h b/dom/media/webspeech/synth/SpeechSynthesis.h index 245f5003425..4b779f9616e 100644 --- a/dom/media/webspeech/synth/SpeechSynthesis.h +++ b/dom/media/webspeech/synth/SpeechSynthesis.h @@ -24,7 +24,7 @@ namespace dom { class nsSpeechTask; class SpeechSynthesis final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: explicit SpeechSynthesis(nsPIDOMWindow* aParent); diff --git a/dom/media/webspeech/synth/SpeechSynthesisVoice.h b/dom/media/webspeech/synth/SpeechSynthesisVoice.h index 994fba7d2f6..f55695d55b7 100644 --- a/dom/media/webspeech/synth/SpeechSynthesisVoice.h +++ b/dom/media/webspeech/synth/SpeechSynthesisVoice.h @@ -21,7 +21,7 @@ class nsSynthVoiceRegistry; class SpeechSynthesis; class SpeechSynthesisVoice final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { friend class nsSynthVoiceRegistry; friend class SpeechSynthesis; diff --git a/dom/media/wmf/WMFByteStream.h b/dom/media/wmf/WMFByteStream.h index 45a9a119d5d..9e8a4a6f4e4 100644 --- a/dom/media/wmf/WMFByteStream.h +++ b/dom/media/wmf/WMFByteStream.h @@ -34,7 +34,7 @@ class SharedThreadPool; // For details see the test code at: // https://github.com/cpearce/IMFByteStreamBehaviour/ class WMFByteStream final : public IMFByteStream - , public IMFAttributes + , public IMFAttributes { ~WMFByteStream(); diff --git a/dom/mobileconnection/MobileCellInfo.h b/dom/mobileconnection/MobileCellInfo.h index efb0e728180..962a9baff1b 100644 --- a/dom/mobileconnection/MobileCellInfo.h +++ b/dom/mobileconnection/MobileCellInfo.h @@ -15,7 +15,7 @@ namespace mozilla { namespace dom { class MobileCellInfo final : public nsIMobileCellInfo - , public nsWrapperCache + , public nsWrapperCache { public: NS_DECL_NSIMOBILECELLINFO diff --git a/dom/mobileconnection/MobileConnection.cpp b/dom/mobileconnection/MobileConnection.cpp index e639cffbf8d..5ab4120c37e 100644 --- a/dom/mobileconnection/MobileConnection.cpp +++ b/dom/mobileconnection/MobileConnection.cpp @@ -50,7 +50,7 @@ using namespace mozilla::dom::mobileconnection; class MobileConnection::Listener final : public nsIMobileConnectionListener #ifdef MOZ_B2G_RIL - , public nsIIccListener + , public nsIIccListener #endif // MOZ_B2G_RIL { MobileConnection* mMobileConnection; diff --git a/dom/mobileconnection/MobileConnection.h b/dom/mobileconnection/MobileConnection.h index ff12e2c7a40..8a4d56c8e71 100644 --- a/dom/mobileconnection/MobileConnection.h +++ b/dom/mobileconnection/MobileConnection.h @@ -22,9 +22,9 @@ namespace mozilla { namespace dom { class MobileConnection final : public DOMEventTargetHelper - , private nsIMobileConnectionListener + , private nsIMobileConnectionListener #ifdef MOZ_B2G_RIL - , private nsIIccListener + , private nsIIccListener #endif // MOZ_B2G_RIL { /** diff --git a/dom/mobileconnection/MobileConnectionArray.h b/dom/mobileconnection/MobileConnectionArray.h index 7846d4e1f0e..39e91d11c28 100644 --- a/dom/mobileconnection/MobileConnectionArray.h +++ b/dom/mobileconnection/MobileConnectionArray.h @@ -14,7 +14,7 @@ namespace mozilla { namespace dom { class MobileConnectionArray final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/mobileconnection/MobileConnectionInfo.h b/dom/mobileconnection/MobileConnectionInfo.h index 4615d4e7779..c0095bbfdef 100644 --- a/dom/mobileconnection/MobileConnectionInfo.h +++ b/dom/mobileconnection/MobileConnectionInfo.h @@ -18,7 +18,7 @@ namespace mozilla { namespace dom { class MobileConnectionInfo final : public nsIMobileConnectionInfo - , public nsWrapperCache + , public nsWrapperCache { public: NS_DECL_NSIMOBILECONNECTIONINFO diff --git a/dom/mobileconnection/MobileNetworkInfo.h b/dom/mobileconnection/MobileNetworkInfo.h index 3f7a26fb07e..7486fd297f2 100644 --- a/dom/mobileconnection/MobileNetworkInfo.h +++ b/dom/mobileconnection/MobileNetworkInfo.h @@ -18,7 +18,7 @@ namespace dom { class GlobalObject; class MobileNetworkInfo final : public nsIMobileNetworkInfo - , public nsWrapperCache + , public nsWrapperCache { public: NS_DECL_NSIMOBILENETWORKINFO diff --git a/dom/mobileconnection/ipc/MobileConnectionChild.h b/dom/mobileconnection/ipc/MobileConnectionChild.h index f696ac4065e..ef7d9331f75 100644 --- a/dom/mobileconnection/ipc/MobileConnectionChild.h +++ b/dom/mobileconnection/ipc/MobileConnectionChild.h @@ -26,7 +26,7 @@ namespace mobileconnection { * be created and each instance represents a sim slot. */ class MobileConnectionChild final : public PMobileConnectionChild - , public nsIMobileConnection + , public nsIMobileConnection { public: NS_DECL_ISUPPORTS diff --git a/dom/mobilemessage/MobileMessageManager.h b/dom/mobilemessage/MobileMessageManager.h index 0bc30982df0..5e3da5d55b0 100644 --- a/dom/mobilemessage/MobileMessageManager.h +++ b/dom/mobilemessage/MobileMessageManager.h @@ -26,7 +26,7 @@ class OwningLongOrMozSmsMessageOrMozMmsMessage; struct SmsSendParameters; class MobileMessageManager final : public DOMEventTargetHelper - , public nsIObserver + , public nsIObserver { public: NS_DECL_ISUPPORTS_INHERITED diff --git a/dom/mobilemessage/ipc/SmsIPCService.h b/dom/mobilemessage/ipc/SmsIPCService.h index 5ac84596dd5..c8884a1ae52 100644 --- a/dom/mobilemessage/ipc/SmsIPCService.h +++ b/dom/mobilemessage/ipc/SmsIPCService.h @@ -19,9 +19,9 @@ namespace mobilemessage { class PSmsChild; class SmsIPCService final : public nsISmsService - , public nsIMmsService - , public nsIMobileMessageDatabaseService - , public nsIObserver + , public nsIMmsService + , public nsIMobileMessageDatabaseService + , public nsIObserver { public: NS_DECL_ISUPPORTS diff --git a/dom/network/Connection.h b/dom/network/Connection.h index dc761d69364..24bb566a176 100644 --- a/dom/network/Connection.h +++ b/dom/network/Connection.h @@ -23,8 +23,8 @@ namespace dom { namespace network { class Connection final : public DOMEventTargetHelper - , public NetworkObserver - , public nsINetworkProperties + , public NetworkObserver + , public nsINetworkProperties { public: NS_DECL_ISUPPORTS_INHERITED diff --git a/dom/network/UDPSocket.h b/dom/network/UDPSocket.h index 8b157112d3c..fd27bd6af3f 100644 --- a/dom/network/UDPSocket.h +++ b/dom/network/UDPSocket.h @@ -25,8 +25,8 @@ struct UDPOptions; class StringOrBlobOrArrayBufferOrArrayBufferView; class UDPSocket final : public DOMEventTargetHelper - , public nsIUDPSocketListener - , public nsIUDPSocketInternal + , public nsIUDPSocketListener + , public nsIUDPSocketInternal { public: NS_DECL_ISUPPORTS_INHERITED diff --git a/dom/nfc/MozNDEFRecord.h b/dom/nfc/MozNDEFRecord.h index a12c47112f2..bddcabb2b22 100644 --- a/dom/nfc/MozNDEFRecord.h +++ b/dom/nfc/MozNDEFRecord.h @@ -31,7 +31,7 @@ namespace dom { class MozNDEFRecordOptions; class MozNDEFRecord final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/nfc/gonk/NfcService.h b/dom/nfc/gonk/NfcService.h index 4066dccf873..56e2150f249 100644 --- a/dom/nfc/gonk/NfcService.h +++ b/dom/nfc/gonk/NfcService.h @@ -19,7 +19,7 @@ class NfcEventOptions; } // namespace dom class NfcService final : public nsINfcService, - public mozilla::ipc::NfcSocketListener + public mozilla::ipc::NfcSocketListener { public: NS_DECL_ISUPPORTS diff --git a/dom/notification/DesktopNotification.h b/dom/notification/DesktopNotification.h index f4fffd32c33..43ebdf9d381 100644 --- a/dom/notification/DesktopNotification.h +++ b/dom/notification/DesktopNotification.h @@ -35,7 +35,7 @@ class DesktopNotification; * Object hangs off of the navigator object and hands out DesktopNotification objects */ class DesktopNotificationCenter final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/offline/nsDOMOfflineResourceList.h b/dom/offline/nsDOMOfflineResourceList.h index 0359ecd8cb2..7c5c8cfaeef 100644 --- a/dom/offline/nsDOMOfflineResourceList.h +++ b/dom/offline/nsDOMOfflineResourceList.h @@ -35,10 +35,10 @@ class DOMStringList; } // namespace mozilla class nsDOMOfflineResourceList final : public mozilla::DOMEventTargetHelper, - public nsIDOMOfflineResourceList, - public nsIObserver, - public nsIOfflineCacheUpdateObserver, - public nsSupportsWeakReference + public nsIDOMOfflineResourceList, + public nsIObserver, + public nsIOfflineCacheUpdateObserver, + public nsSupportsWeakReference { typedef mozilla::ErrorResult ErrorResult; diff --git a/dom/plugins/base/nsPluginHost.h b/dom/plugins/base/nsPluginHost.h index 81d388213a8..7e0727017ee 100644 --- a/dom/plugins/base/nsPluginHost.h +++ b/dom/plugins/base/nsPluginHost.h @@ -71,9 +71,9 @@ public: }; class nsPluginHost final : public nsIPluginHost, - public nsIObserver, - public nsITimerCallback, - public nsSupportsWeakReference + public nsIObserver, + public nsITimerCallback, + public nsSupportsWeakReference { friend class nsPluginTag; virtual ~nsPluginHost(); diff --git a/dom/plugins/base/nsPluginInstanceOwner.h b/dom/plugins/base/nsPluginInstanceOwner.h index cae18bef644..01c71cf72ed 100644 --- a/dom/plugins/base/nsPluginInstanceOwner.h +++ b/dom/plugins/base/nsPluginInstanceOwner.h @@ -50,9 +50,9 @@ class gfxXlibSurface; #endif class nsPluginInstanceOwner final : public nsIPluginInstanceOwner, - public nsIDOMEventListener, - public nsIPrivacyTransitionObserver, - public nsSupportsWeakReference + public nsIDOMEventListener, + public nsIPrivacyTransitionObserver, + public nsSupportsWeakReference { public: nsPluginInstanceOwner(); diff --git a/dom/plugins/ipc/PluginModuleParent.cpp b/dom/plugins/ipc/PluginModuleParent.cpp index 77965e6486b..01f0fcf832a 100755 --- a/dom/plugins/ipc/PluginModuleParent.cpp +++ b/dom/plugins/ipc/PluginModuleParent.cpp @@ -2901,7 +2901,7 @@ PluginModuleChromeParent::OnCrash(DWORD processID) #ifdef MOZ_ENABLE_PROFILER_SPS class PluginProfilerObserver final : public nsIObserver, - public nsSupportsWeakReference + public nsSupportsWeakReference { public: NS_DECL_ISUPPORTS diff --git a/dom/power/PowerManager.h b/dom/power/PowerManager.h index de6f8ea5be3..7fb3e81ce77 100644 --- a/dom/power/PowerManager.h +++ b/dom/power/PowerManager.h @@ -22,7 +22,7 @@ class ErrorResult; namespace dom { class PowerManager final : public nsIDOMMozWakeLockListener - , public nsWrapperCache + , public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/presentation/PresentationDeviceManager.h b/dom/presentation/PresentationDeviceManager.h index 4f4645a2675..908bf34555b 100644 --- a/dom/presentation/PresentationDeviceManager.h +++ b/dom/presentation/PresentationDeviceManager.h @@ -16,9 +16,9 @@ namespace mozilla { namespace dom { class PresentationDeviceManager final : public nsIPresentationDeviceManager - , public nsIPresentationDeviceListener - , public nsIPresentationDeviceEventListener - , public nsIObserver + , public nsIPresentationDeviceListener + , public nsIPresentationDeviceEventListener + , public nsIObserver { public: NS_DECL_ISUPPORTS diff --git a/dom/quota/QuotaManager.cpp b/dom/quota/QuotaManager.cpp index 2e085c91817..1183cf443d0 100644 --- a/dom/quota/QuotaManager.cpp +++ b/dom/quota/QuotaManager.cpp @@ -263,8 +263,8 @@ private: // thread. When on the main thread the runnable will call the callback and then // notify the QuotaManager that the job has been completed. class AsyncUsageRunnable final : public UsageInfo, - public nsRunnable, - public nsIQuotaRequest + public nsRunnable, + public nsIQuotaRequest { enum CallbackState { // Not yet run. diff --git a/dom/quota/QuotaManager.h b/dom/quota/QuotaManager.h index 36059be4ae2..34c9cd6b9aa 100644 --- a/dom/quota/QuotaManager.h +++ b/dom/quota/QuotaManager.h @@ -69,7 +69,7 @@ struct OriginParams }; class QuotaManager final : public nsIQuotaManager, - public nsIObserver + public nsIObserver { friend class AsyncUsageRunnable; friend class CollectOriginsHelper; diff --git a/dom/quota/nsIOfflineStorage.h b/dom/quota/nsIOfflineStorage.h index d1bbabc89d2..987528590f3 100644 --- a/dom/quota/nsIOfflineStorage.h +++ b/dom/quota/nsIOfflineStorage.h @@ -86,19 +86,19 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsIOfflineStorage, NS_OFFLINESTORAGE_IID) #define NS_DECL_NSIOFFLINESTORAGE \ NS_IMETHOD_(const nsACString&) \ - Id() override; \ + Id() override; \ \ NS_IMETHOD_(Client*) \ - GetClient() override; \ + GetClient() override; \ \ NS_IMETHOD_(bool) \ - IsOwnedByProcess(ContentParent* aOwner) override; \ + IsOwnedByProcess(ContentParent* aOwner) override; \ \ NS_IMETHOD_(const nsACString&) \ - Origin() override; \ + Origin() override; \ \ NS_IMETHOD_(nsresult) \ - Close() override; \ + Close() override; \ \ NS_IMETHOD_(void) \ Invalidate() override; diff --git a/dom/requestsync/RequestSyncWifiService.h b/dom/requestsync/RequestSyncWifiService.h index a42f4658b70..3b93f9f45df 100644 --- a/dom/requestsync/RequestSyncWifiService.h +++ b/dom/requestsync/RequestSyncWifiService.h @@ -15,7 +15,7 @@ namespace mozilla { namespace dom { class RequestSyncWifiService final : public nsISupports - , public NetworkObserver + , public NetworkObserver { public: NS_DECL_ISUPPORTS diff --git a/dom/security/nsCORSListenerProxy.cpp b/dom/security/nsCORSListenerProxy.cpp index 87949d882e7..8a6b1fd21df 100644 --- a/dom/security/nsCORSListenerProxy.cpp +++ b/dom/security/nsCORSListenerProxy.cpp @@ -917,8 +917,8 @@ nsCORSListenerProxy::UpdateChannel(nsIChannel* aChannel, bool aAllowDataURI) // Class used as streamlistener and notification callback when // doing the initial OPTIONS request for a CORS check class nsCORSPreflightListener final : public nsIStreamListener, - public nsIInterfaceRequestor, - public nsIChannelEventSink + public nsIInterfaceRequestor, + public nsIChannelEventSink { public: nsCORSPreflightListener(nsIChannel* aOuterChannel, diff --git a/dom/security/nsCORSListenerProxy.h b/dom/security/nsCORSListenerProxy.h index c7aa804b9ce..214c144883b 100644 --- a/dom/security/nsCORSListenerProxy.h +++ b/dom/security/nsCORSListenerProxy.h @@ -30,9 +30,9 @@ NS_StartCORSPreflight(nsIChannel* aRequestChannel, nsIChannel** aPreflightChannel); class nsCORSListenerProxy final : public nsIStreamListener, - public nsIInterfaceRequestor, - public nsIChannelEventSink, - public nsIAsyncVerifyRedirectCallback + public nsIInterfaceRequestor, + public nsIChannelEventSink, + public nsIAsyncVerifyRedirectCallback { public: nsCORSListenerProxy(nsIStreamListener* aOuter, diff --git a/dom/security/nsCSPContext.h b/dom/security/nsCSPContext.h index fabc486c491..9f38b1abe32 100644 --- a/dom/security/nsCSPContext.h +++ b/dom/security/nsCSPContext.h @@ -99,7 +99,7 @@ class CSPViolationReportListener : public nsIStreamListener // redirects, per the spec. hence, we implement an nsIChannelEventSink // with an object so we can tell XHR to abort if a redirect happens. class CSPReportRedirectSink final : public nsIChannelEventSink, - public nsIInterfaceRequestor + public nsIInterfaceRequestor { public: NS_DECL_NSICHANNELEVENTSINK diff --git a/dom/smil/TimeEvent.h b/dom/smil/TimeEvent.h index 040c8d97361..647931c4869 100644 --- a/dom/smil/TimeEvent.h +++ b/dom/smil/TimeEvent.h @@ -14,7 +14,7 @@ namespace mozilla { namespace dom { class TimeEvent final : public Event, - public nsIDOMTimeEvent + public nsIDOMTimeEvent { public: TimeEvent(EventTarget* aOwner, diff --git a/dom/smil/nsSMILAnimationController.h b/dom/smil/nsSMILAnimationController.h index c7041322f7a..2c13e407456 100644 --- a/dom/smil/nsSMILAnimationController.h +++ b/dom/smil/nsSMILAnimationController.h @@ -42,7 +42,7 @@ class SVGAnimationElement; // here, at the document level. // class nsSMILAnimationController final : public nsSMILTimeContainer, - public nsARefreshObserver + public nsARefreshObserver { public: explicit nsSMILAnimationController(nsIDocument* aDoc); diff --git a/dom/storage/DOMStorageIPC.h b/dom/storage/DOMStorageIPC.h index 004ca1d85ee..ad17e80201b 100644 --- a/dom/storage/DOMStorageIPC.h +++ b/dom/storage/DOMStorageIPC.h @@ -23,7 +23,7 @@ class DOMLocalStorageManager; // and expects asynchronous answers. Those are then transparently // forwarded back to consumers on the child process. class DOMStorageDBChild final : public DOMStorageDBBridge - , public PStorageChild + , public PStorageChild { virtual ~DOMStorageDBChild(); @@ -107,7 +107,7 @@ private: // Also responsible for forwardning all chrome operation notifications // such as cookie cleaning etc to the child process. class DOMStorageDBParent final : public PStorageParent - , public DOMStorageObserverSink + , public DOMStorageObserverSink { virtual ~DOMStorageDBParent(); diff --git a/dom/svg/DOMSVGAnimatedNumberList.h b/dom/svg/DOMSVGAnimatedNumberList.h index 966c8ef919b..a8197ece3bf 100644 --- a/dom/svg/DOMSVGAnimatedNumberList.h +++ b/dom/svg/DOMSVGAnimatedNumberList.h @@ -35,7 +35,7 @@ class SVGNumberList; * weak refs). */ class DOMSVGAnimatedNumberList final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { friend class DOMSVGNumberList; diff --git a/dom/svg/DOMSVGLength.h b/dom/svg/DOMSVGLength.h index 3c99e3c8eae..3567a57420a 100644 --- a/dom/svg/DOMSVGLength.h +++ b/dom/svg/DOMSVGLength.h @@ -75,7 +75,7 @@ class ErrorResult; * https://bugzilla.mozilla.org/show_bug.cgi?id=571734 */ class DOMSVGLength final : public nsIDOMSVGLength, - public nsWrapperCache + public nsWrapperCache { friend class AutoChangeLengthNotifier; diff --git a/dom/svg/DOMSVGLengthList.h b/dom/svg/DOMSVGLengthList.h index 088a7b9ea52..2baf54c022a 100644 --- a/dom/svg/DOMSVGLengthList.h +++ b/dom/svg/DOMSVGLengthList.h @@ -39,7 +39,7 @@ class DOMSVGLength; * Our DOM items are created lazily on demand as and when script requests them. */ class DOMSVGLengthList final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { friend class AutoChangeLengthListNotifier; friend class DOMSVGLength; diff --git a/dom/svg/DOMSVGNumber.h b/dom/svg/DOMSVGNumber.h index f3239505278..0663972a983 100644 --- a/dom/svg/DOMSVGNumber.h +++ b/dom/svg/DOMSVGNumber.h @@ -34,7 +34,7 @@ namespace mozilla { * See the comment in DOMSVGLength.h (yes, LENGTH), which applies here too. */ class DOMSVGNumber final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { friend class AutoChangeNumberNotifier; diff --git a/dom/svg/DOMSVGNumberList.h b/dom/svg/DOMSVGNumberList.h index 75adc31b593..d271cabfc10 100644 --- a/dom/svg/DOMSVGNumberList.h +++ b/dom/svg/DOMSVGNumberList.h @@ -39,7 +39,7 @@ class DOMSVGNumber; * Our DOM items are created lazily on demand as and when script requests them. */ class DOMSVGNumberList final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { friend class AutoChangeNumberListNotifier; friend class DOMSVGNumber; diff --git a/dom/svg/DOMSVGPathSeg.h b/dom/svg/DOMSVGPathSeg.h index 1a499e562dc..77543169778 100644 --- a/dom/svg/DOMSVGPathSeg.h +++ b/dom/svg/DOMSVGPathSeg.h @@ -42,25 +42,25 @@ namespace mozilla { } \ /* From DOMSVGPathSeg: */ \ virtual uint32_t \ - Type() const override \ + Type() const override \ { \ return segType; \ } \ virtual DOMSVGPathSeg* \ - Clone() override \ + Clone() override \ { \ /* InternalItem() + 1, because we're skipping the encoded seg type */ \ float *args = IsInList() ? InternalItem() + 1 : mArgs; \ return new DOMSVGPathSeg##segName(args); \ } \ virtual float* \ - PtrToMemberArgs() override \ + PtrToMemberArgs() override \ { \ return mArgs; \ } \ \ virtual JSObject* \ - WrapObject(JSContext* aCx, JS::Handle aGivenProto) override \ + WrapObject(JSContext* aCx, JS::Handle aGivenProto) override \ { \ return dom::SVGPathSeg##segName##Binding::Wrap(aCx, this, aGivenProto); \ } diff --git a/dom/svg/DOMSVGPathSegList.h b/dom/svg/DOMSVGPathSegList.h index a50338afdf2..e7c40c47e77 100644 --- a/dom/svg/DOMSVGPathSegList.h +++ b/dom/svg/DOMSVGPathSegList.h @@ -47,7 +47,7 @@ class SVGAnimatedPathSegList; * Our DOM items are created lazily on demand as and when script requests them. */ class DOMSVGPathSegList final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { friend class AutoChangePathSegListNotifier; friend class DOMSVGPathSeg; diff --git a/dom/svg/DOMSVGPointList.h b/dom/svg/DOMSVGPointList.h index 511b17a2f98..27aea1e6f4c 100644 --- a/dom/svg/DOMSVGPointList.h +++ b/dom/svg/DOMSVGPointList.h @@ -48,7 +48,7 @@ class SVGAnimatedPointList; * Our DOM items are created lazily on demand as and when script requests them. */ class DOMSVGPointList final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { friend class AutoChangePointListNotifier; friend class nsISVGPoint; diff --git a/dom/svg/DOMSVGStringList.h b/dom/svg/DOMSVGStringList.h index f6b82c25b82..3793470bd8a 100644 --- a/dom/svg/DOMSVGStringList.h +++ b/dom/svg/DOMSVGStringList.h @@ -44,7 +44,7 @@ class SVGStringList; * string each time any given item is requested. */ class DOMSVGStringList final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { friend class AutoChangeStringListNotifier; diff --git a/dom/svg/DOMSVGTransformList.h b/dom/svg/DOMSVGTransformList.h index f493e8c51aa..8ffa7b64034 100644 --- a/dom/svg/DOMSVGTransformList.h +++ b/dom/svg/DOMSVGTransformList.h @@ -34,7 +34,7 @@ class SVGTransform; * See the architecture comment in SVGAnimatedTransformList.h. */ class DOMSVGTransformList final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { friend class AutoChangeTransformListNotifier; friend class dom::SVGTransform; diff --git a/dom/svg/SVGAElement.h b/dom/svg/SVGAElement.h index 1c7bf379756..00b0ccea3b8 100644 --- a/dom/svg/SVGAElement.h +++ b/dom/svg/SVGAElement.h @@ -23,7 +23,7 @@ namespace dom { typedef SVGGraphicsElement SVGAElementBase; class SVGAElement final : public SVGAElementBase, - public Link + public Link { protected: explicit SVGAElement(already_AddRefed& aNodeInfo); diff --git a/dom/svg/SVGAnimatedPreserveAspectRatio.h b/dom/svg/SVGAnimatedPreserveAspectRatio.h index 5536a93bd23..b096d7fb3d3 100644 --- a/dom/svg/SVGAnimatedPreserveAspectRatio.h +++ b/dom/svg/SVGAnimatedPreserveAspectRatio.h @@ -112,7 +112,7 @@ public: namespace dom { class DOMSVGAnimatedPreserveAspectRatio final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { ~DOMSVGAnimatedPreserveAspectRatio(); diff --git a/dom/svg/SVGMPathElement.h b/dom/svg/SVGMPathElement.h index b36d4c279d1..310f383b881 100644 --- a/dom/svg/SVGMPathElement.h +++ b/dom/svg/SVGMPathElement.h @@ -21,7 +21,7 @@ namespace dom { class SVGPathElement; class SVGMPathElement final : public SVGMPathElementBase, - public nsStubMutationObserver + public nsStubMutationObserver { protected: friend nsresult (::NS_NewSVGMPathElement(nsIContent **aResult, diff --git a/dom/svg/SVGPreserveAspectRatio.h b/dom/svg/SVGPreserveAspectRatio.h index 7dc3bc1b6cc..3305b397299 100644 --- a/dom/svg/SVGPreserveAspectRatio.h +++ b/dom/svg/SVGPreserveAspectRatio.h @@ -113,7 +113,7 @@ private: namespace dom { class DOMSVGPreserveAspectRatio final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/svg/SVGScriptElement.h b/dom/svg/SVGScriptElement.h index 9f40bec07b3..4e40e7cf5ae 100644 --- a/dom/svg/SVGScriptElement.h +++ b/dom/svg/SVGScriptElement.h @@ -24,7 +24,7 @@ namespace dom { typedef nsSVGElement SVGScriptElementBase; class SVGScriptElement final : public SVGScriptElementBase, - public nsScriptElement + public nsScriptElement { protected: friend nsresult (::NS_NewSVGScriptElement(nsIContent **aResult, diff --git a/dom/svg/SVGStyleElement.h b/dom/svg/SVGStyleElement.h index c1b5c203895..e495dd114d0 100644 --- a/dom/svg/SVGStyleElement.h +++ b/dom/svg/SVGStyleElement.h @@ -20,8 +20,8 @@ namespace mozilla { namespace dom { class SVGStyleElement final : public SVGStyleElementBase, - public nsStyleLinkElement, - public nsStubMutationObserver + public nsStyleLinkElement, + public nsStubMutationObserver { protected: friend nsresult (::NS_NewSVGStyleElement(nsIContent **aResult, diff --git a/dom/svg/SVGSymbolElement.h b/dom/svg/SVGSymbolElement.h index 7a45aa25d01..187b629dd75 100644 --- a/dom/svg/SVGSymbolElement.h +++ b/dom/svg/SVGSymbolElement.h @@ -20,7 +20,7 @@ namespace dom { typedef nsSVGElement SVGSymbolElementBase; class SVGSymbolElement final : public SVGSymbolElementBase, - public SVGTests + public SVGTests { protected: friend nsresult (::NS_NewSVGSymbolElement(nsIContent **aResult, diff --git a/dom/svg/SVGTitleElement.h b/dom/svg/SVGTitleElement.h index 3153cb608c9..5ee6bfcc29a 100644 --- a/dom/svg/SVGTitleElement.h +++ b/dom/svg/SVGTitleElement.h @@ -18,7 +18,7 @@ namespace mozilla { namespace dom { class SVGTitleElement final : public SVGTitleElementBase, - public nsStubMutationObserver + public nsStubMutationObserver { protected: friend nsresult (::NS_NewSVGTitleElement(nsIContent **aResult, diff --git a/dom/svg/SVGUseElement.h b/dom/svg/SVGUseElement.h index 4eef3e665d7..a1029372dab 100644 --- a/dom/svg/SVGUseElement.h +++ b/dom/svg/SVGUseElement.h @@ -30,7 +30,7 @@ namespace dom { typedef SVGGraphicsElement SVGUseElementBase; class SVGUseElement final : public SVGUseElementBase, - public nsStubMutationObserver + public nsStubMutationObserver { friend class ::nsSVGUseFrame; protected: diff --git a/dom/system/gonk/AudioManager.h b/dom/system/gonk/AudioManager.h index e3381adaec2..02fc94ea8f2 100644 --- a/dom/system/gonk/AudioManager.h +++ b/dom/system/gonk/AudioManager.h @@ -39,7 +39,7 @@ namespace gonk { class RecoverTask; class AudioChannelVolInitCallback; class AudioManager final : public nsIAudioManager - , public nsIObserver + , public nsIObserver { public: static already_AddRefed GetInstance(); diff --git a/dom/system/gonk/SystemWorkerManager.h b/dom/system/gonk/SystemWorkerManager.h index 46177f892fb..d5b4a33a815 100644 --- a/dom/system/gonk/SystemWorkerManager.h +++ b/dom/system/gonk/SystemWorkerManager.h @@ -37,8 +37,8 @@ namespace dom { namespace gonk { class SystemWorkerManager final : public nsIObserver, - public nsIInterfaceRequestor, - public nsISystemWorkerManager + public nsIInterfaceRequestor, + public nsISystemWorkerManager { public: NS_DECL_ISUPPORTS diff --git a/dom/system/gonk/nsVolumeMountLock.h b/dom/system/gonk/nsVolumeMountLock.h index c61183b37aa..40be5780058 100644 --- a/dom/system/gonk/nsVolumeMountLock.h +++ b/dom/system/gonk/nsVolumeMountLock.h @@ -26,8 +26,8 @@ namespace system { */ class nsVolumeMountLock final : public nsIVolumeMountLock, - public nsIObserver, - public nsSupportsWeakReference + public nsIObserver, + public nsSupportsWeakReference { public: NS_DECL_ISUPPORTS diff --git a/dom/system/gonk/nsVolumeService.h b/dom/system/gonk/nsVolumeService.h index e5fe6ec181b..c393cec74af 100644 --- a/dom/system/gonk/nsVolumeService.h +++ b/dom/system/gonk/nsVolumeService.h @@ -32,7 +32,7 @@ class Volume; */ class nsVolumeService final : public nsIVolumeService, - public nsIDOMMozWakeLockListener + public nsIDOMMozWakeLockListener { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/dom/telephony/CallsList.h b/dom/telephony/CallsList.h index 0c158065d1c..81f40751298 100644 --- a/dom/telephony/CallsList.h +++ b/dom/telephony/CallsList.h @@ -15,7 +15,7 @@ namespace mozilla { namespace dom { class CallsList final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { nsRefPtr mTelephony; nsRefPtr mGroup; diff --git a/dom/telephony/MMICall.h b/dom/telephony/MMICall.h index f263448f80c..d7b5b1989b2 100644 --- a/dom/telephony/MMICall.h +++ b/dom/telephony/MMICall.h @@ -25,7 +25,7 @@ namespace mozilla { namespace dom { class MMICall final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/telephony/Telephony.h b/dom/telephony/Telephony.h index c8dce339fc8..db1d0933341 100644 --- a/dom/telephony/Telephony.h +++ b/dom/telephony/Telephony.h @@ -31,7 +31,7 @@ class TelephonyDialCallback; class OwningTelephonyCallOrTelephonyCallGroup; class Telephony final : public DOMEventTargetHelper, - private nsITelephonyListener + private nsITelephonyListener { /** * Class Telephony doesn't actually expose nsITelephonyListener. diff --git a/dom/telephony/TelephonyCallId.h b/dom/telephony/TelephonyCallId.h index c54c8f6ffc2..bd8d020d1c1 100644 --- a/dom/telephony/TelephonyCallId.h +++ b/dom/telephony/TelephonyCallId.h @@ -18,7 +18,7 @@ namespace mozilla { namespace dom { class TelephonyCallId final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/telephony/TelephonyDialCallback.h b/dom/telephony/TelephonyDialCallback.h index aa0559bf49e..721364d76b6 100644 --- a/dom/telephony/TelephonyDialCallback.h +++ b/dom/telephony/TelephonyDialCallback.h @@ -24,7 +24,7 @@ namespace dom { namespace telephony { class TelephonyDialCallback final : public TelephonyCallback, - public nsITelephonyDialCallback + public nsITelephonyDialCallback { public: NS_DECL_ISUPPORTS_INHERITED diff --git a/dom/telephony/USSDSession.h b/dom/telephony/USSDSession.h index 6e1f15685e7..c8ba998dff1 100644 --- a/dom/telephony/USSDSession.h +++ b/dom/telephony/USSDSession.h @@ -24,7 +24,7 @@ namespace mozilla { namespace dom { class USSDSession final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/telephony/ipc/TelephonyIPCService.h b/dom/telephony/ipc/TelephonyIPCService.h index 84bddd313e8..72d26d311ea 100644 --- a/dom/telephony/ipc/TelephonyIPCService.h +++ b/dom/telephony/ipc/TelephonyIPCService.h @@ -17,8 +17,8 @@ class IPCTelephonyRequest; class PTelephonyChild; class TelephonyIPCService final : public nsITelephonyService - , public nsITelephonyListener - , public nsIObserver + , public nsITelephonyListener + , public nsIObserver { public: NS_DECL_ISUPPORTS diff --git a/dom/time/TimeManager.h b/dom/time/TimeManager.h index b7bc189b760..a1879ec5cd5 100644 --- a/dom/time/TimeManager.h +++ b/dom/time/TimeManager.h @@ -18,7 +18,7 @@ class Date; namespace time { class TimeManager final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { public: static bool PrefEnabled(JSContext* aCx, JSObject* aGlobal) diff --git a/dom/tv/TVProgram.h b/dom/tv/TVProgram.h index c66c940bce5..be834c22c14 100644 --- a/dom/tv/TVProgram.h +++ b/dom/tv/TVProgram.h @@ -17,7 +17,7 @@ namespace dom { class TVChannel; class TVProgram final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/voicemail/Voicemail.h b/dom/voicemail/Voicemail.h index a3a61a9b40f..045528fa4e2 100644 --- a/dom/voicemail/Voicemail.h +++ b/dom/voicemail/Voicemail.h @@ -23,7 +23,7 @@ namespace dom { class VoicemailStatus; class Voicemail final : public DOMEventTargetHelper, - private nsIVoicemailListener + private nsIVoicemailListener { /** * Class Voicemail doesn't actually expose nsIVoicemailListener. Instead, it diff --git a/dom/voicemail/VoicemailStatus.h b/dom/voicemail/VoicemailStatus.h index 9b31f3c1e81..b423adc5958 100644 --- a/dom/voicemail/VoicemailStatus.h +++ b/dom/voicemail/VoicemailStatus.h @@ -17,7 +17,7 @@ namespace mozilla { namespace dom { class VoicemailStatus final : public nsISupports - , public nsWrapperCache + , public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/voicemail/ipc/VoicemailIPCService.h b/dom/voicemail/ipc/VoicemailIPCService.h index 350cfba212e..7cf5f704187 100644 --- a/dom/voicemail/ipc/VoicemailIPCService.h +++ b/dom/voicemail/ipc/VoicemailIPCService.h @@ -17,7 +17,7 @@ namespace dom { namespace voicemail { class VoicemailIPCService final : public PVoicemailChild - , public nsIVoicemailService + , public nsIVoicemailService { public: NS_DECL_ISUPPORTS diff --git a/dom/voicemail/ipc/VoicemailParent.h b/dom/voicemail/ipc/VoicemailParent.h index 16eeb202113..c980665580a 100644 --- a/dom/voicemail/ipc/VoicemailParent.h +++ b/dom/voicemail/ipc/VoicemailParent.h @@ -19,7 +19,7 @@ namespace dom { namespace voicemail { class VoicemailParent final : public PVoicemailParent - , public nsIVoicemailListener + , public nsIVoicemailListener { public: NS_DECL_ISUPPORTS diff --git a/dom/wifi/WifiCertService.h b/dom/wifi/WifiCertService.h index 8ef1347266c..8621b93d0ec 100644 --- a/dom/wifi/WifiCertService.h +++ b/dom/wifi/WifiCertService.h @@ -16,7 +16,7 @@ namespace mozilla { namespace dom { class WifiCertService final : public nsIWifiCertService, - public nsNSSShutDownObject + public nsNSSShutDownObject { public: NS_DECL_ISUPPORTS diff --git a/dom/workers/DataStore.h b/dom/workers/DataStore.h index a9fff64ed11..d18414cb2f9 100644 --- a/dom/workers/DataStore.h +++ b/dom/workers/DataStore.h @@ -99,7 +99,7 @@ private: }; class DataStoreChangeEventProxy final : public nsIDOMEventListener - , public WorkerFeature + , public WorkerFeature { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/dom/workers/ScriptLoader.cpp b/dom/workers/ScriptLoader.cpp index 8b51466a662..a48294d0e6e 100644 --- a/dom/workers/ScriptLoader.cpp +++ b/dom/workers/ScriptLoader.cpp @@ -222,8 +222,8 @@ private: }; class ScriptLoaderRunnable final : public WorkerFeature, - public nsIRunnable, - public nsIStreamLoaderObserver + public nsIRunnable, + public nsIStreamLoaderObserver { friend class ScriptExecutorRunnable; diff --git a/dom/workers/ServiceWorkerClients.h b/dom/workers/ServiceWorkerClients.h index 203fd1898d5..08c4bba94a9 100644 --- a/dom/workers/ServiceWorkerClients.h +++ b/dom/workers/ServiceWorkerClients.h @@ -20,7 +20,7 @@ namespace dom { namespace workers { class ServiceWorkerClients final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/dom/workers/ServiceWorkerManager.cpp b/dom/workers/ServiceWorkerManager.cpp index 96ab04a5787..1aa7db37579 100644 --- a/dom/workers/ServiceWorkerManager.cpp +++ b/dom/workers/ServiceWorkerManager.cpp @@ -484,7 +484,7 @@ GetRequiredScopeStringPrefix(const nsACString& aScriptSpec, nsACString& aPrefix) } // anonymous namespace class ServiceWorkerRegisterJob final : public ServiceWorkerJob, - public nsIStreamLoaderObserver + public nsIStreamLoaderObserver { friend class ContinueInstallTask; diff --git a/dom/workers/WorkerScope.cpp b/dom/workers/WorkerScope.cpp index 2958eaaca2c..506e41b058f 100644 --- a/dom/workers/WorkerScope.cpp +++ b/dom/workers/WorkerScope.cpp @@ -613,8 +613,8 @@ private: }; class WorkerScopeUnregisterRunnable final : public nsRunnable - , public nsIServiceWorkerUnregisterCallback - , public WorkerFeature + , public nsIServiceWorkerUnregisterCallback + , public WorkerFeature { WorkerPrivate* mWorkerPrivate; nsString mScope; diff --git a/dom/workers/WorkerScope.h b/dom/workers/WorkerScope.h index 17450132701..ab165e197eb 100644 --- a/dom/workers/WorkerScope.h +++ b/dom/workers/WorkerScope.h @@ -236,7 +236,7 @@ public: }; class WorkerDebuggerGlobalScope final : public DOMEventTargetHelper, - public nsIGlobalObject + public nsIGlobalObject { WorkerPrivate* mWorkerPrivate; diff --git a/dom/workers/XMLHttpRequest.cpp b/dom/workers/XMLHttpRequest.cpp index 481e7ef40f7..8e7a836c66a 100644 --- a/dom/workers/XMLHttpRequest.cpp +++ b/dom/workers/XMLHttpRequest.cpp @@ -315,7 +315,7 @@ private: }; class LoadStartDetectionRunnable final : public nsRunnable, - public nsIDOMEventListener + public nsIDOMEventListener { WorkerPrivate* mWorkerPrivate; nsRefPtr mProxy; diff --git a/dom/workers/XMLHttpRequest.h b/dom/workers/XMLHttpRequest.h index 07dfcec7891..a12dc19caf1 100644 --- a/dom/workers/XMLHttpRequest.h +++ b/dom/workers/XMLHttpRequest.h @@ -29,7 +29,7 @@ class XMLHttpRequestUpload; class WorkerPrivate; class XMLHttpRequest final: public nsXHREventTarget, - public WorkerFeature + public WorkerFeature { public: struct StateData diff --git a/dom/xbl/nsXBLService.cpp b/dom/xbl/nsXBLService.cpp index ea230160164..a4ee79bc160 100644 --- a/dom/xbl/nsXBLService.cpp +++ b/dom/xbl/nsXBLService.cpp @@ -168,7 +168,7 @@ public: // asynchronous parsing of URLs /* Header file */ class nsXBLStreamListener final : public nsIStreamListener, - public nsIDOMEventListener + public nsIDOMEventListener { public: NS_DECL_ISUPPORTS diff --git a/dom/xml/CDATASection.h b/dom/xml/CDATASection.h index cd19fdfb445..4f45aebbca9 100644 --- a/dom/xml/CDATASection.h +++ b/dom/xml/CDATASection.h @@ -14,7 +14,7 @@ namespace mozilla { namespace dom { class CDATASection final : public Text, - public nsIDOMCDATASection + public nsIDOMCDATASection { private: void Init() diff --git a/dom/xslt/xpath/XPathResult.h b/dom/xslt/xpath/XPathResult.h index b74380eacd4..268e21df982 100644 --- a/dom/xslt/xpath/XPathResult.h +++ b/dom/xslt/xpath/XPathResult.h @@ -45,8 +45,8 @@ namespace dom { * A class for evaluating an XPath expression string */ class XPathResult final : public nsIXPathResult, - public nsStubMutationObserver, - public nsWrapperCache + public nsStubMutationObserver, + public nsWrapperCache { ~XPathResult(); diff --git a/dom/xslt/xslt/txMozillaStylesheetCompiler.cpp b/dom/xslt/xslt/txMozillaStylesheetCompiler.cpp index 3ef40f9fb15..3753aa11b77 100644 --- a/dom/xslt/xslt/txMozillaStylesheetCompiler.cpp +++ b/dom/xslt/xslt/txMozillaStylesheetCompiler.cpp @@ -65,9 +65,9 @@ getSpec(nsIChannel* aChannel, nsAString& aSpec) } class txStylesheetSink final : public nsIXMLContentSink, - public nsIExpatSink, - public nsIStreamListener, - public nsIInterfaceRequestor + public nsIExpatSink, + public nsIStreamListener, + public nsIInterfaceRequestor { public: txStylesheetSink(txStylesheetCompiler* aCompiler, nsIParser* aParser); diff --git a/dom/xslt/xslt/txMozillaXMLOutput.h b/dom/xslt/xslt/txMozillaXMLOutput.h index e2dc6dd9af3..75732d596f3 100644 --- a/dom/xslt/xslt/txMozillaXMLOutput.h +++ b/dom/xslt/xslt/txMozillaXMLOutput.h @@ -29,7 +29,7 @@ class nsIDocument; class nsINode; class txTransformNotifier final : public nsIScriptLoaderObserver, - public nsICSSLoaderObserver + public nsICSSLoaderObserver { public: txTransformNotifier(); diff --git a/dom/xslt/xslt/txMozillaXSLTProcessor.h b/dom/xslt/xslt/txMozillaXSLTProcessor.h index febca578df1..11ab8b2c3d5 100644 --- a/dom/xslt/xslt/txMozillaXSLTProcessor.h +++ b/dom/xslt/xslt/txMozillaXSLTProcessor.h @@ -50,10 +50,10 @@ class GlobalObject; * txMozillaXSLTProcessor is a front-end to the XSLT Processor. */ class txMozillaXSLTProcessor final : public nsIXSLTProcessor, - public nsIXSLTProcessorPrivate, - public nsIDocumentTransformer, - public nsStubMutationObserver, - public nsWrapperCache + public nsIXSLTProcessorPrivate, + public nsIDocumentTransformer, + public nsStubMutationObserver, + public nsWrapperCache { public: /** diff --git a/dom/xslt/xslt/txStylesheetCompiler.h b/dom/xslt/xslt/txStylesheetCompiler.h index 7416f7e6d05..8bbd45dc91f 100644 --- a/dom/xslt/xslt/txStylesheetCompiler.h +++ b/dom/xslt/xslt/txStylesheetCompiler.h @@ -187,7 +187,7 @@ struct txStylesheetAttr }; class txStylesheetCompiler final : private txStylesheetCompilerState, - public txACompileObserver + public txACompileObserver { public: friend class txStylesheetCompilerState; diff --git a/dom/xul/XULDocument.h b/dom/xul/XULDocument.h index d411168d701..ef7100259da 100644 --- a/dom/xul/XULDocument.h +++ b/dom/xul/XULDocument.h @@ -87,11 +87,11 @@ namespace mozilla { namespace dom { class XULDocument final : public XMLDocument, - public nsIXULDocument, - public nsIDOMXULDocument, - public nsIStreamLoaderObserver, - public nsICSSLoaderObserver, - public nsIOffThreadScriptReceiver + public nsIXULDocument, + public nsIDOMXULDocument, + public nsIStreamLoaderObserver, + public nsICSSLoaderObserver, + public nsIOffThreadScriptReceiver { public: XULDocument(); diff --git a/dom/xul/nsXULContentSink.h b/dom/xul/nsXULContentSink.h index 2d61cd10d9b..793685ddd4f 100644 --- a/dom/xul/nsXULContentSink.h +++ b/dom/xul/nsXULContentSink.h @@ -23,7 +23,7 @@ class nsXULPrototypeElement; class nsXULPrototypeNode; class XULContentSinkImpl final : public nsIXMLContentSink, - public nsIExpatSink + public nsIExpatSink { public: XULContentSinkImpl(); diff --git a/dom/xul/nsXULElement.cpp b/dom/xul/nsXULElement.cpp index bba1854cf78..dee3cd51f8e 100644 --- a/dom/xul/nsXULElement.cpp +++ b/dom/xul/nsXULElement.cpp @@ -124,7 +124,7 @@ uint32_t nsXULPrototypeAttribute::gNumCacheFills; #endif class nsXULElementTearoff final : public nsIDOMElementCSSInlineStyle, - public nsIFrameLoaderOwner + public nsIFrameLoaderOwner { ~nsXULElementTearoff() {} diff --git a/dom/xul/nsXULElement.h b/dom/xul/nsXULElement.h index d6e6c3b1bbd..66b3a3849ba 100644 --- a/dom/xul/nsXULElement.h +++ b/dom/xul/nsXULElement.h @@ -368,7 +368,7 @@ ASSERT_NODE_FLAGS_SPACE(ELEMENT_TYPE_SPECIFIC_BITS_OFFSET + 3); class nsScriptEventHandlerOwnerTearoff; class nsXULElement final : public nsStyledElement, - public nsIDOMXULElement + public nsIDOMXULElement { public: explicit nsXULElement(already_AddRefed aNodeInfo); diff --git a/dom/xul/templates/nsXULTemplateQueryProcessorRDF.h b/dom/xul/templates/nsXULTemplateQueryProcessorRDF.h index 7040ed46257..aaa4691e571 100644 --- a/dom/xul/templates/nsXULTemplateQueryProcessorRDF.h +++ b/dom/xul/templates/nsXULTemplateQueryProcessorRDF.h @@ -41,7 +41,7 @@ class nsXULTemplateResultRDF; * An object that generates results from a query on an RDF graph */ class nsXULTemplateQueryProcessorRDF final : public nsIXULTemplateQueryProcessor, - public nsIRDFObserver + public nsIRDFObserver { public: typedef nsTArray > ResultArray; diff --git a/dom/xul/templates/nsXULTemplateQueryProcessorXML.h b/dom/xul/templates/nsXULTemplateQueryProcessorXML.h index 0d79914bfd3..8d2d6bd8e03 100644 --- a/dom/xul/templates/nsXULTemplateQueryProcessorXML.h +++ b/dom/xul/templates/nsXULTemplateQueryProcessorXML.h @@ -119,7 +119,7 @@ public: }; class nsXULTemplateQueryProcessorXML final : public nsIXULTemplateQueryProcessor, - public nsIDOMEventListener + public nsIDOMEventListener { public: diff --git a/editor/composer/nsEditingSession.h b/editor/composer/nsEditingSession.h index a6f17f184bf..2351ad4ea85 100644 --- a/editor/composer/nsEditingSession.h +++ b/editor/composer/nsEditingSession.h @@ -44,8 +44,8 @@ class nsIEditor; class nsIWebProgress; class nsEditingSession final : public nsIEditingSession, - public nsIWebProgressListener, - public nsSupportsWeakReference + public nsIWebProgressListener, + public nsSupportsWeakReference { public: diff --git a/editor/libeditor/nsHTMLEditor.h b/editor/libeditor/nsHTMLEditor.h index e582cc1969b..206a5424d19 100644 --- a/editor/libeditor/nsHTMLEditor.h +++ b/editor/libeditor/nsHTMLEditor.h @@ -65,14 +65,14 @@ struct IMEState; * Use to edit HTML document represented as a DOM tree. */ class nsHTMLEditor final : public nsPlaintextEditor, - public nsIHTMLEditor, - public nsIHTMLObjectResizer, - public nsIHTMLAbsPosEditor, - public nsITableEditor, - public nsIHTMLInlineTableEditor, - public nsIEditorStyleSheets, - public nsICSSLoaderObserver, - public nsStubMutationObserver + public nsIHTMLEditor, + public nsIHTMLObjectResizer, + public nsIHTMLAbsPosEditor, + public nsITableEditor, + public nsIHTMLInlineTableEditor, + public nsIEditorStyleSheets, + public nsICSSLoaderObserver, + public nsStubMutationObserver { typedef enum {eNoOp, eReplaceParent=1, eInsertParent=2} BlockTransformationType; diff --git a/editor/txmgr/nsTransactionManager.h b/editor/txmgr/nsTransactionManager.h index d1fb164be9b..2b244f48271 100644 --- a/editor/txmgr/nsTransactionManager.h +++ b/editor/txmgr/nsTransactionManager.h @@ -24,7 +24,7 @@ class nsTransactionItem; * */ class nsTransactionManager final : public nsITransactionManager - , public nsSupportsWeakReference + , public nsSupportsWeakReference { private: diff --git a/editor/txtsvc/nsTextServicesDocument.h b/editor/txtsvc/nsTextServicesDocument.h index 782592ba89a..b41941f18ba 100644 --- a/editor/txtsvc/nsTextServicesDocument.h +++ b/editor/txtsvc/nsTextServicesDocument.h @@ -33,7 +33,7 @@ class nsString; * */ class nsTextServicesDocument final : public nsITextServicesDocument, - public nsIEditActionListener + public nsIEditActionListener { private: static nsIAtom *sAAtom; diff --git a/embedding/browser/nsDocShellTreeOwner.h b/embedding/browser/nsDocShellTreeOwner.h index e1666ad1c73..fc87bd8e92d 100644 --- a/embedding/browser/nsDocShellTreeOwner.h +++ b/embedding/browser/nsDocShellTreeOwner.h @@ -61,12 +61,12 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsICDocShellTreeOwner, NS_ICDOCSHELLTREEOWNER_IID) class nsDocShellTreeOwner final : public nsIDocShellTreeOwner, - public nsIBaseWindow, - public nsIInterfaceRequestor, - public nsIWebProgressListener, - public nsIDOMEventListener, - public nsICDocShellTreeOwner, - public nsSupportsWeakReference + public nsIBaseWindow, + public nsIInterfaceRequestor, + public nsIWebProgressListener, + public nsIDOMEventListener, + public nsICDocShellTreeOwner, + public nsSupportsWeakReference { friend class nsWebBrowser; friend class nsCommandHandler; diff --git a/embedding/browser/nsWebBrowser.h b/embedding/browser/nsWebBrowser.h index a9efbd1841a..88eeb413faf 100644 --- a/embedding/browser/nsWebBrowser.h +++ b/embedding/browser/nsWebBrowser.h @@ -73,19 +73,19 @@ public: class nsWebBrowser final : public nsIWebBrowser, - public nsIWebNavigation, - public nsIWebBrowserSetup, - public nsIDocShellTreeItem, - public nsIBaseWindow, - public nsIScrollable, - public nsITextScroll, - public nsIInterfaceRequestor, - public nsIWebBrowserPersist, - public nsIWebBrowserFocus, - public nsIWebProgressListener, - public nsIWebBrowserStream, - public nsIWidgetListener, - public nsSupportsWeakReference + public nsIWebNavigation, + public nsIWebBrowserSetup, + public nsIDocShellTreeItem, + public nsIBaseWindow, + public nsIScrollable, + public nsITextScroll, + public nsIInterfaceRequestor, + public nsIWebBrowserPersist, + public nsIWebBrowserFocus, + public nsIWebProgressListener, + public nsIWebBrowserStream, + public nsIWidgetListener, + public nsSupportsWeakReference { friend class nsDocShellTreeOwner; public: diff --git a/embedding/components/printingui/ipc/PrintProgressDialogChild.h b/embedding/components/printingui/ipc/PrintProgressDialogChild.h index c431f89e711..b0a7105d7ab 100644 --- a/embedding/components/printingui/ipc/PrintProgressDialogChild.h +++ b/embedding/components/printingui/ipc/PrintProgressDialogChild.h @@ -15,8 +15,8 @@ namespace mozilla { namespace embedding { class PrintProgressDialogChild final : public PPrintProgressDialogChild, - public nsIWebProgressListener, - public nsIPrintProgressParams + public nsIWebProgressListener, + public nsIPrintProgressParams { NS_DECL_ISUPPORTS NS_DECL_NSIWEBPROGRESSLISTENER diff --git a/embedding/components/printingui/ipc/PrintProgressDialogParent.h b/embedding/components/printingui/ipc/PrintProgressDialogParent.h index 1c1bb5e5b9a..540609162a8 100644 --- a/embedding/components/printingui/ipc/PrintProgressDialogParent.h +++ b/embedding/components/printingui/ipc/PrintProgressDialogParent.h @@ -14,7 +14,7 @@ class nsIWebProgressListener; namespace mozilla { namespace embedding { class PrintProgressDialogParent final : public PPrintProgressDialogParent, - public nsIObserver + public nsIObserver { public: NS_DECL_ISUPPORTS diff --git a/extensions/cookie/nsPermissionManager.h b/extensions/cookie/nsPermissionManager.h index 5a2eb6936b4..3b4252015ef 100644 --- a/extensions/cookie/nsPermissionManager.h +++ b/extensions/cookie/nsPermissionManager.h @@ -29,8 +29,8 @@ class mozIStorageAsyncStatement; //////////////////////////////////////////////////////////////////////////////// class nsPermissionManager final : public nsIPermissionManager, - public nsIObserver, - public nsSupportsWeakReference + public nsIObserver, + public nsSupportsWeakReference { public: class PermissionEntry diff --git a/extensions/gio/nsGIOProtocolHandler.cpp b/extensions/gio/nsGIOProtocolHandler.cpp index 26e961ca1e1..83a8d150ddc 100644 --- a/extensions/gio/nsGIOProtocolHandler.cpp +++ b/extensions/gio/nsGIOProtocolHandler.cpp @@ -883,7 +883,7 @@ mount_operation_ask_password (GMountOperation *mount_op, //----------------------------------------------------------------------------- class nsGIOProtocolHandler final : public nsIProtocolHandler - , public nsIObserver + , public nsIObserver { public: NS_DECL_ISUPPORTS diff --git a/extensions/permissions/nsContentBlocker.h b/extensions/permissions/nsContentBlocker.h index 40a355cc613..88030095209 100644 --- a/extensions/permissions/nsContentBlocker.h +++ b/extensions/permissions/nsContentBlocker.h @@ -16,8 +16,8 @@ class nsIPrefBranch; //////////////////////////////////////////////////////////////////////////////// class nsContentBlocker final : public nsIContentPolicy, - public nsIObserver, - public nsSupportsWeakReference + public nsIObserver, + public nsSupportsWeakReference { public: diff --git a/extensions/spellcheck/hunspell/src/mozHunspell.h b/extensions/spellcheck/hunspell/src/mozHunspell.h index bfe9c25b7f7..203766d8997 100644 --- a/extensions/spellcheck/hunspell/src/mozHunspell.h +++ b/extensions/spellcheck/hunspell/src/mozHunspell.h @@ -82,9 +82,9 @@ { 0xa6, 0x89, 0x88, 0x66, 0x92, 0xa9, 0x7f, 0xe7 } } class mozHunspell final : public mozISpellCheckingEngine, - public nsIObserver, - public nsSupportsWeakReference, - public nsIMemoryReporter + public nsIObserver, + public nsSupportsWeakReference, + public nsIMemoryReporter { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/extensions/spellcheck/src/mozInlineSpellChecker.h b/extensions/spellcheck/src/mozInlineSpellChecker.h index 000ee1bfda1..ad4317cf6ea 100644 --- a/extensions/spellcheck/src/mozInlineSpellChecker.h +++ b/extensions/spellcheck/src/mozInlineSpellChecker.h @@ -117,9 +117,9 @@ protected: }; class mozInlineSpellChecker final : public nsIInlineSpellChecker, - public nsIEditActionListener, - public nsIDOMEventListener, - public nsSupportsWeakReference + public nsIEditActionListener, + public nsIDOMEventListener, + public nsSupportsWeakReference { private: friend class mozInlineSpellStatus; diff --git a/extensions/spellcheck/src/mozPersonalDictionary.h b/extensions/spellcheck/src/mozPersonalDictionary.h index 6dde1620592..b169ebe96ca 100644 --- a/extensions/spellcheck/src/mozPersonalDictionary.h +++ b/extensions/spellcheck/src/mozPersonalDictionary.h @@ -27,8 +27,8 @@ class mozPersonalDictionaryLoader; class mozPersonalDictionary final : public mozIPersonalDictionary, - public nsIObserver, - public nsSupportsWeakReference + public nsIObserver, + public nsSupportsWeakReference { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/gfx/2d/ExtendInputEffectD2D1.h b/gfx/2d/ExtendInputEffectD2D1.h index 09306389799..724c6a71e3c 100644 --- a/gfx/2d/ExtendInputEffectD2D1.h +++ b/gfx/2d/ExtendInputEffectD2D1.h @@ -34,7 +34,7 @@ enum { // (which can transform transparent pixels into non-transparent ones, but only // inside their input effect's output rect). class ExtendInputEffectD2D1 final : public ID2D1EffectImpl - , public ID2D1DrawTransform + , public ID2D1DrawTransform { public: // ID2D1EffectImpl diff --git a/gfx/2d/RadialGradientEffectD2D1.h b/gfx/2d/RadialGradientEffectD2D1.h index ac8d433dcd0..a902588d110 100644 --- a/gfx/2d/RadialGradientEffectD2D1.h +++ b/gfx/2d/RadialGradientEffectD2D1.h @@ -39,7 +39,7 @@ enum { }; class RadialGradientEffectD2D1 final : public ID2D1EffectImpl - , public ID2D1DrawTransform + , public ID2D1DrawTransform { public: // ID2D1EffectImpl diff --git a/gfx/layers/client/ClientPaintedLayer.h b/gfx/layers/client/ClientPaintedLayer.h index 5b8e4de0b1c..b8f2b749616 100644 --- a/gfx/layers/client/ClientPaintedLayer.h +++ b/gfx/layers/client/ClientPaintedLayer.h @@ -28,7 +28,7 @@ class ShadowableLayer; class SpecificLayerAttributes; class ClientPaintedLayer : public PaintedLayer, - public ClientLayer { + public ClientLayer { public: typedef RotatedContentBuffer::PaintState PaintState; typedef RotatedContentBuffer::ContentType ContentType; diff --git a/gfx/layers/client/ClientTiledPaintedLayer.h b/gfx/layers/client/ClientTiledPaintedLayer.h index 1492d128609..57999a2badd 100644 --- a/gfx/layers/client/ClientTiledPaintedLayer.h +++ b/gfx/layers/client/ClientTiledPaintedLayer.h @@ -36,7 +36,7 @@ class SpecificLayerAttributes; * There is no ContentClient for tiled layers. There is a ContentHost, however. */ class ClientTiledPaintedLayer : public PaintedLayer, - public ClientLayer + public ClientLayer { typedef PaintedLayer Base; diff --git a/gfx/layers/client/ContentClient.h b/gfx/layers/client/ContentClient.h index a8a28ebc2d0..5778ec98dd9 100644 --- a/gfx/layers/client/ContentClient.h +++ b/gfx/layers/client/ContentClient.h @@ -129,7 +129,7 @@ public: // thin wrapper around RotatedContentBuffer, for on-mtc class ContentClientBasic final : public ContentClient - , protected RotatedContentBuffer + , protected RotatedContentBuffer { public: ContentClientBasic(); diff --git a/gfx/layers/composite/PaintedLayerComposite.h b/gfx/layers/composite/PaintedLayerComposite.h index 9761872cc34..564ea4e8fc6 100644 --- a/gfx/layers/composite/PaintedLayerComposite.h +++ b/gfx/layers/composite/PaintedLayerComposite.h @@ -34,7 +34,7 @@ class ContentHost; class TiledLayerComposer; class PaintedLayerComposite : public PaintedLayer, - public LayerComposite + public LayerComposite { public: explicit PaintedLayerComposite(LayerManagerComposite *aManager); diff --git a/gfx/layers/ipc/CompositorParent.cpp b/gfx/layers/ipc/CompositorParent.cpp index f901a91dae0..2015d872874 100644 --- a/gfx/layers/ipc/CompositorParent.cpp +++ b/gfx/layers/ipc/CompositorParent.cpp @@ -1506,7 +1506,7 @@ CompositorParent::RequestNotifyLayerTreeCleared(uint64_t aLayersId, CompositorUp * CompositorParent it's associated with. */ class CrossProcessCompositorParent final : public PCompositorParent, - public ShadowLayersManager + public ShadowLayersManager { friend class CompositorParent; diff --git a/gfx/layers/ipc/CompositorParent.h b/gfx/layers/ipc/CompositorParent.h index 411ebc5ac24..0011a479cc5 100644 --- a/gfx/layers/ipc/CompositorParent.h +++ b/gfx/layers/ipc/CompositorParent.h @@ -143,7 +143,7 @@ protected: }; class CompositorParent final : public PCompositorParent, - public ShadowLayersManager + public ShadowLayersManager { NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION(CompositorParent) friend class CompositorVsyncObserver; diff --git a/gfx/layers/ipc/ImageBridgeChild.h b/gfx/layers/ipc/ImageBridgeChild.h index 7042c046663..0815438f2a6 100644 --- a/gfx/layers/ipc/ImageBridgeChild.h +++ b/gfx/layers/ipc/ImageBridgeChild.h @@ -102,8 +102,8 @@ bool InImageBridgeChildThread(); * CompositableHost with an AsyncID). */ class ImageBridgeChild final : public PImageBridgeChild - , public CompositableForwarder - , public AsyncTransactionTrackersHolder + , public CompositableForwarder + , public AsyncTransactionTrackersHolder { friend class ImageContainer; typedef InfallibleTArray AsyncParentMessageArray; diff --git a/gfx/layers/ipc/ImageBridgeParent.h b/gfx/layers/ipc/ImageBridgeParent.h index e504481960f..21c250e5fb9 100644 --- a/gfx/layers/ipc/ImageBridgeParent.h +++ b/gfx/layers/ipc/ImageBridgeParent.h @@ -38,7 +38,7 @@ namespace layers { * interesting stuff is in ImageContainerParent. */ class ImageBridgeParent final : public PImageBridgeParent, - public CompositableParentManager + public CompositableParentManager { public: typedef InfallibleTArray EditArray; diff --git a/gfx/layers/opengl/TextureHostOGL.h b/gfx/layers/opengl/TextureHostOGL.h index db41be690fa..01129fa841e 100644 --- a/gfx/layers/opengl/TextureHostOGL.h +++ b/gfx/layers/opengl/TextureHostOGL.h @@ -185,8 +185,8 @@ protected: * GL texture(s). */ class TextureImageTextureSourceOGL final : public DataTextureSource - , public TextureSourceOGL - , public BigImageIterator + , public TextureSourceOGL + , public BigImageIterator { public: explicit TextureImageTextureSourceOGL(CompositorOGL *aCompositor, diff --git a/gfx/thebes/gfxAndroidPlatform.cpp b/gfx/thebes/gfxAndroidPlatform.cpp index e85fcdf8c99..df0d60d1980 100644 --- a/gfx/thebes/gfxAndroidPlatform.cpp +++ b/gfx/thebes/gfxAndroidPlatform.cpp @@ -46,7 +46,7 @@ using namespace mozilla::gfx; static FT_Library gPlatformFTLibrary = nullptr; class FreetypeReporter final : public nsIMemoryReporter, - public CountingAllocatorBase + public CountingAllocatorBase { private: ~FreetypeReporter() {} diff --git a/gfx/thebes/gfxPlatform.cpp b/gfx/thebes/gfxPlatform.cpp index 6e8f05a930e..1d3a4f0f233 100644 --- a/gfx/thebes/gfxPlatform.cpp +++ b/gfx/thebes/gfxPlatform.cpp @@ -144,7 +144,7 @@ using namespace mozilla::gfx; /* Class to listen for pref changes so that chrome code can dynamically force sRGB as an output profile. See Bug #452125. */ class SRGBOverrideObserver final : public nsIObserver, - public nsSupportsWeakReference + public nsSupportsWeakReference { ~SRGBOverrideObserver() {} public: diff --git a/image/decoders/icon/nsIconURI.h b/image/decoders/icon/nsIconURI.h index 94e20baf33a..dc4820dcb3f 100644 --- a/image/decoders/icon/nsIconURI.h +++ b/image/decoders/icon/nsIconURI.h @@ -13,7 +13,7 @@ #include "nsIIPCSerializableURI.h" class nsMozIconURI final : public nsIMozIconURI - , public nsIIPCSerializableURI + , public nsIIPCSerializableURI { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/image/src/RasterImage.h b/image/src/RasterImage.h index d1d75719119..2c831b59463 100644 --- a/image/src/RasterImage.h +++ b/image/src/RasterImage.h @@ -146,10 +146,10 @@ DecodeFlags(uint32_t aFlags) } class RasterImage final : public ImageResource - , public nsIProperties - , public SupportsWeakPtr + , public nsIProperties + , public SupportsWeakPtr #ifdef DEBUG - , public imgIContainerDebug + , public imgIContainerDebug #endif { // (no public constructor - use ImageFactory) diff --git a/image/src/SVGDocumentWrapper.h b/image/src/SVGDocumentWrapper.h index 2929e25e2d9..d8e571d2d48 100644 --- a/image/src/SVGDocumentWrapper.h +++ b/image/src/SVGDocumentWrapper.h @@ -36,8 +36,8 @@ class SVGSVGElement; namespace image { class SVGDocumentWrapper final : public nsIStreamListener, - public nsIObserver, - nsSupportsWeakReference + public nsIObserver, + nsSupportsWeakReference { public: SVGDocumentWrapper(); diff --git a/image/src/VectorImage.h b/image/src/VectorImage.h index 81efd58cb0d..249ce3be639 100644 --- a/image/src/VectorImage.h +++ b/image/src/VectorImage.h @@ -27,7 +27,7 @@ class SVGLoadEventListener; class SVGParseCompleteListener; class VectorImage final : public ImageResource, - public nsIStreamListener + public nsIStreamListener { public: NS_DECL_ISUPPORTS diff --git a/image/src/imgLoader.h b/image/src/imgLoader.h index 66d1d8b90dd..079dbdd4bae 100644 --- a/image/src/imgLoader.h +++ b/image/src/imgLoader.h @@ -212,10 +212,10 @@ enum class AcceptedMimeTypes : uint8_t { }; class imgLoader final : public imgILoader, - public nsIContentSniffer, - public imgICache, - public nsSupportsWeakReference, - public nsIObserver + public nsIContentSniffer, + public imgICache, + public nsSupportsWeakReference, + public nsIObserver { virtual ~imgLoader(); diff --git a/image/src/imgRequest.h b/image/src/imgRequest.h index c3bf3a155b8..19a4073f227 100644 --- a/image/src/imgRequest.h +++ b/image/src/imgRequest.h @@ -43,10 +43,10 @@ class ProgressTracker; struct NewPartResult; class imgRequest final : public nsIStreamListener, - public nsIThreadRetargetableStreamListener, - public nsIChannelEventSink, - public nsIInterfaceRequestor, - public nsIAsyncVerifyRedirectCallback + public nsIThreadRetargetableStreamListener, + public nsIChannelEventSink, + public nsIInterfaceRequestor, + public nsIAsyncVerifyRedirectCallback { typedef mozilla::image::Image Image; typedef mozilla::image::ImageURL ImageURL; diff --git a/ipc/bluetooth/BluetoothDaemonConnection.cpp b/ipc/bluetooth/BluetoothDaemonConnection.cpp index ecc6c4546a3..68406a3a0c8 100644 --- a/ipc/bluetooth/BluetoothDaemonConnection.cpp +++ b/ipc/bluetooth/BluetoothDaemonConnection.cpp @@ -191,7 +191,7 @@ BluetoothDaemonPDUConsumer::~BluetoothDaemonPDUConsumer() // class BluetoothDaemonConnectionIO final : public UnixSocketWatcher - , public ConnectionOrientedSocketIO + , public ConnectionOrientedSocketIO { public: BluetoothDaemonConnectionIO(MessageLoop* aIOLoop, int aFd, diff --git a/ipc/glue/MessagePump.cpp b/ipc/glue/MessagePump.cpp index 7d52e9a4dce..48d9398c175 100644 --- a/ipc/glue/MessagePump.cpp +++ b/ipc/glue/MessagePump.cpp @@ -42,7 +42,7 @@ namespace mozilla { namespace ipc { class DoWorkRunnable final : public nsICancelableRunnable, - public nsITimerCallback + public nsITimerCallback { public: explicit DoWorkRunnable(MessagePump* aPump) diff --git a/ipc/glue/nsIIPCBackgroundChildCreateCallback.h b/ipc/glue/nsIIPCBackgroundChildCreateCallback.h index ca85a20ed21..8050cc5d38b 100644 --- a/ipc/glue/nsIIPCBackgroundChildCreateCallback.h +++ b/ipc/glue/nsIIPCBackgroundChildCreateCallback.h @@ -47,24 +47,24 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsIIPCBackgroundChildCreateCallback, #define NS_DECL_NSIIPCBACKGROUNDCHILDCREATECALLBACK \ virtual void \ - ActorCreated(mozilla::ipc::PBackgroundChild*) override; \ + ActorCreated(mozilla::ipc::PBackgroundChild*) override; \ virtual void \ ActorFailed() override; #define NS_FORWARD_NSIIPCBACKGROUNDCHILDCREATECALLBACK(_to) \ virtual void \ - ActorCreated(mozilla::ipc::PBackgroundChild* aActor) override \ + ActorCreated(mozilla::ipc::PBackgroundChild* aActor) override \ { _to ActorCreated(aActor); } \ virtual void \ - ActorFailed() override \ + ActorFailed() override \ { _to ActorFailed(); } #define NS_FORWARD_SAFE_NSIIPCBACKGROUNDCHILDCREATECALLBACK(_to) \ virtual void \ - ActorCreated(mozilla::ipc::PBackgroundChild* aActor) override \ + ActorCreated(mozilla::ipc::PBackgroundChild* aActor) override \ { if (_to) { _to->ActorCreated(aActor); } } \ virtual void \ - ActorFailed() override \ + ActorFailed() override \ { if (_to) { _to->ActorFailed(); } } #endif // mozilla_ipc_nsiipcbackgroundchildcreatecallback_h diff --git a/ipc/glue/nsIIPCSerializableInputStream.h b/ipc/glue/nsIIPCSerializableInputStream.h index 88f296b7e37..0c4b48162ca 100644 --- a/ipc/glue/nsIIPCSerializableInputStream.h +++ b/ipc/glue/nsIIPCSerializableInputStream.h @@ -46,7 +46,7 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsIIPCSerializableInputStream, #define NS_DECL_NSIIPCSERIALIZABLEINPUTSTREAM \ virtual void \ Serialize(mozilla::ipc::InputStreamParams&, \ - FileDescriptorArray&) override; \ + FileDescriptorArray&) override; \ \ virtual bool \ Deserialize(const mozilla::ipc::InputStreamParams&, \ @@ -55,14 +55,14 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsIIPCSerializableInputStream, #define NS_FORWARD_NSIIPCSERIALIZABLEINPUTSTREAM(_to) \ virtual void \ Serialize(mozilla::ipc::InputStreamParams& aParams, \ - FileDescriptorArray& aFileDescriptors) override \ + FileDescriptorArray& aFileDescriptors) override \ { \ _to Serialize(aParams, aFileDescriptors); \ } \ \ virtual bool \ Deserialize(const mozilla::ipc::InputStreamParams& aParams, \ - const FileDescriptorArray& aFileDescriptors) override \ + const FileDescriptorArray& aFileDescriptors) override \ { \ return _to Deserialize(aParams, aFileDescriptors); \ } @@ -70,7 +70,7 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsIIPCSerializableInputStream, #define NS_FORWARD_SAFE_NSIIPCSERIALIZABLEINPUTSTREAM(_to) \ virtual void \ Serialize(mozilla::ipc::InputStreamParams& aParams, \ - FileDescriptorArray& aFileDescriptors) override \ + FileDescriptorArray& aFileDescriptors) override \ { \ if (_to) { \ _to->Serialize(aParams, aFileDescriptors); \ @@ -79,7 +79,7 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsIIPCSerializableInputStream, \ virtual bool \ Deserialize(const mozilla::ipc::InputStreamParams& aParams, \ - const FileDescriptorArray& aFileDescriptors) override \ + const FileDescriptorArray& aFileDescriptors) override \ { \ return _to ? _to->Deserialize(aParams, aFileDescriptors) : false; \ } diff --git a/ipc/unixsocket/ListenSocket.cpp b/ipc/unixsocket/ListenSocket.cpp index 4e96a34bec2..2257e36af2d 100644 --- a/ipc/unixsocket/ListenSocket.cpp +++ b/ipc/unixsocket/ListenSocket.cpp @@ -21,7 +21,7 @@ namespace ipc { // class ListenSocketIO final : public UnixSocketWatcher - , protected SocketIOBase + , protected SocketIOBase { public: class ListenTask; diff --git a/ipc/unixsocket/StreamSocket.cpp b/ipc/unixsocket/StreamSocket.cpp index 8c3f8c6f17e..22e9f9e38a7 100644 --- a/ipc/unixsocket/StreamSocket.cpp +++ b/ipc/unixsocket/StreamSocket.cpp @@ -21,8 +21,8 @@ namespace ipc { // class StreamSocketIO final : public UnixSocketWatcher - , protected SocketIOBase - , public ConnectionOrientedSocketIO + , protected SocketIOBase + , public ConnectionOrientedSocketIO { public: class ConnectTask; diff --git a/ipc/unixsocket/UnixSocket.cpp b/ipc/unixsocket/UnixSocket.cpp index cabda175044..1e0df9284dd 100644 --- a/ipc/unixsocket/UnixSocket.cpp +++ b/ipc/unixsocket/UnixSocket.cpp @@ -20,7 +20,7 @@ namespace ipc { // class UnixSocketConsumerIO final : public UnixSocketWatcher - , protected SocketIOBase + , protected SocketIOBase { public: UnixSocketConsumerIO(MessageLoop* mIOLoop, diff --git a/js/src/jit/MIR.h b/js/src/jit/MIR.h index 078b23abc0d..bfaafd76fd1 100644 --- a/js/src/jit/MIR.h +++ b/js/src/jit/MIR.h @@ -948,27 +948,27 @@ class MInstruction #define INSTRUCTION_HEADER_WITHOUT_TYPEPOLICY(opcode) \ static const Opcode classOpcode = MDefinition::Op_##opcode; \ - Opcode op() const override { \ + Opcode op() const override { \ return classOpcode; \ } \ - const char *opName() const override { \ + const char *opName() const override { \ return #opcode; \ } \ - void accept(MDefinitionVisitor *visitor) override { \ + void accept(MDefinitionVisitor *visitor) override { \ visitor->visit##opcode(this); \ } #define INSTRUCTION_HEADER(opcode) \ INSTRUCTION_HEADER_WITHOUT_TYPEPOLICY(opcode) \ - virtual TypePolicy *typePolicy() override; \ + virtual TypePolicy *typePolicy() override; \ virtual MIRType typePolicySpecialization() override; #define ALLOW_CLONE(typename) \ - bool canClone() const override { \ + bool canClone() const override { \ return true; \ } \ MInstruction *clone(TempAllocator &alloc, \ - const MDefinitionVector &inputs) const override { \ + const MDefinitionVector &inputs) const override { \ MInstruction *res = new(alloc) typename(*this); \ for (size_t i = 0; i < numOperands(); i++) \ res->replaceOperand(i, inputs[i]); \ diff --git a/js/src/jsapi-tests/tests.h b/js/src/jsapi-tests/tests.h index 483d0f26103..d488689ca27 100644 --- a/js/src/jsapi-tests/tests.h +++ b/js/src/jsapi-tests/tests.h @@ -316,7 +316,7 @@ class JSAPITest #define BEGIN_TEST(testname) \ class cls_##testname : public JSAPITest { \ public: \ - virtual const char * name() override { return #testname; } \ + virtual const char * name() override { return #testname; } \ virtual bool run(JS::HandleObject global) override #define END_TEST(testname) \ @@ -334,7 +334,7 @@ class JSAPITest #define BEGIN_FIXTURE_TEST(fixture, testname) \ class cls_##testname : public fixture { \ public: \ - virtual const char * name() override { return #testname; } \ + virtual const char * name() override { return #testname; } \ virtual bool run(JS::HandleObject global) override #define END_FIXTURE_TEST(fixture, testname) \ diff --git a/js/xpconnect/src/xpcprivate.h b/js/xpconnect/src/xpcprivate.h index 72ee5aecf4e..29e836e1b1b 100644 --- a/js/xpconnect/src/xpcprivate.h +++ b/js/xpconnect/src/xpcprivate.h @@ -2409,10 +2409,10 @@ private: // interface on the single underlying (possibly aggregate) JSObject. class nsXPCWrappedJS final : protected nsAutoXPTCStub, - public nsIXPConnectWrappedJS, - public nsSupportsWeakReference, - public nsIPropertyBag, - public XPCRootSetElem + public nsIXPConnectWrappedJS, + public nsSupportsWeakReference, + public nsIPropertyBag, + public XPCRootSetElem { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/layout/base/SelectionCarets.h b/layout/base/SelectionCarets.h index ec5d851eafd..342b39c36de 100644 --- a/layout/base/SelectionCarets.h +++ b/layout/base/SelectionCarets.h @@ -57,9 +57,9 @@ class Selection; * caret becomes tilt. */ class SelectionCarets final : public nsIReflowObserver, - public nsISelectionListener, - public nsIScrollObserver, - public nsSupportsWeakReference + public nsISelectionListener, + public nsIScrollObserver, + public nsSupportsWeakReference { public: /** diff --git a/layout/base/nsDocumentViewer.cpp b/layout/base/nsDocumentViewer.cpp index 69e5c6deb98..fcc16359f75 100644 --- a/layout/base/nsDocumentViewer.cpp +++ b/layout/base/nsDocumentViewer.cpp @@ -214,12 +214,12 @@ private: //------------------------------------------------------------- class nsDocumentViewer final : public nsIContentViewer, - public nsIContentViewerEdit, - public nsIContentViewerFile, - public nsIDocumentViewerPrint + public nsIContentViewerEdit, + public nsIContentViewerFile, + public nsIDocumentViewerPrint #ifdef NS_PRINTING - , public nsIWebBrowserPrint + , public nsIWebBrowserPrint #endif { diff --git a/layout/base/nsLayoutHistoryState.cpp b/layout/base/nsLayoutHistoryState.cpp index 9fa0c3a3faa..686b2434b6d 100644 --- a/layout/base/nsLayoutHistoryState.cpp +++ b/layout/base/nsLayoutHistoryState.cpp @@ -15,7 +15,7 @@ #include "mozilla/Attributes.h" class nsLayoutHistoryState final : public nsILayoutHistoryState, - public nsSupportsWeakReference + public nsSupportsWeakReference { public: nsLayoutHistoryState() diff --git a/layout/base/nsPresShell.h b/layout/base/nsPresShell.h index 471557c39f3..8cddd190641 100644 --- a/layout/base/nsPresShell.h +++ b/layout/base/nsPresShell.h @@ -59,9 +59,10 @@ class EventDispatchingCallback; #define PAINTLOCK_EVENT_DELAY 250 class PresShell final : public nsIPresShell, - public nsStubDocumentObserver, - public nsISelectionController, public nsIObserver, - public nsSupportsWeakReference + public nsStubDocumentObserver, + public nsISelectionController, + public nsIObserver, + public nsSupportsWeakReference { public: PresShell(); diff --git a/layout/base/nsRefreshDriver.h b/layout/base/nsRefreshDriver.h index e7e08d52bba..e001e7fa381 100644 --- a/layout/base/nsRefreshDriver.h +++ b/layout/base/nsRefreshDriver.h @@ -67,7 +67,8 @@ public: }; class nsRefreshDriver final : public mozilla::layers::TransactionIdAllocator, - public nsARefreshObserver { + public nsARefreshObserver +{ public: explicit nsRefreshDriver(nsPresContext *aPresContext); ~nsRefreshDriver(); diff --git a/layout/forms/nsColorControlFrame.h b/layout/forms/nsColorControlFrame.h index 6d9e6c75512..584491e56c6 100644 --- a/layout/forms/nsColorControlFrame.h +++ b/layout/forms/nsColorControlFrame.h @@ -15,7 +15,7 @@ typedef nsHTMLButtonControlFrame nsColorControlFrameSuper; // Class which implements the input type=color class nsColorControlFrame final : public nsColorControlFrameSuper, - public nsIAnonymousContentCreator + public nsIAnonymousContentCreator { typedef mozilla::dom::Element Element; diff --git a/layout/forms/nsComboboxControlFrame.h b/layout/forms/nsComboboxControlFrame.h index 2fd92a70b47..e459c178351 100644 --- a/layout/forms/nsComboboxControlFrame.h +++ b/layout/forms/nsComboboxControlFrame.h @@ -44,12 +44,12 @@ class DrawTarget; } class nsComboboxControlFrame final : public nsBlockFrame, - public nsIFormControlFrame, - public nsIComboboxControlFrame, - public nsIAnonymousContentCreator, - public nsISelectControlFrame, - public nsIRollupListener, - public nsIStatefulFrame + public nsIFormControlFrame, + public nsIComboboxControlFrame, + public nsIAnonymousContentCreator, + public nsISelectControlFrame, + public nsIRollupListener, + public nsIStatefulFrame { typedef mozilla::gfx::DrawTarget DrawTarget; diff --git a/layout/forms/nsListControlFrame.h b/layout/forms/nsListControlFrame.h index 93fd0126a18..e83e92a82c0 100644 --- a/layout/forms/nsListControlFrame.h +++ b/layout/forms/nsListControlFrame.h @@ -47,9 +47,9 @@ class HTMLOptionsCollection; */ class nsListControlFrame final : public nsHTMLScrollFrame, - public nsIFormControlFrame, - public nsIListControlFrame, - public nsISelectControlFrame + public nsIFormControlFrame, + public nsIListControlFrame, + public nsISelectControlFrame { public: friend nsContainerFrame* NS_NewListControlFrame(nsIPresShell* aPresShell, diff --git a/layout/forms/nsNumberControlFrame.h b/layout/forms/nsNumberControlFrame.h index 698890a34e3..c07b2ee9ddf 100644 --- a/layout/forms/nsNumberControlFrame.h +++ b/layout/forms/nsNumberControlFrame.h @@ -27,8 +27,8 @@ class HTMLInputElement; * This frame type is used for . */ class nsNumberControlFrame final : public nsContainerFrame - , public nsIAnonymousContentCreator - , public nsITextControlFrame + , public nsIAnonymousContentCreator + , public nsITextControlFrame { friend nsIFrame* NS_NewNumberControlFrame(nsIPresShell* aPresShell, nsStyleContext* aContext); diff --git a/layout/forms/nsTextControlFrame.h b/layout/forms/nsTextControlFrame.h index 169d17b746b..5f85b149c1a 100644 --- a/layout/forms/nsTextControlFrame.h +++ b/layout/forms/nsTextControlFrame.h @@ -25,9 +25,9 @@ class Element; } class nsTextControlFrame final : public nsContainerFrame, - public nsIAnonymousContentCreator, - public nsITextControlFrame, - public nsIStatefulFrame + public nsIAnonymousContentCreator, + public nsITextControlFrame, + public nsIStatefulFrame { public: NS_DECL_FRAMEARENA_HELPERS diff --git a/layout/generic/ScrollbarActivity.h b/layout/generic/ScrollbarActivity.h index cc8c55bdbf2..b390fefbfcd 100644 --- a/layout/generic/ScrollbarActivity.h +++ b/layout/generic/ScrollbarActivity.h @@ -56,7 +56,8 @@ namespace layout { */ class ScrollbarActivity final : public nsIDOMEventListener, - public nsARefreshObserver { + public nsARefreshObserver +{ public: explicit ScrollbarActivity(nsIScrollbarMediator* aScrollableFrame) : mScrollableFrame(aScrollableFrame) diff --git a/layout/generic/Selection.h b/layout/generic/Selection.h index 5ccbe89e834..e5b1af2eada 100644 --- a/layout/generic/Selection.h +++ b/layout/generic/Selection.h @@ -49,8 +49,8 @@ namespace mozilla { namespace dom { class Selection final : public nsISelectionPrivate, - public nsWrapperCache, - public nsSupportsWeakReference + public nsWrapperCache, + public nsSupportsWeakReference { protected: virtual ~Selection(); diff --git a/layout/generic/nsBulletFrame.h b/layout/generic/nsBulletFrame.h index 135d39a3d95..b050859b838 100644 --- a/layout/generic/nsBulletFrame.h +++ b/layout/generic/nsBulletFrame.h @@ -21,7 +21,7 @@ class imgRequestProxy; class nsBulletFrame; class nsBulletListener final : public imgINotificationObserver, - public imgIOnloadBlocker + public imgIOnloadBlocker { public: nsBulletListener(); diff --git a/layout/generic/nsCanvasFrame.h b/layout/generic/nsCanvasFrame.h index f5edc71022a..96b26e4777a 100644 --- a/layout/generic/nsCanvasFrame.h +++ b/layout/generic/nsCanvasFrame.h @@ -27,8 +27,8 @@ class nsRenderingContext; * frame */ class nsCanvasFrame final : public nsContainerFrame, - public nsIScrollPositionListener, - public nsIAnonymousContentCreator + public nsIScrollPositionListener, + public nsIAnonymousContentCreator { public: explicit nsCanvasFrame(nsStyleContext* aContext) diff --git a/layout/generic/nsGfxScrollFrame.h b/layout/generic/nsGfxScrollFrame.h index 0506cb3c2df..26ce5b8b2b7 100644 --- a/layout/generic/nsGfxScrollFrame.h +++ b/layout/generic/nsGfxScrollFrame.h @@ -946,9 +946,10 @@ private: * or remove the scrolled frame */ class nsXULScrollFrame final : public nsBoxFrame, - public nsIScrollableFrame, - public nsIAnonymousContentCreator, - public nsIStatefulFrame { + public nsIScrollableFrame, + public nsIAnonymousContentCreator, + public nsIStatefulFrame +{ public: typedef mozilla::ScrollFrameHelper ScrollFrameHelper; typedef mozilla::CSSIntPoint CSSIntPoint; diff --git a/layout/generic/nsImageFrame.h b/layout/generic/nsImageFrame.h index 96002abaf0c..d383aa09bb2 100644 --- a/layout/generic/nsImageFrame.h +++ b/layout/generic/nsImageFrame.h @@ -324,7 +324,8 @@ private: imgRequestProxy **aRequest); class IconLoad final : public nsIObserver, - public imgINotificationObserver { + public imgINotificationObserver + { // private class that wraps the data and logic needed for // broken image and loading image icons public: diff --git a/layout/generic/nsImageMap.h b/layout/generic/nsImageMap.h index 0808a0dee0a..627657b1045 100644 --- a/layout/generic/nsImageMap.h +++ b/layout/generic/nsImageMap.h @@ -22,7 +22,7 @@ class nsIContent; struct nsRect; class nsImageMap final : public nsStubMutationObserver, - public nsIDOMEventListener + public nsIDOMEventListener { typedef mozilla::gfx::DrawTarget DrawTarget; typedef mozilla::gfx::ColorPattern ColorPattern; diff --git a/layout/ipc/VsyncParent.h b/layout/ipc/VsyncParent.h index 4b8e3e02e1b..b0a3691cdca 100644 --- a/layout/ipc/VsyncParent.h +++ b/layout/ipc/VsyncParent.h @@ -25,7 +25,7 @@ namespace layout { // content process. This actor will be released when its parent protocol calls // DeallocPVsyncParent(). class VsyncParent final : public PVsyncParent, - public VsyncObserver + public VsyncObserver { friend class mozilla::ipc::BackgroundParentImpl; diff --git a/layout/printing/nsPagePrintTimer.h b/layout/printing/nsPagePrintTimer.h index 7f47004e966..396effbf751 100644 --- a/layout/printing/nsPagePrintTimer.h +++ b/layout/printing/nsPagePrintTimer.h @@ -19,7 +19,7 @@ class nsPrintEngine; //-- Page Timer Class //--------------------------------------------------- class nsPagePrintTimer final : public nsRunnable, - public nsITimerCallback + public nsITimerCallback { public: diff --git a/layout/printing/nsPrintEngine.h b/layout/printing/nsPrintEngine.h index efbb6d91ff6..1d99c08b341 100644 --- a/layout/printing/nsPrintEngine.h +++ b/layout/printing/nsPrintEngine.h @@ -38,8 +38,8 @@ class nsIWeakReference; // //------------------------------------------------------------------------ class nsPrintEngine final : public nsIObserver, - public nsIWebProgressListener, - public nsSupportsWeakReference + public nsIWebProgressListener, + public nsSupportsWeakReference { public: // nsISupports interface... diff --git a/layout/style/CSSStyleSheet.h b/layout/style/CSSStyleSheet.h index 3e58c8745a8..108510f17d2 100644 --- a/layout/style/CSSStyleSheet.h +++ b/layout/style/CSSStyleSheet.h @@ -117,9 +117,9 @@ private: class CSSStyleSheet final : public nsIStyleSheet, - public nsIDOMCSSStyleSheet, - public nsICSSLoaderObserver, - public nsWrapperCache + public nsIDOMCSSStyleSheet, + public nsICSSLoaderObserver, + public nsWrapperCache { public: typedef net::ReferrerPolicy ReferrerPolicy; diff --git a/layout/style/FontFace.h b/layout/style/FontFace.h index d9a2cd6a006..8c623f048be 100644 --- a/layout/style/FontFace.h +++ b/layout/style/FontFace.h @@ -31,7 +31,7 @@ namespace mozilla { namespace dom { class FontFace final : public nsISupports, - public nsWrapperCache + public nsWrapperCache { friend class mozilla::dom::FontFaceBufferSource; friend class Entry; diff --git a/layout/style/FontFaceSet.h b/layout/style/FontFaceSet.h index 38c65e630c0..0dc50395060 100644 --- a/layout/style/FontFaceSet.h +++ b/layout/style/FontFaceSet.h @@ -31,8 +31,8 @@ namespace mozilla { namespace dom { class FontFaceSet final : public DOMEventTargetHelper - , public nsIDOMEventListener - , public nsICSSLoaderObserver + , public nsIDOMEventListener + , public nsICSSLoaderObserver { friend class UserFontSet; diff --git a/layout/style/ImageLoader.h b/layout/style/ImageLoader.h index 8096832198a..25ac387d3bc 100644 --- a/layout/style/ImageLoader.h +++ b/layout/style/ImageLoader.h @@ -29,7 +29,8 @@ namespace css { struct ImageValue; class ImageLoader final : public imgINotificationObserver, - public imgIOnloadBlocker { + public imgIOnloadBlocker +{ public: typedef mozilla::css::ImageValue Image; diff --git a/layout/style/ImportRule.h b/layout/style/ImportRule.h index 8288e4b213e..87cd6ebbb4e 100644 --- a/layout/style/ImportRule.h +++ b/layout/style/ImportRule.h @@ -24,7 +24,7 @@ class CSSStyleSheet; namespace css { class ImportRule final : public Rule, - public nsIDOMCSSImportRule + public nsIDOMCSSImportRule { public: ImportRule(nsMediaList* aMedia, const nsString& aURLSpec, diff --git a/layout/style/MediaQueryList.h b/layout/style/MediaQueryList.h index 4f28d0a56ae..144696be338 100644 --- a/layout/style/MediaQueryList.h +++ b/layout/style/MediaQueryList.h @@ -26,8 +26,8 @@ namespace mozilla { namespace dom { class MediaQueryList final : public nsISupports, - public nsWrapperCache, - public PRCList + public nsWrapperCache, + public PRCList { public: // The caller who constructs is responsible for calling Evaluate diff --git a/layout/style/NameSpaceRule.h b/layout/style/NameSpaceRule.h index 24e8d97b4aa..9ef50d7089d 100644 --- a/layout/style/NameSpaceRule.h +++ b/layout/style/NameSpaceRule.h @@ -25,7 +25,7 @@ namespace mozilla { namespace css { class NameSpaceRule final : public Rule, - public nsIDOMCSSRule + public nsIDOMCSSRule { public: NameSpaceRule(nsIAtom* aPrefix, const nsString& aURLSpec, diff --git a/layout/style/nsCSSRules.h b/layout/style/nsCSSRules.h index 0750e50e055..90e1fc11123 100644 --- a/layout/style/nsCSSRules.h +++ b/layout/style/nsCSSRules.h @@ -45,7 +45,7 @@ class ErrorResult; namespace css { class MediaRule final : public GroupRule, - public nsIDOMCSSMediaRule + public nsIDOMCSSMediaRule { public: MediaRule(uint32_t aLineNumber, uint32_t aColumnNumber); @@ -103,7 +103,7 @@ protected: }; class DocumentRule final : public GroupRule, - public nsIDOMCSSMozDocumentRule + public nsIDOMCSSMozDocumentRule { public: DocumentRule(uint32_t aLineNumber, uint32_t aColumnNumber); @@ -236,7 +236,7 @@ private: }; class nsCSSFontFaceRule final : public mozilla::css::Rule, - public nsIDOMCSSFontFaceRule + public nsIDOMCSSFontFaceRule { public: nsCSSFontFaceRule(uint32_t aLineNumber, uint32_t aColumnNumber) @@ -303,9 +303,8 @@ nsCSSFontFaceStyleDecl::ContainingRule() const (reinterpret_cast(this) - offsetof(nsCSSFontFaceRule, mDecl)); } -class nsCSSFontFeatureValuesRule final : - public mozilla::css::Rule, - public nsIDOMCSSFontFeatureValuesRule +class nsCSSFontFeatureValuesRule final : public mozilla::css::Rule, + public nsIDOMCSSFontFeatureValuesRule { public: nsCSSFontFeatureValuesRule(uint32_t aLineNumber, uint32_t aColumnNumber) @@ -360,7 +359,7 @@ namespace mozilla { namespace css { class CharsetRule final : public Rule, - public nsIDOMCSSCharsetRule + public nsIDOMCSSCharsetRule { public: CharsetRule(const nsAString& aEncoding, @@ -429,7 +428,7 @@ protected: }; class nsCSSKeyframeRule final : public mozilla::css::Rule, - public nsIDOMMozCSSKeyframeRule + public nsIDOMMozCSSKeyframeRule { public: // WARNING: Steals the contents of aKeys *and* aDeclaration @@ -481,7 +480,7 @@ private: }; class nsCSSKeyframesRule final : public mozilla::css::GroupRule, - public nsIDOMMozCSSKeyframesRule + public nsIDOMMozCSSKeyframesRule { public: nsCSSKeyframesRule(const nsSubstring& aName, @@ -562,7 +561,7 @@ protected: }; class nsCSSPageRule final : public mozilla::css::Rule, - public nsIDOMCSSPageRule + public nsIDOMCSSPageRule { public: // WARNING: Steals the contents of aDeclaration @@ -665,7 +664,7 @@ protected: } // namespace mozilla class nsCSSCounterStyleRule final : public mozilla::css::Rule, - public nsIDOMCSSCounterStyleRule + public nsIDOMCSSCounterStyleRule { public: explicit nsCSSCounterStyleRule(const nsAString& aName, diff --git a/layout/style/nsDOMCSSValueList.h b/layout/style/nsDOMCSSValueList.h index 835ed2f08f6..1fc48579ccf 100644 --- a/layout/style/nsDOMCSSValueList.h +++ b/layout/style/nsDOMCSSValueList.h @@ -12,7 +12,7 @@ #include "nsTArray.h" class nsDOMCSSValueList final : public mozilla::dom::CSSValue, - public nsIDOMCSSValueList + public nsIDOMCSSValueList { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/layout/style/nsICSSDeclaration.h b/layout/style/nsICSSDeclaration.h index 2f4a7a65839..6b36d9db0a2 100644 --- a/layout/style/nsICSSDeclaration.h +++ b/layout/style/nsICSSDeclaration.h @@ -155,9 +155,9 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsICSSDeclaration, NS_ICSSDECLARATION_IID) #define NS_DECL_NSICSSDECLARATION \ NS_IMETHOD GetPropertyValue(const nsCSSProperty aPropID, \ - nsAString& aValue) override; \ + nsAString& aValue) override; \ NS_IMETHOD GetAuthoredPropertyValue(const nsAString& aPropName, \ - nsAString& aValue) override; \ + nsAString& aValue) override; \ NS_IMETHOD SetPropertyValue(const nsCSSProperty aPropID, \ const nsAString& aValue) override; diff --git a/layout/style/nsIMediaList.h b/layout/style/nsIMediaList.h index baeaf79c6c9..ac9c686f487 100644 --- a/layout/style/nsIMediaList.h +++ b/layout/style/nsIMediaList.h @@ -189,7 +189,7 @@ private: }; class nsMediaList final : public nsIDOMMediaList - , public nsWrapperCache + , public nsWrapperCache { public: typedef mozilla::ErrorResult ErrorResult; diff --git a/layout/style/nsROCSSPrimitiveValue.h b/layout/style/nsROCSSPrimitiveValue.h index 1e7c28e27b4..c1a06298161 100644 --- a/layout/style/nsROCSSPrimitiveValue.h +++ b/layout/style/nsROCSSPrimitiveValue.h @@ -35,7 +35,7 @@ class nsDOMCSSRGBColor; * computed style. */ class nsROCSSPrimitiveValue final : public mozilla::dom::CSSValue, - public nsIDOMCSSPrimitiveValue + public nsIDOMCSSPrimitiveValue { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/layout/svg/nsSVGOuterSVGFrame.h b/layout/svg/nsSVGOuterSVGFrame.h index 2fd90bd2ab8..a132885e95c 100644 --- a/layout/svg/nsSVGOuterSVGFrame.h +++ b/layout/svg/nsSVGOuterSVGFrame.h @@ -20,7 +20,7 @@ class nsSVGForeignObjectFrame; typedef nsSVGDisplayContainerFrame nsSVGOuterSVGFrameBase; class nsSVGOuterSVGFrame final : public nsSVGOuterSVGFrameBase, - public nsISVGSVGFrame + public nsISVGSVGFrame { friend nsContainerFrame* NS_NewSVGOuterSVGFrame(nsIPresShell* aPresShell, nsStyleContext* aContext); diff --git a/layout/xul/ListBoxObject.h b/layout/xul/ListBoxObject.h index 12f7ba991b2..39cdf5c8c11 100644 --- a/layout/xul/ListBoxObject.h +++ b/layout/xul/ListBoxObject.h @@ -14,7 +14,7 @@ namespace mozilla { namespace dom { class ListBoxObject final : public BoxObject, - public nsPIListBoxObject + public nsPIListBoxObject { public: NS_DECL_ISUPPORTS_INHERITED diff --git a/layout/xul/grid/nsGridLayout2.h b/layout/xul/grid/nsGridLayout2.h index 1b4feabe91e..04e231e279f 100644 --- a/layout/xul/grid/nsGridLayout2.h +++ b/layout/xul/grid/nsGridLayout2.h @@ -24,7 +24,7 @@ class nsGridCell; * The nsBoxLayout implementation for a grid. */ class nsGridLayout2 final : public nsStackLayout, - public nsIGridPart + public nsIGridPart { public: diff --git a/layout/xul/nsImageBoxFrame.h b/layout/xul/nsImageBoxFrame.h index a19486b4a8d..0b4239339c9 100644 --- a/layout/xul/nsImageBoxFrame.h +++ b/layout/xul/nsImageBoxFrame.h @@ -20,7 +20,7 @@ class nsImageBoxFrame; class nsDisplayXULImage; class nsImageBoxListener final : public imgINotificationObserver, - public imgIOnloadBlocker + public imgIOnloadBlocker { public: nsImageBoxListener(); diff --git a/layout/xul/nsListBoxBodyFrame.h b/layout/xul/nsListBoxBodyFrame.h index 49e27692ffe..ea65c7e7464 100644 --- a/layout/xul/nsListBoxBodyFrame.h +++ b/layout/xul/nsListBoxBodyFrame.h @@ -21,8 +21,8 @@ nsIFrame* NS_NewListBoxBodyFrame(nsIPresShell* aPresShell, nsStyleContext* aContext); class nsListBoxBodyFrame final : public nsBoxFrame, - public nsIScrollbarMediator, - public nsIReflowCallback + public nsIScrollbarMediator, + public nsIReflowCallback { nsListBoxBodyFrame(nsStyleContext* aContext, nsBoxLayout* aLayoutManager); diff --git a/layout/xul/nsMenuPopupFrame.h b/layout/xul/nsMenuPopupFrame.h index d6fcff91f26..2d32c193b84 100644 --- a/layout/xul/nsMenuPopupFrame.h +++ b/layout/xul/nsMenuPopupFrame.h @@ -153,7 +153,7 @@ private: }; class nsMenuPopupFrame final : public nsBoxFrame, public nsMenuParent, - public nsIReflowCallback + public nsIReflowCallback { public: NS_DECL_QUERYFRAME_TARGET(nsMenuPopupFrame) diff --git a/layout/xul/nsXULPopupManager.h b/layout/xul/nsXULPopupManager.h index 900350ef49f..c01d0e020d5 100644 --- a/layout/xul/nsXULPopupManager.h +++ b/layout/xul/nsXULPopupManager.h @@ -271,9 +271,9 @@ private: }; class nsXULPopupManager final : public nsIDOMEventListener, - public nsIRollupListener, - public nsITimerCallback, - public nsIObserver + public nsIRollupListener, + public nsITimerCallback, + public nsIObserver { public: diff --git a/layout/xul/tree/TreeBoxObject.h b/layout/xul/tree/TreeBoxObject.h index fd80ab1bc66..d997b5a63d3 100644 --- a/layout/xul/tree/TreeBoxObject.h +++ b/layout/xul/tree/TreeBoxObject.h @@ -21,7 +21,7 @@ struct TreeCellInfo; class DOMRect; class TreeBoxObject final : public BoxObject, - public nsITreeBoxObject + public nsITreeBoxObject { public: NS_DECL_ISUPPORTS_INHERITED diff --git a/layout/xul/tree/nsTreeColumns.h b/layout/xul/tree/nsTreeColumns.h index f7e393d46aa..ae4afee2d74 100644 --- a/layout/xul/tree/nsTreeColumns.h +++ b/layout/xul/tree/nsTreeColumns.h @@ -40,7 +40,7 @@ class TreeBoxObject; // This class is our column info. We use it to iterate our columns and to obtain // information about each column. class nsTreeColumn final : public nsITreeColumn - , public nsWrapperCache + , public nsWrapperCache { public: nsTreeColumn(nsTreeColumns* aColumns, nsIContent* aContent); @@ -151,7 +151,7 @@ private: NS_DEFINE_STATIC_IID_ACCESSOR(nsTreeColumn, NS_TREECOLUMN_IMPL_CID) class nsTreeColumns final : public nsITreeColumns - , public nsWrapperCache + , public nsWrapperCache { private: ~nsTreeColumns(); diff --git a/layout/xul/tree/nsTreeContentView.h b/layout/xul/tree/nsTreeContentView.h index c6bbbdf4688..d0898c9f2e8 100644 --- a/layout/xul/tree/nsTreeContentView.h +++ b/layout/xul/tree/nsTreeContentView.h @@ -23,8 +23,8 @@ class Row; nsresult NS_NewTreeContentView(nsITreeView** aResult); class nsTreeContentView final : public nsINativeTreeView, - public nsITreeContentView, - public nsStubDocumentObserver + public nsITreeContentView, + public nsStubDocumentObserver { public: nsTreeContentView(void); diff --git a/media/gmp-clearkey/0.1/ClearKeySessionManager.h b/media/gmp-clearkey/0.1/ClearKeySessionManager.h index 3e734a6c1b5..7c11db694b0 100644 --- a/media/gmp-clearkey/0.1/ClearKeySessionManager.h +++ b/media/gmp-clearkey/0.1/ClearKeySessionManager.h @@ -19,7 +19,7 @@ #include "RefCounted.h" class ClearKeySessionManager final : public GMPDecryptor - , public RefCounted + , public RefCounted { public: ClearKeySessionManager(); diff --git a/media/mtransport/transportflow.h b/media/mtransport/transportflow.h index 0d51d3e0285..d0fe4844565 100644 --- a/media/mtransport/transportflow.h +++ b/media/mtransport/transportflow.h @@ -50,7 +50,7 @@ namespace mozilla { class TransportFlow final : public nsISupports, - public sigslot::has_slots<> { + public sigslot::has_slots<> { public: TransportFlow() : id_("(anonymous)"), diff --git a/media/webrtc/signaling/src/jsep/JsepCodecDescription.h b/media/webrtc/signaling/src/jsep/JsepCodecDescription.h index a2b946fece8..36b19a988e3 100644 --- a/media/webrtc/signaling/src/jsep/JsepCodecDescription.h +++ b/media/webrtc/signaling/src/jsep/JsepCodecDescription.h @@ -12,7 +12,7 @@ namespace mozilla { #define JSEP_CODEC_CLONE(T) \ - virtual JsepCodecDescription* Clone() const override \ + virtual JsepCodecDescription* Clone() const override \ { \ return new T(*this); \ } diff --git a/media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.h b/media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.h index da33437731c..8bf8f6ae82c 100644 --- a/media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.h +++ b/media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.h @@ -229,11 +229,11 @@ class RTCStatsQuery { class PeerConnectionImpl final : public nsISupports, #ifdef MOZILLA_INTERNAL_API - public mozilla::DataChannelConnection::DataConnectionListener, - public nsNSSShutDownObject, - public DOMMediaStream::PrincipalChangeObserver, + public mozilla::DataChannelConnection::DataConnectionListener, + public nsNSSShutDownObject, + public DOMMediaStream::PrincipalChangeObserver, #endif - public sigslot::has_slots<> + public sigslot::has_slots<> { struct Internal; // Avoid exposing c includes to bindings diff --git a/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_and_cursor_composer.h b/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_and_cursor_composer.h index 3fac0212d49..704707e4ada 100644 --- a/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_and_cursor_composer.h +++ b/media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_and_cursor_composer.h @@ -20,8 +20,8 @@ namespace webrtc { // A wrapper for DesktopCapturer that also captures mouse using specified // MouseCursorMonitor and renders it on the generated streams. class DesktopAndCursorComposer : public DesktopCapturer, - public DesktopCapturer::Callback, - public MouseCursorMonitor::Callback { + public DesktopCapturer::Callback, + public MouseCursorMonitor::Callback { public: // Creates a new blender that captures mouse cursor using |mouse_monitor| and // renders it into the frames generated by |desktop_capturer|. If diff --git a/mobile/android/components/build/nsAndroidHistory.h b/mobile/android/components/build/nsAndroidHistory.h index 0d30afa73ad..95cf21f51e4 100644 --- a/mobile/android/components/build/nsAndroidHistory.h +++ b/mobile/android/components/build/nsAndroidHistory.h @@ -24,8 +24,8 @@ #define EMBED_URI_SIZE 128 class nsAndroidHistory final : public mozilla::IHistory, - public nsIRunnable, - public nsITimerCallback + public nsIRunnable, + public nsITimerCallback { public: NS_DECL_ISUPPORTS diff --git a/modules/libjar/nsJARChannel.h b/modules/libjar/nsJARChannel.h index 6f488912619..59e0777afdc 100644 --- a/modules/libjar/nsJARChannel.h +++ b/modules/libjar/nsJARChannel.h @@ -31,12 +31,12 @@ class nsJARInputThunk; //----------------------------------------------------------------------------- class nsJARChannel final : public nsIJARChannel - , public mozilla::net::MemoryDownloader::IObserver - , public nsIStreamListener - , public nsIRemoteOpenFileListener - , public nsIThreadRetargetableRequest - , public nsIThreadRetargetableStreamListener - , public nsHashPropertyBag + , public mozilla::net::MemoryDownloader::IObserver + , public nsIStreamListener + , public nsIRemoteOpenFileListener + , public nsIThreadRetargetableRequest + , public nsIThreadRetargetableStreamListener + , public nsHashPropertyBag { public: NS_DECL_ISUPPORTS_INHERITED diff --git a/modules/libjar/nsJARProtocolHandler.h b/modules/libjar/nsJARProtocolHandler.h index 64310f4eab6..09e3385932e 100644 --- a/modules/libjar/nsJARProtocolHandler.h +++ b/modules/libjar/nsJARProtocolHandler.h @@ -21,7 +21,7 @@ class nsIHashable; class nsIRemoteOpenFileListener; class nsJARProtocolHandler final : public nsIJARProtocolHandler - , public nsSupportsWeakReference + , public nsSupportsWeakReference { typedef nsAutoTArray, 5> RemoteFileListenerArray; diff --git a/modules/libjar/nsJARURI.h b/modules/libjar/nsJARURI.h index 680f215fbef..b2647467889 100644 --- a/modules/libjar/nsJARURI.h +++ b/modules/libjar/nsJARURI.h @@ -33,10 +33,10 @@ class nsJARURI final : public nsIJARURI, - public nsISerializable, - public nsIClassInfo, - public nsINestedURI, - public nsIIPCSerializableURI + public nsISerializable, + public nsIClassInfo, + public nsINestedURI, + public nsIIPCSerializableURI { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/modules/libjar/zipwriter/nsZipWriter.h b/modules/libjar/zipwriter/nsZipWriter.h index 80d940d9b7a..f7fa1b1633c 100644 --- a/modules/libjar/zipwriter/nsZipWriter.h +++ b/modules/libjar/zipwriter/nsZipWriter.h @@ -37,7 +37,7 @@ public: }; class nsZipWriter final : public nsIZipWriter, - public nsIRequestObserver + public nsIRequestObserver { public: NS_DECL_ISUPPORTS diff --git a/modules/libpref/Preferences.cpp b/modules/libpref/Preferences.cpp index 95940faef29..17f773d41a8 100644 --- a/modules/libpref/Preferences.cpp +++ b/modules/libpref/Preferences.cpp @@ -126,7 +126,7 @@ public: }; class ValueObserver final : public nsIObserver, - public ValueObserverHashKey + public ValueObserverHashKey { ~ValueObserver() { Preferences::RemoveObserver(this, mPrefName.get()); diff --git a/modules/libpref/Preferences.h b/modules/libpref/Preferences.h index 7e766a78d13..4a8f03e3696 100644 --- a/modules/libpref/Preferences.h +++ b/modules/libpref/Preferences.h @@ -37,9 +37,9 @@ class PrefSetting; } class Preferences final : public nsIPrefService, - public nsIObserver, - public nsIPrefBranchInternal, - public nsSupportsWeakReference + public nsIObserver, + public nsIPrefBranchInternal, + public nsSupportsWeakReference { public: typedef mozilla::dom::PrefSetting PrefSetting; diff --git a/netwerk/base/ProxyAutoConfig.cpp b/netwerk/base/ProxyAutoConfig.cpp index 1324304e032..994608c99b8 100644 --- a/netwerk/base/ProxyAutoConfig.cpp +++ b/netwerk/base/ProxyAutoConfig.cpp @@ -259,7 +259,7 @@ static void SetRunning(ProxyAutoConfig *arg) // The PACResolver is used for dnsResolve() class PACResolver final : public nsIDNSListener - , public nsITimerCallback + , public nsITimerCallback { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/netwerk/base/nsAsyncRedirectVerifyHelper.h b/netwerk/base/nsAsyncRedirectVerifyHelper.h index fd4680b04d0..635acdbfaca 100644 --- a/netwerk/base/nsAsyncRedirectVerifyHelper.h +++ b/netwerk/base/nsAsyncRedirectVerifyHelper.h @@ -24,7 +24,7 @@ class nsIChannel; * redirect decision is returned through the callback. */ class nsAsyncRedirectVerifyHelper final : public nsIRunnable, - public nsIAsyncVerifyRedirectCallback + public nsIAsyncVerifyRedirectCallback { NS_DECL_THREADSAFE_ISUPPORTS NS_DECL_NSIRUNNABLE diff --git a/netwerk/base/nsAsyncStreamCopier.h b/netwerk/base/nsAsyncStreamCopier.h index 8709c83dfc8..7529a327aa6 100644 --- a/netwerk/base/nsAsyncStreamCopier.h +++ b/netwerk/base/nsAsyncStreamCopier.h @@ -16,7 +16,7 @@ class nsIRequestObserver; //----------------------------------------------------------------------------- class nsAsyncStreamCopier final : public nsIAsyncStreamCopier, - nsIAsyncStreamCopier2 + nsIAsyncStreamCopier2 { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/netwerk/base/nsIOService.h b/netwerk/base/nsIOService.h index 0ce99c7f390..0486d65c3a3 100644 --- a/netwerk/base/nsIOService.h +++ b/netwerk/base/nsIOService.h @@ -45,10 +45,10 @@ namespace net { } // namespace mozilla class nsIOService final : public nsIIOService2 - , public nsIObserver - , public nsINetUtil - , public nsISpeculativeConnect - , public nsSupportsWeakReference + , public nsIObserver + , public nsINetUtil + , public nsISpeculativeConnect + , public nsSupportsWeakReference { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/netwerk/base/nsInputStreamPump.h b/netwerk/base/nsInputStreamPump.h index 483cb192a4f..c9b7bd64cca 100644 --- a/netwerk/base/nsInputStreamPump.h +++ b/netwerk/base/nsInputStreamPump.h @@ -18,8 +18,8 @@ class nsILoadGroup; class nsIStreamListener; class nsInputStreamPump final : public nsIInputStreamPump - , public nsIInputStreamCallback - , public nsIThreadRetargetableRequest + , public nsIInputStreamCallback + , public nsIThreadRetargetableRequest { ~nsInputStreamPump(); diff --git a/netwerk/base/nsPACMan.h b/netwerk/base/nsPACMan.h index 7668d775183..4b816ded420 100644 --- a/netwerk/base/nsPACMan.h +++ b/netwerk/base/nsPACMan.h @@ -51,7 +51,7 @@ public: }; class PendingPACQuery final : public nsRunnable, - public mozilla::LinkedListElement + public mozilla::LinkedListElement { public: PendingPACQuery(nsPACMan *pacMan, nsIURI *uri, uint32_t appId, @@ -88,8 +88,8 @@ private: */ class nsPACMan final : public nsIStreamLoaderObserver - , public nsIInterfaceRequestor - , public nsIChannelEventSink + , public nsIInterfaceRequestor + , public nsIChannelEventSink { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/netwerk/base/nsProtocolProxyService.cpp b/netwerk/base/nsProtocolProxyService.cpp index 047e81fdbeb..f222d47ddd7 100644 --- a/netwerk/base/nsProtocolProxyService.cpp +++ b/netwerk/base/nsProtocolProxyService.cpp @@ -98,8 +98,8 @@ GetProxyURI(nsIChannel *channel, nsIURI **aOut) // on the main thread - so call nsPACMan::AsyncGetProxyForURI() with // a true mainThreadResponse parameter. class nsAsyncResolveRequest final : public nsIRunnable - , public nsPACManCallback - , public nsICancelable + , public nsPACManCallback + , public nsICancelable { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/netwerk/base/nsProtocolProxyService.h b/netwerk/base/nsProtocolProxyService.h index 1114febedcf..751ec160a59 100644 --- a/netwerk/base/nsProtocolProxyService.h +++ b/netwerk/base/nsProtocolProxyService.h @@ -34,7 +34,7 @@ class nsPACMan; { 0xad, 0x62, 0x0c, 0x87, 0x35, 0x1e, 0x64, 0x0d } } class nsProtocolProxyService final : public nsIProtocolProxyService2 - , public nsIObserver + , public nsIObserver { public: NS_DECL_ISUPPORTS diff --git a/netwerk/base/nsSocketTransport2.h b/netwerk/base/nsSocketTransport2.h index 9afb856eabd..df12d5ccf04 100644 --- a/netwerk/base/nsSocketTransport2.h +++ b/netwerk/base/nsSocketTransport2.h @@ -106,10 +106,10 @@ private: //----------------------------------------------------------------------------- class nsSocketTransport final : public nsASocketHandler - , public nsISocketTransport - , public nsIDNSListener - , public nsIClassInfo - , public nsIInterfaceRequestor + , public nsISocketTransport + , public nsIDNSListener + , public nsIClassInfo + , public nsIInterfaceRequestor { typedef mozilla::Mutex Mutex; diff --git a/netwerk/base/nsSocketTransportService2.h b/netwerk/base/nsSocketTransportService2.h index eb38e3a3246..f51bd456a92 100644 --- a/netwerk/base/nsSocketTransportService2.h +++ b/netwerk/base/nsSocketTransportService2.h @@ -60,10 +60,10 @@ static const int32_t kDefaultTCPKeepCount = //----------------------------------------------------------------------------- class nsSocketTransportService final : public nsPISocketTransportService - , public nsIEventTarget - , public nsIThreadObserver - , public nsIRunnable - , public nsIObserver + , public nsIEventTarget + , public nsIThreadObserver + , public nsIRunnable + , public nsIObserver { typedef mozilla::Mutex Mutex; diff --git a/netwerk/base/nsStreamListenerWrapper.h b/netwerk/base/nsStreamListenerWrapper.h index 617a917ae5b..69f65370d29 100644 --- a/netwerk/base/nsStreamListenerWrapper.h +++ b/netwerk/base/nsStreamListenerWrapper.h @@ -14,7 +14,7 @@ // Wrapper class to make replacement of nsHttpChannel's listener // from JavaScript possible. It is workaround for bug 433711 and 682305. class nsStreamListenerWrapper final : public nsIStreamListener - , public nsIThreadRetargetableStreamListener + , public nsIThreadRetargetableStreamListener { public: explicit nsStreamListenerWrapper(nsIStreamListener *listener) diff --git a/netwerk/base/nsStreamLoader.h b/netwerk/base/nsStreamLoader.h index 2a0c9f184a6..391d9f59152 100644 --- a/netwerk/base/nsStreamLoader.h +++ b/netwerk/base/nsStreamLoader.h @@ -15,7 +15,7 @@ class nsIRequest; class nsStreamLoader final : public nsIStreamLoader - , public nsIThreadRetargetableStreamListener + , public nsIThreadRetargetableStreamListener { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/netwerk/base/nsStreamTransportService.h b/netwerk/base/nsStreamTransportService.h index 280182eba10..f52877295e2 100644 --- a/netwerk/base/nsStreamTransportService.h +++ b/netwerk/base/nsStreamTransportService.h @@ -13,8 +13,8 @@ class nsIThreadPool; class nsStreamTransportService final : public nsIStreamTransportService - , public nsIEventTarget - , public nsIObserver + , public nsIEventTarget + , public nsIObserver { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/netwerk/base/nsSyncStreamListener.h b/netwerk/base/nsSyncStreamListener.h index 20e756a0622..9fa9c58c3e1 100644 --- a/netwerk/base/nsSyncStreamListener.h +++ b/netwerk/base/nsSyncStreamListener.h @@ -14,7 +14,7 @@ //----------------------------------------------------------------------------- class nsSyncStreamListener final : public nsISyncStreamListener - , public nsIInputStream + , public nsIInputStream { public: NS_DECL_ISUPPORTS diff --git a/netwerk/base/nsUDPSocket.h b/netwerk/base/nsUDPSocket.h index 118c6d49e79..51db15d60d6 100644 --- a/netwerk/base/nsUDPSocket.h +++ b/netwerk/base/nsUDPSocket.h @@ -15,7 +15,7 @@ //----------------------------------------------------------------------------- class nsUDPSocket final : public nsASocketHandler - , public nsIUDPSocket + , public nsIUDPSocket { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/netwerk/cache/nsCacheService.h b/netwerk/cache/nsCacheService.h index 309d29d8f69..e6234e35b85 100644 --- a/netwerk/cache/nsCacheService.h +++ b/netwerk/cache/nsCacheService.h @@ -63,7 +63,7 @@ private: ******************************************************************************/ class nsCacheService final : public nsICacheServiceInternal, - public nsIMemoryReporter + public nsIMemoryReporter { virtual ~nsCacheService(); diff --git a/netwerk/cache/nsDiskCacheDeviceSQL.h b/netwerk/cache/nsDiskCacheDeviceSQL.h index 27f9f39499a..3cdc0dd8c36 100644 --- a/netwerk/cache/nsDiskCacheDeviceSQL.h +++ b/netwerk/cache/nsDiskCacheDeviceSQL.h @@ -63,7 +63,7 @@ private: }; class nsOfflineCacheDevice final : public nsCacheDevice - , public nsISupports + , public nsISupports { public: nsOfflineCacheDevice(); diff --git a/netwerk/cache2/CacheEntry.h b/netwerk/cache2/CacheEntry.h index 584e72ece7c..e38f9e54e8b 100644 --- a/netwerk/cache2/CacheEntry.h +++ b/netwerk/cache2/CacheEntry.h @@ -48,8 +48,8 @@ class CacheOutputCloseListener; class CacheEntryHandle; class CacheEntry final : public nsICacheEntry - , public nsIRunnable - , public CacheFileListener + , public nsIRunnable + , public CacheFileListener { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/netwerk/cache2/CacheStorageService.h b/netwerk/cache2/CacheStorageService.h index 72ece79f63a..fb07a4dffd7 100644 --- a/netwerk/cache2/CacheStorageService.h +++ b/netwerk/cache2/CacheStorageService.h @@ -65,8 +65,8 @@ protected: }; class CacheStorageService final : public nsICacheStorageService - , public nsIMemoryReporter - , public nsITimerCallback + , public nsIMemoryReporter + , public nsITimerCallback { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/netwerk/cookie/nsCookieService.h b/netwerk/cookie/nsCookieService.h index ee65ae4f768..1e486e912e3 100644 --- a/netwerk/cookie/nsCookieService.h +++ b/netwerk/cookie/nsCookieService.h @@ -239,10 +239,10 @@ enum OpenDBResult ******************************************************************************/ class nsCookieService final : public nsICookieService - , public nsICookieManager2 - , public nsIObserver - , public nsSupportsWeakReference - , public nsIMemoryReporter + , public nsICookieManager2 + , public nsIObserver + , public nsSupportsWeakReference + , public nsIMemoryReporter { private: size_t SizeOfIncludingThis(mozilla::MallocSizeOf aMallocSizeOf) const; diff --git a/netwerk/dns/nsDNSService2.cpp b/netwerk/dns/nsDNSService2.cpp index 19abe6471cc..1990567b3d4 100644 --- a/netwerk/dns/nsDNSService2.cpp +++ b/netwerk/dns/nsDNSService2.cpp @@ -294,7 +294,7 @@ nsDNSRecord::ReportUnusable(uint16_t aPort) //----------------------------------------------------------------------------- class nsDNSAsyncRequest final : public nsResolveHostCallback - , public nsICancelable + , public nsICancelable { ~nsDNSAsyncRequest() {} diff --git a/netwerk/dns/nsDNSService2.h b/netwerk/dns/nsDNSService2.h index 70a4ac771a0..39add3d4e50 100644 --- a/netwerk/dns/nsDNSService2.h +++ b/netwerk/dns/nsDNSService2.h @@ -22,8 +22,8 @@ #include "mozilla/Attributes.h" class nsDNSService final : public nsPIDNSService - , public nsIObserver - , public nsIMemoryReporter + , public nsIObserver + , public nsIMemoryReporter { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/netwerk/protocol/ftp/FTPChannelParent.h b/netwerk/protocol/ftp/FTPChannelParent.h index 00eb5919b2e..8188a26d699 100644 --- a/netwerk/protocol/ftp/FTPChannelParent.h +++ b/netwerk/protocol/ftp/FTPChannelParent.h @@ -22,11 +22,11 @@ namespace mozilla { namespace net { class FTPChannelParent final : public PFTPChannelParent - , public nsIParentChannel - , public nsIInterfaceRequestor - , public ADivertableParentChannel - , public nsIChannelEventSink - , public DisconnectableParent + , public nsIParentChannel + , public nsIInterfaceRequestor + , public ADivertableParentChannel + , public nsIChannelEventSink + , public DisconnectableParent { public: NS_DECL_ISUPPORTS diff --git a/netwerk/protocol/ftp/nsFtpConnectionThread.h b/netwerk/protocol/ftp/nsFtpConnectionThread.h index 82a67af4211..6378d11d386 100644 --- a/netwerk/protocol/ftp/nsFtpConnectionThread.h +++ b/netwerk/protocol/ftp/nsFtpConnectionThread.h @@ -73,11 +73,11 @@ class nsIStreamListener; // control connection and the data connection. class nsFtpState final : public nsBaseContentStream, - public nsIInputStreamCallback, - public nsITransportEventSink, - public nsIRequestObserver, - public nsFtpControlConnectionListener, - public nsIProtocolProxyCallback + public nsIInputStreamCallback, + public nsITransportEventSink, + public nsIRequestObserver, + public nsFtpControlConnectionListener, + public nsIProtocolProxyCallback { public: NS_DECL_ISUPPORTS_INHERITED diff --git a/netwerk/protocol/ftp/nsFtpProtocolHandler.h b/netwerk/protocol/ftp/nsFtpProtocolHandler.h index 9d25e6b6243..428c3106ebd 100644 --- a/netwerk/protocol/ftp/nsFtpProtocolHandler.h +++ b/netwerk/protocol/ftp/nsFtpProtocolHandler.h @@ -16,8 +16,8 @@ //----------------------------------------------------------------------------- class nsFtpProtocolHandler final : public nsIProxiedProtocolHandler - , public nsIObserver - , public nsSupportsWeakReference + , public nsIObserver + , public nsSupportsWeakReference { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/netwerk/protocol/http/Http2Session.h b/netwerk/protocol/http/Http2Session.h index a06802a1601..4a2a90141eb 100644 --- a/netwerk/protocol/http/Http2Session.h +++ b/netwerk/protocol/http/Http2Session.h @@ -28,9 +28,9 @@ class Http2Stream; class nsHttpTransaction; class Http2Session final : public ASpdySession - , public nsAHttpConnection - , public nsAHttpSegmentReader - , public nsAHttpSegmentWriter + , public nsAHttpConnection + , public nsAHttpSegmentReader + , public nsAHttpSegmentWriter { ~Http2Session(); diff --git a/netwerk/protocol/http/HttpChannelChild.h b/netwerk/protocol/http/HttpChannelChild.h index 7306cede3df..7844f383bd4 100644 --- a/netwerk/protocol/http/HttpChannelChild.h +++ b/netwerk/protocol/http/HttpChannelChild.h @@ -39,16 +39,16 @@ class InterceptedChannelContent; class InterceptStreamListener; class HttpChannelChild final : public PHttpChannelChild - , public HttpBaseChannel - , public HttpAsyncAborter - , public nsICacheInfoChannel - , public nsIProxiedChannel - , public nsIApplicationCacheChannel - , public nsIAsyncVerifyRedirectCallback - , public nsIAssociatedContentSecurity - , public nsIChildChannel - , public nsIHttpChannelChild - , public nsIDivertableChannel + , public HttpBaseChannel + , public HttpAsyncAborter + , public nsICacheInfoChannel + , public nsIProxiedChannel + , public nsIApplicationCacheChannel + , public nsIAsyncVerifyRedirectCallback + , public nsIAssociatedContentSecurity + , public nsIChildChannel + , public nsIHttpChannelChild + , public nsIDivertableChannel { virtual ~HttpChannelChild(); public: diff --git a/netwerk/protocol/http/SpdySession31.h b/netwerk/protocol/http/SpdySession31.h index 83b24cb25c4..7d6b68494f2 100644 --- a/netwerk/protocol/http/SpdySession31.h +++ b/netwerk/protocol/http/SpdySession31.h @@ -26,9 +26,9 @@ class SpdyStream31; class nsHttpTransaction; class SpdySession31 final : public ASpdySession - , public nsAHttpConnection - , public nsAHttpSegmentReader - , public nsAHttpSegmentWriter + , public nsAHttpConnection + , public nsAHttpSegmentReader + , public nsAHttpSegmentWriter { ~SpdySession31(); diff --git a/netwerk/protocol/http/SpdyStream31.h b/netwerk/protocol/http/SpdyStream31.h index b1fe1407bbb..7541b85f303 100644 --- a/netwerk/protocol/http/SpdyStream31.h +++ b/netwerk/protocol/http/SpdyStream31.h @@ -12,7 +12,7 @@ namespace mozilla { namespace net { class SpdyStream31 : public nsAHttpSegmentReader - , public nsAHttpSegmentWriter + , public nsAHttpSegmentWriter { public: NS_DECL_NSAHTTPSEGMENTREADER diff --git a/netwerk/protocol/http/nsAHttpConnection.h b/netwerk/protocol/http/nsAHttpConnection.h index 849e8eefab8..d858342c25c 100644 --- a/netwerk/protocol/http/nsAHttpConnection.h +++ b/netwerk/protocol/http/nsAHttpConnection.h @@ -153,31 +153,30 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsAHttpConnection, NS_AHTTPCONNECTION_IID) nsresult TakeTransport(nsISocketTransport **, \ nsIAsyncInputStream **, \ nsIAsyncOutputStream **) override; \ - bool IsPersistent() override; \ - bool IsReused() override; \ - void DontReuse() override; \ - nsresult PushBack(const char *, uint32_t) override; \ - nsHttpConnection *TakeHttpConnection() override; \ - uint32_t CancelPipeline(nsresult originalReason) override; \ - nsAHttpTransaction::Classifier Classification() override; \ + bool IsPersistent() override; \ + bool IsReused() override; \ + void DontReuse() override; \ + nsresult PushBack(const char *, uint32_t) override; \ + nsHttpConnection *TakeHttpConnection() override; \ + uint32_t CancelPipeline(nsresult originalReason) override; \ + nsAHttpTransaction::Classifier Classification() override; \ /* \ Thes methods below have automatic definitions that just forward the \ function to a lower level connection object \ */ \ void GetConnectionInfo(nsHttpConnectionInfo **result) \ - override \ + override \ { \ if (!(fwdObject)) { \ - *result = nullptr; \ + *result = nullptr; \ return; \ } \ return (fwdObject)->GetConnectionInfo(result); \ } \ - void GetSecurityInfo(nsISupports **result) \ - override \ + void GetSecurityInfo(nsISupports **result) override \ { \ if (!(fwdObject)) { \ - *result = nullptr; \ + *result = nullptr; \ return; \ } \ return (fwdObject)->GetSecurityInfo(result); \ @@ -219,29 +218,29 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsAHttpConnection, NS_AHTTPCONNECTION_IID) (fwdObject)->Version() : \ NS_HTTP_VERSION_UNKNOWN; \ } \ - bool IsProxyConnectInProgress() override \ + bool IsProxyConnectInProgress() override \ { \ return (fwdObject)->IsProxyConnectInProgress(); \ } \ - bool LastTransactionExpectedNoContent() override \ + bool LastTransactionExpectedNoContent() override \ { \ return (fwdObject)->LastTransactionExpectedNoContent(); \ } \ void SetLastTransactionExpectedNoContent(bool val) \ - override \ + override \ { \ return (fwdObject)->SetLastTransactionExpectedNoContent(val); \ } \ void Classify(nsAHttpTransaction::Classifier newclass) \ - override \ + override \ { \ if (fwdObject) \ return (fwdObject)->Classify(newclass); \ } \ - int64_t BytesWritten() override \ + int64_t BytesWritten() override \ { return fwdObject ? (fwdObject)->BytesWritten() : 0; } \ void SetSecurityCallbacks(nsIInterfaceRequestor* aCallbacks) \ - override \ + override \ { \ if (fwdObject) \ (fwdObject)->SetSecurityCallbacks(aCallbacks); \ diff --git a/netwerk/protocol/http/nsHttpChannel.cpp b/netwerk/protocol/http/nsHttpChannel.cpp index 955fbc9350d..27d09c2fb17 100644 --- a/netwerk/protocol/http/nsHttpChannel.cpp +++ b/netwerk/protocol/http/nsHttpChannel.cpp @@ -5981,7 +5981,7 @@ nsHttpChannel::SetOfflineCacheToken(nsISupports *token) } class nsHttpChannelCacheKey final : public nsISupportsPRUint32, - public nsISupportsCString + public nsISupportsCString { NS_DECL_ISUPPORTS diff --git a/netwerk/protocol/http/nsHttpChannel.h b/netwerk/protocol/http/nsHttpChannel.h index 82c41fb0d0d..9010e4a5c55 100644 --- a/netwerk/protocol/http/nsHttpChannel.h +++ b/netwerk/protocol/http/nsHttpChannel.h @@ -47,19 +47,19 @@ class Http2PushedStream; } class nsHttpChannel final : public HttpBaseChannel - , public HttpAsyncAborter - , public nsIStreamListener - , public nsICachingChannel - , public nsICacheEntryOpenCallback - , public nsITransportEventSink - , public nsIProtocolProxyCallback - , public nsIHttpAuthenticableChannel - , public nsIApplicationCacheChannel - , public nsIAsyncVerifyRedirectCallback - , public nsIThreadRetargetableRequest - , public nsIThreadRetargetableStreamListener - , public nsIDNSListener - , public nsSupportsWeakReference + , public HttpAsyncAborter + , public nsIStreamListener + , public nsICachingChannel + , public nsICacheEntryOpenCallback + , public nsITransportEventSink + , public nsIProtocolProxyCallback + , public nsIHttpAuthenticableChannel + , public nsIApplicationCacheChannel + , public nsIAsyncVerifyRedirectCallback + , public nsIThreadRetargetableRequest + , public nsIThreadRetargetableStreamListener + , public nsIDNSListener + , public nsSupportsWeakReference { public: NS_DECL_ISUPPORTS_INHERITED diff --git a/netwerk/protocol/http/nsHttpConnection.h b/netwerk/protocol/http/nsHttpConnection.h index a10d4168fa9..6963061d5e7 100644 --- a/netwerk/protocol/http/nsHttpConnection.h +++ b/netwerk/protocol/http/nsHttpConnection.h @@ -37,12 +37,12 @@ class ASpdySession; //----------------------------------------------------------------------------- class nsHttpConnection final : public nsAHttpSegmentReader - , public nsAHttpSegmentWriter - , public nsIInputStreamCallback - , public nsIOutputStreamCallback - , public nsITransportEventSink - , public nsIInterfaceRequestor - , public NudgeTunnelCallback + , public nsAHttpSegmentWriter + , public nsIInputStreamCallback + , public nsIOutputStreamCallback + , public nsITransportEventSink + , public nsIInterfaceRequestor + , public NudgeTunnelCallback { virtual ~nsHttpConnection(); diff --git a/netwerk/protocol/http/nsHttpConnectionMgr.h b/netwerk/protocol/http/nsHttpConnectionMgr.h index ed53bebb17f..af566ecb655 100644 --- a/netwerk/protocol/http/nsHttpConnectionMgr.h +++ b/netwerk/protocol/http/nsHttpConnectionMgr.h @@ -431,9 +431,9 @@ private: // while we wait for it to establish and bind it to a connection class nsHalfOpenSocket final : public nsIOutputStreamCallback, - public nsITransportEventSink, - public nsIInterfaceRequestor, - public nsITimerCallback + public nsITransportEventSink, + public nsIInterfaceRequestor, + public nsITimerCallback { ~nsHalfOpenSocket(); diff --git a/netwerk/protocol/http/nsHttpHandler.h b/netwerk/protocol/http/nsHttpHandler.h index cfbf005447c..27e7d6d6628 100644 --- a/netwerk/protocol/http/nsHttpHandler.h +++ b/netwerk/protocol/http/nsHttpHandler.h @@ -50,9 +50,9 @@ enum FrameCheckLevel { //----------------------------------------------------------------------------- class nsHttpHandler final : public nsIHttpProtocolHandler - , public nsIObserver - , public nsSupportsWeakReference - , public nsISpeculativeConnect + , public nsIObserver + , public nsSupportsWeakReference + , public nsISpeculativeConnect { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/netwerk/protocol/http/nsHttpPipeline.h b/netwerk/protocol/http/nsHttpPipeline.h index 086b0d830cb..9ab37178a23 100644 --- a/netwerk/protocol/http/nsHttpPipeline.h +++ b/netwerk/protocol/http/nsHttpPipeline.h @@ -17,8 +17,8 @@ class nsIOutputStream; namespace mozilla { namespace net { class nsHttpPipeline final : public nsAHttpConnection - , public nsAHttpTransaction - , public nsAHttpSegmentReader + , public nsAHttpTransaction + , public nsAHttpSegmentReader { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/netwerk/protocol/http/nsHttpTransaction.h b/netwerk/protocol/http/nsHttpTransaction.h index 216897f0d22..6902c8bc614 100644 --- a/netwerk/protocol/http/nsHttpTransaction.h +++ b/netwerk/protocol/http/nsHttpTransaction.h @@ -41,9 +41,9 @@ class nsHttpResponseHead; //----------------------------------------------------------------------------- class nsHttpTransaction final : public nsAHttpTransaction - , public ATokenBucketEvent - , public nsIInputStreamCallback - , public nsIOutputStreamCallback + , public ATokenBucketEvent + , public nsIInputStreamCallback + , public nsIOutputStreamCallback { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/netwerk/protocol/rtsp/controller/RtspController.h b/netwerk/protocol/rtsp/controller/RtspController.h index a6c4ba7260c..666fb822648 100644 --- a/netwerk/protocol/rtsp/controller/RtspController.h +++ b/netwerk/protocol/rtsp/controller/RtspController.h @@ -17,7 +17,7 @@ namespace mozilla { namespace net { class RtspController final : public nsIStreamingProtocolController - , public nsIStreamingProtocolListener + , public nsIStreamingProtocolListener { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/netwerk/protocol/viewsource/nsViewSourceChannel.h b/netwerk/protocol/viewsource/nsViewSourceChannel.h index 9c7249d7757..8f63a5f4aa2 100644 --- a/netwerk/protocol/viewsource/nsViewSourceChannel.h +++ b/netwerk/protocol/viewsource/nsViewSourceChannel.h @@ -19,12 +19,12 @@ #include "mozilla/Attributes.h" class nsViewSourceChannel final : public nsIViewSourceChannel, - public nsIStreamListener, - public nsIHttpChannel, - public nsIHttpChannelInternal, - public nsICachingChannel, - public nsIApplicationCacheChannel, - public nsIUploadChannel + public nsIStreamListener, + public nsIHttpChannel, + public nsIHttpChannelInternal, + public nsICachingChannel, + public nsIApplicationCacheChannel, + public nsIUploadChannel { public: diff --git a/netwerk/streamconv/converters/nsMultiMixedConv.h b/netwerk/streamconv/converters/nsMultiMixedConv.h index 0e3e287808d..8b3c874da4c 100644 --- a/netwerk/streamconv/converters/nsMultiMixedConv.h +++ b/netwerk/streamconv/converters/nsMultiMixedConv.h @@ -35,9 +35,9 @@ using mozilla::net::nsHttpResponseHead; // nsIStreamListener interface. // class nsPartChannel final : public nsIChannel, - public nsIByteRangeRequest, - public nsIResponseHeadProvider, - public nsIMultiPartChannel + public nsIByteRangeRequest, + public nsIResponseHeadProvider, + public nsIMultiPartChannel { public: nsPartChannel(nsIChannel *aMultipartChannel, uint32_t aPartID, diff --git a/netwerk/test/TestIncrementalDownload.cpp b/netwerk/test/TestIncrementalDownload.cpp index 9caecb31669..082828ad85e 100644 --- a/netwerk/test/TestIncrementalDownload.cpp +++ b/netwerk/test/TestIncrementalDownload.cpp @@ -20,7 +20,7 @@ //----------------------------------------------------------------------------- class FetchObserver final : public nsIRequestObserver - , public nsIProgressEventSink + , public nsIProgressEventSink { ~FetchObserver() {} public: diff --git a/parser/html/nsHtml5Parser.h b/parser/html/nsHtml5Parser.h index 3ac25d27c31..277143368a9 100644 --- a/parser/html/nsHtml5Parser.h +++ b/parser/html/nsHtml5Parser.h @@ -28,7 +28,7 @@ #include "nsHtml5StreamListener.h" class nsHtml5Parser final : public nsIParser, - public nsSupportsWeakReference + public nsSupportsWeakReference { public: NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW diff --git a/parser/html/nsHtml5TreeOpExecutor.h b/parser/html/nsHtml5TreeOpExecutor.h index b3b54eee10c..ec922c1bea2 100644 --- a/parser/html/nsHtml5TreeOpExecutor.h +++ b/parser/html/nsHtml5TreeOpExecutor.h @@ -32,9 +32,9 @@ class nsIContent; class nsIDocument; class nsHtml5TreeOpExecutor final : public nsHtml5DocumentBuilder, - public nsIContentSink, - public nsAHtml5TreeOpSink, - public mozilla::LinkedListElement + public nsIContentSink, + public nsAHtml5TreeOpSink, + public mozilla::LinkedListElement { friend class nsHtml5FlushLoopGuard; typedef mozilla::net::ReferrerPolicy ReferrerPolicy; diff --git a/parser/html/nsParserUtils.h b/parser/html/nsParserUtils.h index 5356cf6fc29..4645f11b948 100644 --- a/parser/html/nsParserUtils.h +++ b/parser/html/nsParserUtils.h @@ -11,7 +11,7 @@ #include "mozilla/Attributes.h" class nsParserUtils final : public nsIScriptableUnescapeHTML, - public nsIParserUtils + public nsIParserUtils { ~nsParserUtils() {} public: diff --git a/parser/htmlparser/nsParser.h b/parser/htmlparser/nsParser.h index 54bccf4f5c1..858ee23d706 100644 --- a/parser/htmlparser/nsParser.h +++ b/parser/htmlparser/nsParser.h @@ -63,8 +63,8 @@ class nsIRunnable; class nsParser final : public nsIParser, - public nsIStreamListener, - public nsSupportsWeakReference + public nsIStreamListener, + public nsSupportsWeakReference { /** * Destructor diff --git a/parser/xml/nsSAXXMLReader.h b/parser/xml/nsSAXXMLReader.h index e1885a8bb23..763f787e56e 100644 --- a/parser/xml/nsSAXXMLReader.h +++ b/parser/xml/nsSAXXMLReader.h @@ -26,8 +26,8 @@ { 0x96, 0xd0, 0x47, 0xa8, 0x28, 0x2a, 0xe3, 0xdb} } class nsSAXXMLReader final : public nsISAXXMLReader, - public nsIExtendedExpatSink, - public nsIContentSink + public nsIExtendedExpatSink, + public nsIContentSink { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/rdf/base/nsRDFService.h b/rdf/base/nsRDFService.h index 27905f9b9aa..8dad600975a 100644 --- a/rdf/base/nsRDFService.h +++ b/rdf/base/nsRDFService.h @@ -34,7 +34,7 @@ class nsIRDFDate; class BlobImpl; class RDFServiceImpl final : public nsIRDFService, - public nsSupportsWeakReference + public nsSupportsWeakReference { protected: PLHashTable* mNamedDataSources; diff --git a/security/manager/ssl/src/PSMContentListener.h b/security/manager/ssl/src/PSMContentListener.h index 17ee0959804..49239029bfc 100644 --- a/security/manager/ssl/src/PSMContentListener.h +++ b/security/manager/ssl/src/PSMContentListener.h @@ -17,7 +17,8 @@ namespace mozilla { namespace psm { class PSMContentListener : public nsIURIContentListener, - public nsSupportsWeakReference { + public nsSupportsWeakReference +{ public: PSMContentListener(); nsresult init(); diff --git a/security/manager/ssl/src/nsCertOverrideService.h b/security/manager/ssl/src/nsCertOverrideService.h index 97245aa28ea..794ef1eb9dd 100644 --- a/security/manager/ssl/src/nsCertOverrideService.h +++ b/security/manager/ssl/src/nsCertOverrideService.h @@ -127,8 +127,8 @@ class nsCertOverrideEntry final : public PLDHashEntryHdr }; class nsCertOverrideService final : public nsICertOverrideService - , public nsIObserver - , public nsSupportsWeakReference + , public nsIObserver + , public nsSupportsWeakReference { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/security/manager/ssl/src/nsClientAuthRemember.h b/security/manager/ssl/src/nsClientAuthRemember.h index 7b2fbebc463..bfbf2bcad59 100644 --- a/security/manager/ssl/src/nsClientAuthRemember.h +++ b/security/manager/ssl/src/nsClientAuthRemember.h @@ -107,7 +107,7 @@ class nsClientAuthRememberEntry final : public PLDHashEntryHdr }; class nsClientAuthRememberService final : public nsIObserver, - public nsSupportsWeakReference + public nsSupportsWeakReference { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/security/manager/ssl/src/nsNSSCertificate.h b/security/manager/ssl/src/nsNSSCertificate.h index 6ecd17e9e37..77e3ab45bdc 100644 --- a/security/manager/ssl/src/nsNSSCertificate.h +++ b/security/manager/ssl/src/nsNSSCertificate.h @@ -25,9 +25,9 @@ class nsINSSComponent; class nsIASN1Sequence; class nsNSSCertificate final : public nsIX509Cert, - public nsISerializable, - public nsIClassInfo, - public nsNSSShutDownObject + public nsISerializable, + public nsIClassInfo, + public nsNSSShutDownObject { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/security/manager/ssl/src/nsNSSCertificateDB.h b/security/manager/ssl/src/nsNSSCertificateDB.h index 9440537dc0a..3f272a9a217 100644 --- a/security/manager/ssl/src/nsNSSCertificateDB.h +++ b/security/manager/ssl/src/nsNSSCertificateDB.h @@ -15,7 +15,7 @@ class nsCString; class nsIArray; class nsNSSCertificateDB final : public nsIX509CertDB - , public nsNSSShutDownObject + , public nsNSSShutDownObject { public: diff --git a/security/manager/ssl/src/nsNSSComponent.h b/security/manager/ssl/src/nsNSSComponent.h index ed450c3775d..fd58714248d 100644 --- a/security/manager/ssl/src/nsNSSComponent.h +++ b/security/manager/ssl/src/nsNSSComponent.h @@ -106,9 +106,9 @@ class nsCertVerificationThread; // Implementation of the PSM component interface. class nsNSSComponent final : public nsIEntropyCollector, - public nsINSSComponent, - public nsIObserver, - public nsSupportsWeakReference + public nsINSSComponent, + public nsIObserver, + public nsSupportsWeakReference { typedef mozilla::Mutex Mutex; diff --git a/security/manager/ssl/src/nsNSSIOLayer.h b/security/manager/ssl/src/nsNSSIOLayer.h index 5ea576bd21d..4eed0afdb1f 100644 --- a/security/manager/ssl/src/nsNSSIOLayer.h +++ b/security/manager/ssl/src/nsNSSIOLayer.h @@ -25,8 +25,8 @@ class SharedSSLState; class nsIObserver; class nsNSSSocketInfo final : public mozilla::psm::TransportSecurityInfo, - public nsISSLSocketControl, - public nsIClientAuthUserDecision + public nsISSLSocketControl, + public nsIClientAuthUserDecision { public: nsNSSSocketInfo(mozilla::psm::SharedSSLState& aState, uint32_t providerFlags); diff --git a/security/manager/ssl/src/nsRandomGenerator.h b/security/manager/ssl/src/nsRandomGenerator.h index 970d75d8448..197f2d7477a 100644 --- a/security/manager/ssl/src/nsRandomGenerator.h +++ b/security/manager/ssl/src/nsRandomGenerator.h @@ -16,7 +16,7 @@ "@mozilla.org/security/random-generator;1" class nsRandomGenerator final : public nsIRandomGenerator - , public nsNSSShutDownObject + , public nsNSSShutDownObject { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/storage/src/mozStorageAsyncStatement.h b/storage/src/mozStorageAsyncStatement.h index 5c95285c47a..72534d07704 100644 --- a/storage/src/mozStorageAsyncStatement.h +++ b/storage/src/mozStorageAsyncStatement.h @@ -28,7 +28,7 @@ class AsyncStatementJSHelper; class Connection; class AsyncStatement final : public mozIStorageAsyncStatement - , public StorageBaseStatementInternal + , public StorageBaseStatementInternal { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/storage/src/mozStorageAsyncStatementExecution.h b/storage/src/mozStorageAsyncStatementExecution.h index 841800641bc..4364231e70c 100644 --- a/storage/src/mozStorageAsyncStatementExecution.h +++ b/storage/src/mozStorageAsyncStatementExecution.h @@ -30,7 +30,7 @@ class ResultSet; class StatementData; class AsyncExecuteStatements final : public nsIRunnable - , public mozIStoragePendingStatement + , public mozIStoragePendingStatement { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/storage/src/mozStorageAsyncStatementParams.h b/storage/src/mozStorageAsyncStatementParams.h index ec10fa3d992..71f53dab65b 100644 --- a/storage/src/mozStorageAsyncStatementParams.h +++ b/storage/src/mozStorageAsyncStatementParams.h @@ -23,7 +23,7 @@ class AsyncStatement; * an async variant. */ class AsyncStatementParams final : public mozIStorageStatementParams - , public nsIXPCScriptable + , public nsIXPCScriptable { public: explicit AsyncStatementParams(AsyncStatement *aStatement); diff --git a/storage/src/mozStorageConnection.h b/storage/src/mozStorageConnection.h index 9a3848871a3..a86ec796f08 100644 --- a/storage/src/mozStorageConnection.h +++ b/storage/src/mozStorageConnection.h @@ -37,7 +37,7 @@ namespace mozilla { namespace storage { class Connection final : public mozIStorageConnection - , public nsIInterfaceRequestor + , public nsIInterfaceRequestor { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/storage/src/mozStorageStatement.h b/storage/src/mozStorageStatement.h index ee786cfa2b0..84fd5da2de7 100644 --- a/storage/src/mozStorageStatement.h +++ b/storage/src/mozStorageStatement.h @@ -28,8 +28,8 @@ class StatementJSHelper; class Connection; class Statement final : public mozIStorageStatement - , public mozIStorageValueArray - , public StorageBaseStatementInternal + , public mozIStorageValueArray + , public StorageBaseStatementInternal { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/storage/src/mozStorageStatementParams.h b/storage/src/mozStorageStatementParams.h index a51b189970d..2627f8aa191 100644 --- a/storage/src/mozStorageStatementParams.h +++ b/storage/src/mozStorageStatementParams.h @@ -17,7 +17,7 @@ namespace mozilla { namespace storage { class StatementParams final : public mozIStorageStatementParams - , public nsIXPCScriptable + , public nsIXPCScriptable { public: explicit StatementParams(mozIStorageStatement *aStatement); diff --git a/storage/src/mozStorageStatementRow.h b/storage/src/mozStorageStatementRow.h index 5cb065b7281..ea9e4034845 100644 --- a/storage/src/mozStorageStatementRow.h +++ b/storage/src/mozStorageStatementRow.h @@ -17,7 +17,7 @@ namespace storage { class Statement; class StatementRow final : public mozIStorageStatementRow - , public nsIXPCScriptable + , public nsIXPCScriptable { public: NS_DECL_ISUPPORTS diff --git a/toolkit/components/autocomplete/nsAutoCompleteController.h b/toolkit/components/autocomplete/nsAutoCompleteController.h index 796e04dbade..9a6dae78257 100644 --- a/toolkit/components/autocomplete/nsAutoCompleteController.h +++ b/toolkit/components/autocomplete/nsAutoCompleteController.h @@ -21,9 +21,9 @@ #include "nsCycleCollectionParticipant.h" class nsAutoCompleteController final : public nsIAutoCompleteController, - public nsIAutoCompleteObserver, - public nsITimerCallback, - public nsITreeView + public nsIAutoCompleteObserver, + public nsITimerCallback, + public nsITreeView { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/toolkit/components/diskspacewatcher/DiskSpaceWatcher.h b/toolkit/components/diskspacewatcher/DiskSpaceWatcher.h index 82d8ea28e9f..6559af3cdec 100644 --- a/toolkit/components/diskspacewatcher/DiskSpaceWatcher.h +++ b/toolkit/components/diskspacewatcher/DiskSpaceWatcher.h @@ -9,7 +9,7 @@ #include "nsCOMPtr.h" class DiskSpaceWatcher final : public nsIDiskSpaceWatcher, - public nsIObserver + public nsIObserver { public: NS_DECL_ISUPPORTS diff --git a/toolkit/components/downloads/nsDownloadManager.h b/toolkit/components/downloads/nsDownloadManager.h index aa957adf6e0..aaf09bc4992 100644 --- a/toolkit/components/downloads/nsDownloadManager.h +++ b/toolkit/components/downloads/nsDownloadManager.h @@ -39,9 +39,9 @@ class nsDownload; #endif class nsDownloadManager final : public nsIDownloadManager, - public nsINavHistoryObserver, - public nsIObserver, - public nsSupportsWeakReference + public nsINavHistoryObserver, + public nsIObserver, + public nsSupportsWeakReference { public: NS_DECL_ISUPPORTS diff --git a/toolkit/components/filewatcher/NativeFileWatcherWin.h b/toolkit/components/filewatcher/NativeFileWatcherWin.h index 43f9419e04c..37dd97f84d3 100644 --- a/toolkit/components/filewatcher/NativeFileWatcherWin.h +++ b/toolkit/components/filewatcher/NativeFileWatcherWin.h @@ -17,7 +17,7 @@ namespace mozilla { class NativeFileWatcherService final : public nsINativeFileWatcherService, - public nsIObserver + public nsIObserver { public: NS_DECL_ISUPPORTS diff --git a/toolkit/components/places/Database.h b/toolkit/components/places/Database.h index 577db769a61..7844833c58f 100644 --- a/toolkit/components/places/Database.h +++ b/toolkit/components/places/Database.h @@ -62,7 +62,7 @@ enum JournalMode { }; class Database final : public nsIObserver - , public nsSupportsWeakReference + , public nsSupportsWeakReference { typedef mozilla::storage::StatementCache StatementCache; typedef mozilla::storage::StatementCache AsyncStatementCache; diff --git a/toolkit/components/places/History.cpp b/toolkit/components/places/History.cpp index eecb400ed78..f042f259118 100644 --- a/toolkit/components/places/History.cpp +++ b/toolkit/components/places/History.cpp @@ -466,8 +466,8 @@ GetJSObjectFromArray(JSContext* aCtx, return NS_OK; } -class VisitedQuery final: public AsyncStatementCallback, - public mozIStorageCompletionCallback +class VisitedQuery final : public AsyncStatementCallback, + public mozIStorageCompletionCallback { public: NS_DECL_ISUPPORTS_INHERITED diff --git a/toolkit/components/places/History.h b/toolkit/components/places/History.h index fbaa07b0e3e..4051792a64b 100644 --- a/toolkit/components/places/History.h +++ b/toolkit/components/places/History.h @@ -37,10 +37,10 @@ class ConcurrentStatementsHolder; #define RECENTLY_VISITED_URI_SIZE 8 class History final : public IHistory - , public nsIDownloadHistory - , public mozIAsyncHistory - , public nsIObserver - , public nsIMemoryReporter + , public nsIDownloadHistory + , public mozIAsyncHistory + , public nsIObserver + , public nsIMemoryReporter { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/toolkit/components/places/nsAnnotationService.h b/toolkit/components/places/nsAnnotationService.h index 397d7c688ee..d60113b89b4 100644 --- a/toolkit/components/places/nsAnnotationService.h +++ b/toolkit/components/places/nsAnnotationService.h @@ -44,8 +44,8 @@ private: } // namespace mozilla class nsAnnotationService final : public nsIAnnotationService - , public nsIObserver - , public nsSupportsWeakReference + , public nsIObserver + , public nsSupportsWeakReference { public: NS_DECL_ISUPPORTS diff --git a/toolkit/components/places/nsFaviconService.h b/toolkit/components/places/nsFaviconService.h index 36bf179266f..629a4a2aa5a 100644 --- a/toolkit/components/places/nsFaviconService.h +++ b/toolkit/components/places/nsFaviconService.h @@ -52,8 +52,8 @@ public: }; class nsFaviconService final : public nsIFaviconService - , public mozIAsyncFavicons - , public nsITimerCallback + , public mozIAsyncFavicons + , public nsITimerCallback { public: nsFaviconService(); diff --git a/toolkit/components/places/nsNavBookmarks.h b/toolkit/components/places/nsNavBookmarks.h index 2c2ad2c85be..3db327519c5 100644 --- a/toolkit/components/places/nsNavBookmarks.h +++ b/toolkit/components/places/nsNavBookmarks.h @@ -70,10 +70,10 @@ namespace places { } // namespace mozilla class nsNavBookmarks final : public nsINavBookmarksService - , public nsINavHistoryObserver - , public nsIAnnotationObserver - , public nsIObserver - , public nsSupportsWeakReference + , public nsINavHistoryObserver + , public nsIAnnotationObserver + , public nsIObserver + , public nsSupportsWeakReference { public: NS_DECL_ISUPPORTS diff --git a/toolkit/components/places/nsNavHistory.h b/toolkit/components/places/nsNavHistory.h index be39bb5e832..d21a5b3b0a3 100644 --- a/toolkit/components/places/nsNavHistory.h +++ b/toolkit/components/places/nsNavHistory.h @@ -62,11 +62,11 @@ class nsIAutoCompleteController; // nsNavHistory class nsNavHistory final : public nsSupportsWeakReference - , public nsINavHistoryService - , public nsIObserver - , public nsIBrowserHistory - , public nsPIPlacesDatabase - , public mozIStorageVacuumParticipant + , public nsINavHistoryService + , public nsIObserver + , public nsIBrowserHistory + , public nsPIPlacesDatabase + , public mozIStorageVacuumParticipant { friend class PlacesSQLQueryBuilder; diff --git a/toolkit/components/places/nsNavHistoryResult.h b/toolkit/components/places/nsNavHistoryResult.h index 8a351799d9a..5c1d33206f2 100644 --- a/toolkit/components/places/nsNavHistoryResult.h +++ b/toolkit/components/places/nsNavHistoryResult.h @@ -106,9 +106,9 @@ private: { 0x455d1d40, 0x1b9b, 0x40e6, { 0xa6, 0x41, 0x8b, 0xb7, 0xe8, 0x82, 0x23, 0x87 } } class nsNavHistoryResult final : public nsSupportsWeakReference, - public nsINavHistoryResult, - public nsINavBookmarkObserver, - public nsINavHistoryObserver + public nsINavHistoryResult, + public nsINavBookmarkObserver, + public nsINavHistoryObserver { public: static nsresult NewHistoryResult(nsINavHistoryQuery** aQueries, @@ -612,8 +612,8 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsNavHistoryContainerResultNode, // bookmark notifications. class nsNavHistoryQueryResultNode final : public nsNavHistoryContainerResultNode, - public nsINavHistoryQueryResultNode, - public nsINavBookmarkObserver + public nsINavHistoryQueryResultNode, + public nsINavBookmarkObserver { public: nsNavHistoryQueryResultNode(const nsACString& aTitle, @@ -693,9 +693,9 @@ protected: // of the folder in sync with the bookmark service. class nsNavHistoryFolderResultNode final : public nsNavHistoryContainerResultNode, - public nsINavHistoryQueryResultNode, - public nsINavBookmarkObserver, - public mozilla::places::AsyncStatementCallback + public nsINavHistoryQueryResultNode, + public nsINavBookmarkObserver, + public mozilla::places::AsyncStatementCallback { public: nsNavHistoryFolderResultNode(const nsACString& aTitle, diff --git a/toolkit/components/satchel/nsFormFillController.h b/toolkit/components/satchel/nsFormFillController.h index c9f68a72239..8a732369d44 100644 --- a/toolkit/components/satchel/nsFormFillController.h +++ b/toolkit/components/satchel/nsFormFillController.h @@ -32,11 +32,11 @@ class nsFormHistory; class nsINode; class nsFormFillController final : public nsIFormFillController, - public nsIAutoCompleteInput, - public nsIAutoCompleteSearch, - public nsIDOMEventListener, - public nsIFormAutoCompleteObserver, - public nsIMutationObserver + public nsIAutoCompleteInput, + public nsIAutoCompleteSearch, + public nsIDOMEventListener, + public nsIFormAutoCompleteObserver, + public nsIMutationObserver { public: NS_DECL_CYCLE_COLLECTING_ISUPPORTS diff --git a/toolkit/components/startup/nsAppStartup.h b/toolkit/components/startup/nsAppStartup.h index 7b586040cd9..d251b01dbff 100644 --- a/toolkit/components/startup/nsAppStartup.h +++ b/toolkit/components/startup/nsAppStartup.h @@ -30,9 +30,9 @@ struct PLEvent; class nsAppStartup final : public nsIAppStartup, - public nsIWindowCreator2, - public nsIObserver, - public nsSupportsWeakReference + public nsIWindowCreator2, + public nsIObserver, + public nsSupportsWeakReference { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp b/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp index 759cffc1a93..7bfe066ded6 100644 --- a/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp +++ b/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp @@ -738,7 +738,7 @@ nsUrlClassifierDBServiceWorker::OpenDb() // the client callback. class nsUrlClassifierLookupCallback final : public nsIUrlClassifierLookupCallback - , public nsIUrlClassifierHashCompleterCallback + , public nsIUrlClassifierHashCompleterCallback { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/toolkit/components/url-classifier/nsUrlClassifierDBService.h b/toolkit/components/url-classifier/nsUrlClassifierDBService.h index 4939f36b024..ed91826fcbf 100644 --- a/toolkit/components/url-classifier/nsUrlClassifierDBService.h +++ b/toolkit/components/url-classifier/nsUrlClassifierDBService.h @@ -51,8 +51,8 @@ class TableUpdate; // This is a proxy class that just creates a background thread and delagates // calls to the background thread. class nsUrlClassifierDBService final : public nsIUrlClassifierDBService, - public nsIURIClassifier, - public nsIObserver + public nsIURIClassifier, + public nsIObserver { public: // This is thread safe. It throws an exception if the thread is busy. diff --git a/toolkit/components/url-classifier/nsUrlClassifierStreamUpdater.h b/toolkit/components/url-classifier/nsUrlClassifierStreamUpdater.h index c568674c2fb..6846b83aa96 100644 --- a/toolkit/components/url-classifier/nsUrlClassifierStreamUpdater.h +++ b/toolkit/components/url-classifier/nsUrlClassifierStreamUpdater.h @@ -21,11 +21,11 @@ class nsIURI; class nsUrlClassifierStreamUpdater final : public nsIUrlClassifierStreamUpdater, - public nsIUrlClassifierUpdateObserver, - public nsIStreamListener, - public nsIObserver, - public nsIInterfaceRequestor, - public nsITimerCallback + public nsIUrlClassifierUpdateObserver, + public nsIStreamListener, + public nsIObserver, + public nsIInterfaceRequestor, + public nsITimerCallback { public: nsUrlClassifierStreamUpdater(); diff --git a/toolkit/crashreporter/google-breakpad/src/common/linux/elf_symbols_to_module_unittest.cc b/toolkit/crashreporter/google-breakpad/src/common/linux/elf_symbols_to_module_unittest.cc index 8984449ab65..2f36b739966 100644 --- a/toolkit/crashreporter/google-breakpad/src/common/linux/elf_symbols_to_module_unittest.cc +++ b/toolkit/crashreporter/google-breakpad/src/common/linux/elf_symbols_to_module_unittest.cc @@ -90,7 +90,7 @@ public: }; class ELFSymbolsToModuleTest32 : public ELFSymbolsToModuleTestFixture, - public TestWithParam { + public TestWithParam { public: ELFSymbolsToModuleTest32() : ELFSymbolsToModuleTestFixture(GetParam(), 4) {} diff --git a/toolkit/xre/nsXREDirProvider.h b/toolkit/xre/nsXREDirProvider.h index 3944c90a401..1243bebc43d 100644 --- a/toolkit/xre/nsXREDirProvider.h +++ b/toolkit/xre/nsXREDirProvider.h @@ -15,7 +15,7 @@ #include "mozilla/Attributes.h" class nsXREDirProvider final : public nsIDirectoryServiceProvider2, - public nsIProfileStartup + public nsIProfileStartup { public: // we use a custom isupports implementation (no refcount) diff --git a/uriloader/base/nsURILoader.cpp b/uriloader/base/nsURILoader.cpp index a8e377d8b3e..85fbbe225fc 100644 --- a/uriloader/base/nsURILoader.cpp +++ b/uriloader/base/nsURILoader.cpp @@ -69,7 +69,7 @@ PRLogModuleInfo* nsURILoader::mLog = nullptr; * (or aborted). */ class nsDocumentOpenInfo final : public nsIStreamListener - , public nsIThreadRetargetableStreamListener + , public nsIThreadRetargetableStreamListener { public: // Needed for nsCOMPtr to work right... Don't call this! diff --git a/uriloader/exthandler/nsExternalHelperAppService.h b/uriloader/exthandler/nsExternalHelperAppService.h index a425d47ffcb..511daac8c15 100644 --- a/uriloader/exthandler/nsExternalHelperAppService.h +++ b/uriloader/exthandler/nsExternalHelperAppService.h @@ -202,9 +202,9 @@ private: * data using a helper app. */ class nsExternalAppHandler final : public nsIStreamListener, - public nsIHelperAppLauncher, - public nsITimerCallback, - public nsIBackgroundFileSaverObserver + public nsIHelperAppLauncher, + public nsITimerCallback, + public nsIBackgroundFileSaverObserver { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/uriloader/prefetch/OfflineCacheUpdateGlue.h b/uriloader/prefetch/OfflineCacheUpdateGlue.h index f2e41f31d0d..b4a9b96ca93 100644 --- a/uriloader/prefetch/OfflineCacheUpdateGlue.h +++ b/uriloader/prefetch/OfflineCacheUpdateGlue.h @@ -38,8 +38,8 @@ namespace docshell { NS_IMETHOD Cancel() override { return !_to ? NS_ERROR_NULL_POINTER : _to->Cancel(); } class OfflineCacheUpdateGlue final : public nsSupportsWeakReference - , public nsIOfflineCacheUpdate - , public nsIOfflineCacheUpdateObserver + , public nsIOfflineCacheUpdate + , public nsIOfflineCacheUpdateObserver { public: NS_DECL_ISUPPORTS diff --git a/uriloader/prefetch/nsOfflineCacheUpdate.cpp b/uriloader/prefetch/nsOfflineCacheUpdate.cpp index cfa609e4d38..b41b6174c0a 100644 --- a/uriloader/prefetch/nsOfflineCacheUpdate.cpp +++ b/uriloader/prefetch/nsOfflineCacheUpdate.cpp @@ -116,8 +116,8 @@ LogToConsole(const char * message, nsOfflineCacheUpdateItem * item = nullptr) //----------------------------------------------------------------------------- class nsManifestCheck final : public nsIStreamListener - , public nsIChannelEventSink - , public nsIInterfaceRequestor + , public nsIChannelEventSink + , public nsIInterfaceRequestor { public: nsManifestCheck(nsOfflineCacheUpdate *aUpdate, diff --git a/uriloader/prefetch/nsOfflineCacheUpdate.h b/uriloader/prefetch/nsOfflineCacheUpdate.h index ebbe1259d1a..77b169c222e 100644 --- a/uriloader/prefetch/nsOfflineCacheUpdate.h +++ b/uriloader/prefetch/nsOfflineCacheUpdate.h @@ -194,9 +194,9 @@ public: }; class nsOfflineCacheUpdate final : public nsIOfflineCacheUpdate - , public nsIOfflineCacheUpdateObserver - , public nsIRunnable - , public nsOfflineCacheUpdateOwner + , public nsIOfflineCacheUpdateObserver + , public nsIRunnable + , public nsOfflineCacheUpdateOwner { public: MOZ_DECLARE_REFCOUNTED_TYPENAME(nsOfflineCacheUpdate) @@ -320,9 +320,9 @@ private: }; class nsOfflineCacheUpdateService final : public nsIOfflineCacheUpdateService - , public nsIObserver - , public nsOfflineCacheUpdateOwner - , public nsSupportsWeakReference + , public nsIObserver + , public nsOfflineCacheUpdateOwner + , public nsSupportsWeakReference { public: NS_DECL_ISUPPORTS diff --git a/uriloader/prefetch/nsOfflineCacheUpdateService.cpp b/uriloader/prefetch/nsOfflineCacheUpdateService.cpp index 717d5b7a9fe..9f4b6f9d2b3 100644 --- a/uriloader/prefetch/nsOfflineCacheUpdateService.cpp +++ b/uriloader/prefetch/nsOfflineCacheUpdateService.cpp @@ -126,7 +126,7 @@ GetAppIDAndInBrowserFromWindow(nsIDOMWindow *aWindow, //----------------------------------------------------------------------------- class nsOfflineCachePendingUpdate final : public nsIWebProgressListener - , public nsSupportsWeakReference + , public nsSupportsWeakReference { public: NS_DECL_ISUPPORTS diff --git a/uriloader/prefetch/nsPrefetchService.h b/uriloader/prefetch/nsPrefetchService.h index 28912ed269b..0ac2636d94e 100644 --- a/uriloader/prefetch/nsPrefetchService.h +++ b/uriloader/prefetch/nsPrefetchService.h @@ -28,9 +28,9 @@ class nsPrefetchNode; //----------------------------------------------------------------------------- class nsPrefetchService final : public nsIPrefetchService - , public nsIWebProgressListener - , public nsIObserver - , public nsSupportsWeakReference + , public nsIWebProgressListener + , public nsIObserver + , public nsSupportsWeakReference { public: NS_DECL_ISUPPORTS @@ -82,9 +82,9 @@ private: //----------------------------------------------------------------------------- class nsPrefetchNode final : public nsIStreamListener - , public nsIInterfaceRequestor - , public nsIChannelEventSink - , public nsIRedirectResultListener + , public nsIInterfaceRequestor + , public nsIChannelEventSink + , public nsIRedirectResultListener { public: NS_DECL_ISUPPORTS diff --git a/widget/android/nsAndroidProtocolHandler.h b/widget/android/nsAndroidProtocolHandler.h index c395fc95683..11705dd0a58 100644 --- a/widget/android/nsAndroidProtocolHandler.h +++ b/widget/android/nsAndroidProtocolHandler.h @@ -19,7 +19,7 @@ } class nsAndroidProtocolHandler final : public nsIProtocolHandler, - public nsSupportsWeakReference + public nsSupportsWeakReference { public: NS_DECL_THREADSAFE_ISUPPORTS diff --git a/widget/gonk/nativewindow/GonkBufferQueueKK.h b/widget/gonk/nativewindow/GonkBufferQueueKK.h index 0209de02c51..d40e439f3ab 100644 --- a/widget/gonk/nativewindow/GonkBufferQueueKK.h +++ b/widget/gonk/nativewindow/GonkBufferQueueKK.h @@ -37,8 +37,9 @@ namespace android { // ---------------------------------------------------------------------------- class GonkBufferQueue : public BnGraphicBufferProducer, - public BnGonkGraphicBufferConsumer, - private IBinder::DeathRecipient { + public BnGonkGraphicBufferConsumer, + private IBinder::DeathRecipient +{ typedef mozilla::layers::TextureClient TextureClient; public: diff --git a/widget/gtk/nsDragService.h b/widget/gtk/nsDragService.h index b3ab9422ade..35fa40638fb 100644 --- a/widget/gtk/nsDragService.h +++ b/widget/gtk/nsDragService.h @@ -49,7 +49,7 @@ class nsAutoRefTraits : */ class nsDragService final : public nsBaseDragService, - public nsIObserver + public nsIObserver { public: nsDragService(); diff --git a/widget/nsColorPickerProxy.h b/widget/nsColorPickerProxy.h index c166801c2b5..0f3af3793f4 100644 --- a/widget/nsColorPickerProxy.h +++ b/widget/nsColorPickerProxy.h @@ -11,7 +11,7 @@ #include "mozilla/dom/PColorPickerChild.h" class nsColorPickerProxy final : public nsIColorPicker, - public mozilla::dom::PColorPickerChild + public mozilla::dom::PColorPickerChild { public: NS_DECL_ISUPPORTS diff --git a/widget/nsScreenManagerProxy.h b/widget/nsScreenManagerProxy.h index eb9915d6e71..2db660ca741 100644 --- a/widget/nsScreenManagerProxy.h +++ b/widget/nsScreenManagerProxy.h @@ -24,7 +24,7 @@ * loop. */ class nsScreenManagerProxy final : public nsIScreenManager, - public mozilla::dom::PScreenManagerChild + public mozilla::dom::PScreenManagerChild { public: nsScreenManagerProxy(); diff --git a/widget/windows/nsTextStore.cpp b/widget/windows/nsTextStore.cpp index 83d5394d201..00f85269dac 100644 --- a/widget/windows/nsTextStore.cpp +++ b/widget/windows/nsTextStore.cpp @@ -704,7 +704,7 @@ private: /******************************************************************/ class TSFStaticSink final : public ITfActiveLanguageProfileNotifySink - , public ITfInputProcessorProfileActivationSink + , public ITfInputProcessorProfileActivationSink { public: static TSFStaticSink* GetInstance() diff --git a/widget/windows/nsTextStore.h b/widget/windows/nsTextStore.h index 9aacfec823b..88c1c67ef9c 100644 --- a/widget/windows/nsTextStore.h +++ b/widget/windows/nsTextStore.h @@ -54,8 +54,8 @@ struct MSGResult; */ class nsTextStore final : public ITextStoreACP - , public ITfContextOwnerCompositionSink - , public ITfMouseTrackerACP + , public ITfContextOwnerCompositionSink + , public ITfMouseTrackerACP { public: /*IUnknown*/ STDMETHODIMP QueryInterface(REFIID, void**); diff --git a/xpcom/base/nsIStatusReporter.idl b/xpcom/base/nsIStatusReporter.idl index e85632d90f5..9f9245f4983 100644 --- a/xpcom/base/nsIStatusReporter.idl +++ b/xpcom/base/nsIStatusReporter.idl @@ -65,15 +65,15 @@ interface nsIStatusReporterManager : nsISupports * Note that this defaults 'process' to "", which is usually what's desired. */ #define NS_STATUS_REPORTER_IMPLEMENT(_classname, _name, _desc_Function) \ - class StatusReporter_##_classname final : public nsIStatusReporter { \ + class StatusReporter_##_classname final : public nsIStatusReporter { \ ~StatusReporter_##_classname() {} \ public: \ NS_DECL_ISUPPORTS \ - NS_IMETHOD GetName(nsACString &name) override \ + NS_IMETHOD GetName(nsACString &name) override \ { name.AssignLiteral(_name); return NS_OK; } \ - NS_IMETHOD GetProcess(nsACString &process) override \ + NS_IMETHOD GetProcess(nsACString &process) override \ { process.Truncate(); return NS_OK; } \ - NS_IMETHOD GetDescription(nsACString &desc) override \ + NS_IMETHOD GetDescription(nsACString &desc) override \ { _desc_Function(desc); return NS_OK; } \ }; \ NS_IMPL_ISUPPORTS(StatusReporter_##_classname, nsIStatusReporter) diff --git a/xpcom/glue/nsCycleCollectionParticipant.h b/xpcom/glue/nsCycleCollectionParticipant.h index 4c6f66842f9..128cf0138c7 100644 --- a/xpcom/glue/nsCycleCollectionParticipant.h +++ b/xpcom/glue/nsCycleCollectionParticipant.h @@ -267,7 +267,7 @@ NS_DEFINE_STATIC_IID_ACCESSOR(nsXPCOMCycleCollectionParticipant, } \ nsresult rv; -#define NS_CYCLE_COLLECTION_UPCAST(obj, clazz) \ +#define NS_CYCLE_COLLECTION_UPCAST(obj, clazz) \ NS_CYCLE_COLLECTION_CLASSNAME(clazz)::Upcast(obj) #ifdef DEBUG @@ -508,8 +508,8 @@ DowncastCCParticipant(void* aPtr) #define NS_DECL_CYCLE_COLLECTION_CLASS_BODY_NO_UNLINK(_class, _base) \ public: \ NS_IMETHOD Traverse(void *p, nsCycleCollectionTraversalCallback &cb) \ - override; \ - NS_IMETHOD_(void) DeleteCycleCollectable(void *p) override \ + override; \ + NS_IMETHOD_(void) DeleteCycleCollectable(void *p) override \ { \ DowncastCCParticipant<_class>(p)->DeleteCycleCollectable(); \ } \ @@ -574,9 +574,9 @@ public: : nsXPCOMCycleCollectionParticipant(true) {} \ private: \ NS_DECL_CYCLE_COLLECTION_CLASS_BODY(_class, _base) \ - NS_IMETHOD_(bool) CanSkipReal(void *p, bool aRemovingAllowed) override; \ - NS_IMETHOD_(bool) CanSkipInCCReal(void *p) override; \ - NS_IMETHOD_(bool) CanSkipThisReal(void *p) override; \ + NS_IMETHOD_(bool) CanSkipReal(void *p, bool aRemovingAllowed) override; \ + NS_IMETHOD_(bool) CanSkipInCCReal(void *p) override; \ + NS_IMETHOD_(bool) CanSkipThisReal(void *p) override; \ NS_IMPL_GET_XPCOM_CYCLE_COLLECTION_PARTICIPANT(_class) \ }; \ NS_CHECK_FOR_RIGHT_PARTICIPANT_IMPL(_class) \ @@ -591,8 +591,7 @@ class NS_CYCLE_COLLECTION_INNERCLASS : public nsXPCOMCycleCollectionParticipant \ { \ NS_DECL_CYCLE_COLLECTION_CLASS_BODY(_class, _base) \ - NS_IMETHOD_(void) Trace(void *p, const TraceCallbacks &cb, void *closure) \ - override; \ + NS_IMETHOD_(void) Trace(void *p, const TraceCallbacks &cb, void *closure) override; \ NS_IMPL_GET_XPCOM_CYCLE_COLLECTION_PARTICIPANT(_class) \ }; \ NS_CHECK_FOR_RIGHT_PARTICIPANT_IMPL(_class) \ @@ -608,10 +607,10 @@ public: : nsXPCOMCycleCollectionParticipant(true) {} \ private: \ NS_DECL_CYCLE_COLLECTION_CLASS_BODY(_class, _base) \ - NS_IMETHOD_(void) Trace(void *p, const TraceCallbacks &cb, void *closure) override; \ - NS_IMETHOD_(bool) CanSkipReal(void *p, bool aRemovingAllowed) override; \ - NS_IMETHOD_(bool) CanSkipInCCReal(void *p) override; \ - NS_IMETHOD_(bool) CanSkipThisReal(void *p) override; \ + NS_IMETHOD_(void) Trace(void *p, const TraceCallbacks &cb, void *closure) override; \ + NS_IMETHOD_(bool) CanSkipReal(void *p, bool aRemovingAllowed) override; \ + NS_IMETHOD_(bool) CanSkipInCCReal(void *p) override; \ + NS_IMETHOD_(bool) CanSkipThisReal(void *p) override; \ NS_IMPL_GET_XPCOM_CYCLE_COLLECTION_PARTICIPANT(_class) \ }; \ NS_CHECK_FOR_RIGHT_PARTICIPANT_IMPL(_class) \ @@ -627,10 +626,10 @@ class NS_CYCLE_COLLECTION_INNERCLASS : public NS_CYCLE_COLLECTION_CLASSNAME(_base_class) \ { \ NS_DECL_CYCLE_COLLECTION_CLASS_INHERITED_BODY(_class, _base_class) \ - NS_IMETHOD_(void) Trace(void *p, const TraceCallbacks &cb, void *closure) override; \ - NS_IMETHOD_(bool) CanSkipReal(void *p, bool aRemovingAllowed) override; \ - NS_IMETHOD_(bool) CanSkipInCCReal(void *p) override; \ - NS_IMETHOD_(bool) CanSkipThisReal(void *p) override; \ + NS_IMETHOD_(void) Trace(void *p, const TraceCallbacks &cb, void *closure) override; \ + NS_IMETHOD_(bool) CanSkipReal(void *p, bool aRemovingAllowed) override; \ + NS_IMETHOD_(bool) CanSkipInCCReal(void *p) override; \ + NS_IMETHOD_(bool) CanSkipThisReal(void *p) override; \ NS_IMPL_GET_XPCOM_CYCLE_COLLECTION_PARTICIPANT(_class) \ }; \ NS_CHECK_FOR_RIGHT_PARTICIPANT_IMPL_INHERITED(_class) \ @@ -643,7 +642,7 @@ static NS_CYCLE_COLLECTION_INNERCLASS NS_CYCLE_COLLECTION_INNERNAME; _base_class) \ public: \ NS_IMETHOD Traverse(void *p, nsCycleCollectionTraversalCallback &cb) \ - override; \ + override; \ static _class* Downcast(nsISupports* s) \ { \ return static_cast<_class*>(static_cast<_base_class*>( \ @@ -684,7 +683,7 @@ class NS_CYCLE_COLLECTION_INNERCLASS { \ NS_DECL_CYCLE_COLLECTION_CLASS_INHERITED_BODY(_class, _base_class) \ NS_IMETHOD_(void) Trace(void *p, const TraceCallbacks &cb, void *closure) \ - override; \ + override; \ NS_IMPL_GET_XPCOM_CYCLE_COLLECTION_PARTICIPANT(_class) \ }; \ NS_CHECK_FOR_RIGHT_PARTICIPANT_IMPL_INHERITED(_class) \ @@ -694,12 +693,12 @@ static NS_CYCLE_COLLECTION_INNERCLASS NS_CYCLE_COLLECTION_INNERNAME; #define NS_DECL_CYCLE_COLLECTION_NATIVE_CLASS_BODY(_class) \ public: \ - NS_IMETHOD_(void) Root(void *n) override; \ - NS_IMETHOD_(void) Unlink(void *n) override; \ - NS_IMETHOD_(void) Unroot(void *n) override; \ + NS_IMETHOD_(void) Root(void *n) override; \ + NS_IMETHOD_(void) Unlink(void *n) override; \ + NS_IMETHOD_(void) Unroot(void *n) override; \ NS_IMETHOD Traverse(void *n, nsCycleCollectionTraversalCallback &cb) \ - override; \ - NS_IMETHOD_(void) DeleteCycleCollectable(void *n) override \ + override; \ + NS_IMETHOD_(void) DeleteCycleCollectable(void *n) override \ { \ DowncastCCParticipant<_class>(n)->DeleteCycleCollectable(); \ } \ @@ -741,9 +740,9 @@ static NS_CYCLE_COLLECTION_INNERCLASS NS_CYCLE_COLLECTION_INNERNAME; : nsCycleCollectionParticipant(true) {} \ private: \ NS_DECL_CYCLE_COLLECTION_NATIVE_CLASS_BODY(_class) \ - NS_IMETHOD_(bool) CanSkipReal(void *p, bool aRemovingAllowed) override;\ - NS_IMETHOD_(bool) CanSkipInCCReal(void *p) override; \ - NS_IMETHOD_(bool) CanSkipThisReal(void *p) override; \ + NS_IMETHOD_(bool) CanSkipReal(void *p, bool aRemovingAllowed) override; \ + NS_IMETHOD_(bool) CanSkipInCCReal(void *p) override; \ + NS_IMETHOD_(bool) CanSkipThisReal(void *p) override; \ static nsCycleCollectionParticipant* GetParticipant() \ { \ return &_class::NS_CYCLE_COLLECTION_INNERNAME; \ @@ -760,9 +759,9 @@ public: \ : nsCycleCollectionParticipant(true) {} \ private: \ NS_DECL_CYCLE_COLLECTION_NATIVE_CLASS_BODY(_class) \ - NS_IMETHOD_(bool) CanSkipReal(void *p, bool aRemovingAllowed) override; \ - NS_IMETHOD_(bool) CanSkipInCCReal(void *p) override; \ - NS_IMETHOD_(bool) CanSkipThisReal(void *p) override; \ + NS_IMETHOD_(bool) CanSkipReal(void *p, bool aRemovingAllowed) override; \ + NS_IMETHOD_(bool) CanSkipInCCReal(void *p) override; \ + NS_IMETHOD_(bool) CanSkipThisReal(void *p) override; \ static nsCycleCollectionParticipant* GetParticipant() \ { \ return &_class::NS_CYCLE_COLLECTION_INNERNAME; \ @@ -780,7 +779,7 @@ static NS_CYCLE_COLLECTION_INNERCLASS NS_CYCLE_COLLECTION_INNERNAME; { \ NS_DECL_CYCLE_COLLECTION_NATIVE_CLASS_BODY(_class) \ NS_IMETHOD_(void) Trace(void *p, const TraceCallbacks &cb, void *closure) \ - override; \ + override; \ static MOZ_CONSTEXPR nsScriptObjectTracer* GetParticipant() \ { \ return &_class::NS_CYCLE_COLLECTION_INNERNAME; \ diff --git a/xpcom/glue/nsISupportsImpl.h b/xpcom/glue/nsISupportsImpl.h index 8bd3f2e7c01..c44d1db8e1b 100644 --- a/xpcom/glue/nsISupportsImpl.h +++ b/xpcom/glue/nsISupportsImpl.h @@ -385,9 +385,9 @@ private: #define NS_DECL_ISUPPORTS \ public: \ NS_IMETHOD QueryInterface(REFNSIID aIID, \ - void** aInstancePtr) override; \ - NS_IMETHOD_(MozExternalRefCountType) AddRef(void) override; \ - NS_IMETHOD_(MozExternalRefCountType) Release(void) override; \ + void** aInstancePtr) override; \ + NS_IMETHOD_(MozExternalRefCountType) AddRef(void) override; \ + NS_IMETHOD_(MozExternalRefCountType) Release(void) override; \ protected: \ nsAutoRefCnt mRefCnt; \ NS_DECL_OWNINGTHREAD \ @@ -396,9 +396,9 @@ public: #define NS_DECL_THREADSAFE_ISUPPORTS \ public: \ NS_IMETHOD QueryInterface(REFNSIID aIID, \ - void** aInstancePtr) override; \ - NS_IMETHOD_(MozExternalRefCountType) AddRef(void) override; \ - NS_IMETHOD_(MozExternalRefCountType) Release(void) override; \ + void** aInstancePtr) override; \ + NS_IMETHOD_(MozExternalRefCountType) AddRef(void) override; \ + NS_IMETHOD_(MozExternalRefCountType) Release(void) override; \ protected: \ ::mozilla::ThreadSafeAutoRefCnt mRefCnt; \ NS_DECL_OWNINGTHREAD \ @@ -407,9 +407,9 @@ public: #define NS_DECL_CYCLE_COLLECTING_ISUPPORTS \ public: \ NS_IMETHOD QueryInterface(REFNSIID aIID, \ - void** aInstancePtr) override; \ - NS_IMETHOD_(MozExternalRefCountType) AddRef(void) override; \ - NS_IMETHOD_(MozExternalRefCountType) Release(void) override; \ + void** aInstancePtr) override; \ + NS_IMETHOD_(MozExternalRefCountType) AddRef(void) override; \ + NS_IMETHOD_(MozExternalRefCountType) Release(void) override; \ NS_IMETHOD_(void) DeleteCycleCollectable(void); \ protected: \ nsCycleCollectingAutoRefCnt mRefCnt; \ diff --git a/xpcom/io/SnappyCompressOutputStream.h b/xpcom/io/SnappyCompressOutputStream.h index 98f51c544ee..36c47e66e35 100644 --- a/xpcom/io/SnappyCompressOutputStream.h +++ b/xpcom/io/SnappyCompressOutputStream.h @@ -17,7 +17,7 @@ namespace mozilla { class SnappyCompressOutputStream final : public nsIOutputStream - , protected detail::SnappyFrameUtils + , protected detail::SnappyFrameUtils { public: // Maximum compression block size. diff --git a/xpcom/io/SnappyUncompressInputStream.h b/xpcom/io/SnappyUncompressInputStream.h index 60e4afdd341..0d24c0d1157 100644 --- a/xpcom/io/SnappyUncompressInputStream.h +++ b/xpcom/io/SnappyUncompressInputStream.h @@ -17,7 +17,7 @@ namespace mozilla { class SnappyUncompressInputStream final : public nsIInputStream - , protected detail::SnappyFrameUtils + , protected detail::SnappyFrameUtils { public: // Construct a new blocking stream to uncompress the given base stream. The diff --git a/xpcom/tests/TestCallTemplates.cpp b/xpcom/tests/TestCallTemplates.cpp index 65d46a0e100..9d55ecad1eb 100644 --- a/xpcom/tests/TestCallTemplates.cpp +++ b/xpcom/tests/TestCallTemplates.cpp @@ -34,7 +34,7 @@ class NS_NO_VTABLE nsITestService : public nsISupports { NS_DEFINE_STATIC_IID_ACCESSOR(nsITestService, NS_ITESTSERVICE_IID) class nsTestService final : public nsITestService, - public nsSupportsWeakReference + public nsSupportsWeakReference { ~nsTestService() {} public: diff --git a/xpcom/tests/TestObserverService.cpp b/xpcom/tests/TestObserverService.cpp index 374868526a9..213d116bf5f 100644 --- a/xpcom/tests/TestObserverService.cpp +++ b/xpcom/tests/TestObserverService.cpp @@ -31,7 +31,7 @@ void printString(nsString &str) { } class TestObserver final : public nsIObserver, - public nsSupportsWeakReference + public nsSupportsWeakReference { public: explicit TestObserver( const nsAString &name ) diff --git a/xpfe/appshell/nsAppShellService.cpp b/xpfe/appshell/nsAppShellService.cpp index fb95243d59e..0b52f29f426 100644 --- a/xpfe/appshell/nsAppShellService.cpp +++ b/xpfe/appshell/nsAppShellService.cpp @@ -322,7 +322,8 @@ WebBrowserChrome2Stub::GetInterface(const nsIID & aIID, void **aSink) // purely to keep a strong reference to the browser and the container to // prevent the container being collected while the stub remains alive. class WindowlessBrowserStub final : public nsIWebNavigation, - public nsIInterfaceRequestor { + public nsIInterfaceRequestor +{ public: WindowlessBrowserStub(nsIWebBrowser *aBrowser, nsISupports *aContainer) { mBrowser = aBrowser; diff --git a/xpfe/appshell/nsAppShellService.h b/xpfe/appshell/nsAppShellService.h index 9afca13f0fb..389b1a75abe 100644 --- a/xpfe/appshell/nsAppShellService.h +++ b/xpfe/appshell/nsAppShellService.h @@ -21,7 +21,7 @@ { 0x99907d, 0x123c, 0x4853, { 0xa4, 0x6a, 0x43, 0x9, 0x8b, 0x5f, 0xb6, 0x8c } } class nsAppShellService final : public nsIAppShellService, - public nsIObserver + public nsIObserver { public: NS_DECL_ISUPPORTS diff --git a/xpfe/appshell/nsContentTreeOwner.h b/xpfe/appshell/nsContentTreeOwner.h index dcad42617f8..d6a0d42b3dd 100644 --- a/xpfe/appshell/nsContentTreeOwner.h +++ b/xpfe/appshell/nsContentTreeOwner.h @@ -23,10 +23,10 @@ class nsXULWindow; class nsSiteWindow; class nsContentTreeOwner final : public nsIDocShellTreeOwner, - public nsIBaseWindow, - public nsIInterfaceRequestor, - public nsIWebBrowserChrome3, - public nsIWindowProvider + public nsIBaseWindow, + public nsIInterfaceRequestor, + public nsIWebBrowserChrome3, + public nsIWindowProvider { friend class nsXULWindow; friend class nsSiteWindow; diff --git a/xpfe/appshell/nsWebShellWindow.h b/xpfe/appshell/nsWebShellWindow.h index 8ae2f201965..65e1d3d3d10 100644 --- a/xpfe/appshell/nsWebShellWindow.h +++ b/xpfe/appshell/nsWebShellWindow.h @@ -24,8 +24,8 @@ class WebShellWindowTimerCallback; } // namespace mozilla class nsWebShellWindow final : public nsXULWindow, - public nsIWebProgressListener, - public nsIWidgetListener + public nsIWebProgressListener, + public nsIWidgetListener { public: explicit nsWebShellWindow(uint32_t aChromeFlags); diff --git a/xpfe/components/directory/nsDirectoryViewer.h b/xpfe/components/directory/nsDirectoryViewer.h index dea0b0318aa..4a3b5eb601e 100644 --- a/xpfe/components/directory/nsDirectoryViewer.h +++ b/xpfe/components/directory/nsDirectoryViewer.h @@ -35,11 +35,11 @@ protected: }; class nsHTTPIndex final : public nsIHTTPIndex, - public nsIRDFDataSource, - public nsIStreamListener, - public nsIDirIndexListener, - public nsIInterfaceRequestor, - public nsIFTPEventSink + public nsIRDFDataSource, + public nsIStreamListener, + public nsIDirIndexListener, + public nsIInterfaceRequestor, + public nsIFTPEventSink { private: diff --git a/xpfe/components/windowds/nsWindowDataSource.h b/xpfe/components/windowds/nsWindowDataSource.h index f499c9bef6c..351ff951b1e 100644 --- a/xpfe/components/windowds/nsWindowDataSource.h +++ b/xpfe/components/windowds/nsWindowDataSource.h @@ -21,9 +21,9 @@ class nsWindowDataSource final : public nsIRDFDataSource, - public nsIObserver, - public nsIWindowMediatorListener, - public nsIWindowDataSource + public nsIObserver, + public nsIWindowMediatorListener, + public nsIWindowDataSource { public: nsWindowDataSource() { }