Use #pragma once in WebCore
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 31 Oct 2016 22:07:53 +0000 (22:07 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 31 Oct 2016 22:07:53 +0000 (22:07 +0000)
https://bugs.webkit.org/show_bug.cgi?id=164194

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2016-10-31
Rubber-stamped by Sam Weinig.

Source/WebCore:

* accessibility/*.h:
* bindings/*.h:
* contentextensions/*.h:
* dom/*.h:
* html/*.h:
* page/*.h:
Use #pragma once in headers.

* html/parser/ParsingUtilities.h:
Add missing namespace.

* html/track/VTTScanner.h:
(WebCore::VTTScanner::skipWhile):
(WebCore::VTTScanner::skipUntil):
(WebCore::VTTScanner::collectWhile):
(WebCore::VTTScanner::collectUntil):
Include namespace.

Source/WebKit/win:

* WebCoreSupport/WebContextMenuClient.cpp:
(WebContextMenuClient::isSpeaking):
(WebContextMenuClient::shareMenuItem): Deleted.
* WebCoreSupport/WebContextMenuClient.h:
Remove this dead code since r192333.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208179 268f45cc-cd09-0410-ab3c-d52691b4dbfc

617 files changed:
Source/WebCore/ChangeLog
Source/WebCore/accessibility/AXObjectCache.h
Source/WebCore/accessibility/AXTextStateChangeIntent.h
Source/WebCore/accessibility/AccessibilityARIAGrid.h
Source/WebCore/accessibility/AccessibilityARIAGridCell.h
Source/WebCore/accessibility/AccessibilityARIAGridRow.h
Source/WebCore/accessibility/AccessibilityAttachment.h
Source/WebCore/accessibility/AccessibilityImageMapLink.h
Source/WebCore/accessibility/AccessibilityLabel.h
Source/WebCore/accessibility/AccessibilityList.h
Source/WebCore/accessibility/AccessibilityListBox.h
Source/WebCore/accessibility/AccessibilityListBoxOption.h
Source/WebCore/accessibility/AccessibilityMathMLElement.h
Source/WebCore/accessibility/AccessibilityMediaControls.h
Source/WebCore/accessibility/AccessibilityMenuList.h
Source/WebCore/accessibility/AccessibilityMenuListOption.h
Source/WebCore/accessibility/AccessibilityMenuListPopup.h
Source/WebCore/accessibility/AccessibilityMockObject.h
Source/WebCore/accessibility/AccessibilityNodeObject.h
Source/WebCore/accessibility/AccessibilityObject.h
Source/WebCore/accessibility/AccessibilityProgressIndicator.h
Source/WebCore/accessibility/AccessibilityRenderObject.h
Source/WebCore/accessibility/AccessibilitySVGElement.h
Source/WebCore/accessibility/AccessibilitySVGRoot.h
Source/WebCore/accessibility/AccessibilityScrollView.h
Source/WebCore/accessibility/AccessibilityScrollbar.h
Source/WebCore/accessibility/AccessibilitySlider.h
Source/WebCore/accessibility/AccessibilitySpinButton.h
Source/WebCore/accessibility/AccessibilityTable.h
Source/WebCore/accessibility/AccessibilityTableCell.h
Source/WebCore/accessibility/AccessibilityTableColumn.h
Source/WebCore/accessibility/AccessibilityTableHeaderContainer.h
Source/WebCore/accessibility/AccessibilityTableRow.h
Source/WebCore/accessibility/AccessibilityTree.h
Source/WebCore/accessibility/AccessibilityTreeItem.h
Source/WebCore/accessibility/atk/WebKitAccessibleHyperlink.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceAction.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceComponent.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceDocument.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceEditableText.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceHyperlinkImpl.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceHypertext.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceImage.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceSelection.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceTable.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceTableCell.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceText.h
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceValue.h
Source/WebCore/accessibility/atk/WebKitAccessibleUtil.h
Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.h
Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.h
Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.h
Source/WebCore/accessibility/win/AccessibilityObjectWrapperWin.h
Source/WebCore/bindings/generic/ActiveDOMCallback.h
Source/WebCore/bindings/js/ArrayValue.h
Source/WebCore/bindings/js/CachedScriptSourceProvider.h
Source/WebCore/bindings/js/CallbackFunction.h
Source/WebCore/bindings/js/DOMConstructorWithDocument.h
Source/WebCore/bindings/js/DOMWrapperWorld.h
Source/WebCore/bindings/js/GCController.h
Source/WebCore/bindings/js/JSCSSRuleCustom.h
Source/WebCore/bindings/js/JSCSSStyleDeclarationCustom.h
Source/WebCore/bindings/js/JSCallbackData.h
Source/WebCore/bindings/js/JSCryptoAlgorithmBuilder.h
Source/WebCore/bindings/js/JSCryptoAlgorithmDictionary.h
Source/WebCore/bindings/js/JSCryptoKeySerializationJWK.h
Source/WebCore/bindings/js/JSCryptoOperationData.h
Source/WebCore/bindings/js/JSCustomElementInterface.h
Source/WebCore/bindings/js/JSCustomXPathNSResolver.h
Source/WebCore/bindings/js/JSDOMConstructor.h
Source/WebCore/bindings/js/JSDOMGlobalObject.h
Source/WebCore/bindings/js/JSDOMGlobalObjectTask.h
Source/WebCore/bindings/js/JSDOMPromise.h
Source/WebCore/bindings/js/JSDOMWindowBase.h
Source/WebCore/bindings/js/JSDOMWindowCustom.h
Source/WebCore/bindings/js/JSDictionary.h
Source/WebCore/bindings/js/JSDocumentCustom.h
Source/WebCore/bindings/js/JSElementCustom.h
Source/WebCore/bindings/js/JSErrorHandler.h
Source/WebCore/bindings/js/JSEventListener.h
Source/WebCore/bindings/js/JSExceptionBase.h
Source/WebCore/bindings/js/JSImageConstructor.h
Source/WebCore/bindings/js/JSLazyEventListener.h
Source/WebCore/bindings/js/JSMainThreadExecStateInstrumentation.h
Source/WebCore/bindings/js/JSMediaListCustom.h
Source/WebCore/bindings/js/JSMutationCallback.h
Source/WebCore/bindings/js/JSNodeListCustom.h
Source/WebCore/bindings/js/JSPluginElementFunctions.h
Source/WebCore/bindings/js/JSReadableStreamPrivateConstructors.h
Source/WebCore/bindings/js/JSStyleSheetCustom.h
Source/WebCore/bindings/js/JSTrackCustom.h
Source/WebCore/bindings/js/JSWorkerGlobalScopeBase.h
Source/WebCore/bindings/js/ReadableStreamDefaultController.h
Source/WebCore/bindings/js/ScheduledAction.h
Source/WebCore/bindings/js/ScriptCachedFrameData.h
Source/WebCore/bindings/js/ScriptController.h
Source/WebCore/bindings/js/ScriptGlobalObject.h
Source/WebCore/bindings/js/ScriptSourceCode.h
Source/WebCore/bindings/js/ScriptWrappable.h
Source/WebCore/bindings/js/ScriptWrappableInlines.h
Source/WebCore/bindings/js/WebCoreBuiltinNames.h
Source/WebCore/bindings/js/WebCoreJSClientData.h
Source/WebCore/bindings/js/WebCoreTypedArrayController.h
Source/WebCore/contentextensions/CombinedFiltersAlphabet.h
Source/WebCore/contentextensions/CombinedURLFilters.h
Source/WebCore/contentextensions/CompiledContentExtension.h
Source/WebCore/contentextensions/ContentExtension.h
Source/WebCore/contentextensions/ContentExtensionCompiler.h
Source/WebCore/contentextensions/ContentExtensionError.h
Source/WebCore/contentextensions/ContentExtensionParser.h
Source/WebCore/contentextensions/ContentExtensionRule.h
Source/WebCore/contentextensions/ContentExtensionStyleSheet.h
Source/WebCore/contentextensions/ContentExtensionsBackend.h
Source/WebCore/contentextensions/ContentExtensionsDebugging.h
Source/WebCore/contentextensions/DFA.h
Source/WebCore/contentextensions/DFABytecode.h
Source/WebCore/contentextensions/DFABytecodeCompiler.h
Source/WebCore/contentextensions/DFABytecodeInterpreter.h
Source/WebCore/contentextensions/DFACombiner.h
Source/WebCore/contentextensions/DFAMinimizer.h
Source/WebCore/contentextensions/DFANode.h
Source/WebCore/contentextensions/HashableActionList.h
Source/WebCore/contentextensions/ImmutableNFA.h
Source/WebCore/contentextensions/ImmutableNFANodeBuilder.h
Source/WebCore/contentextensions/MutableRange.h
Source/WebCore/contentextensions/MutableRangeList.h
Source/WebCore/contentextensions/NFA.h
Source/WebCore/contentextensions/NFANode.h
Source/WebCore/contentextensions/NFAToDFA.h
Source/WebCore/contentextensions/Term.h
Source/WebCore/contentextensions/URLFilterParser.h
Source/WebCore/dom/ActiveDOMObject.h
Source/WebCore/dom/AnimationEvent.h
Source/WebCore/dom/Attribute.h
Source/WebCore/dom/AutocompleteErrorEvent.h
Source/WebCore/dom/BeforeLoadEvent.h
Source/WebCore/dom/BeforeTextInsertedEvent.h
Source/WebCore/dom/BeforeUnloadEvent.h
Source/WebCore/dom/CDATASection.h
Source/WebCore/dom/ChildListMutationScope.h
Source/WebCore/dom/ChildNodeList.h
Source/WebCore/dom/ClassCollection.h
Source/WebCore/dom/ClientRect.h
Source/WebCore/dom/ClientRectList.h
Source/WebCore/dom/ClipboardEvent.h
Source/WebCore/dom/Comment.h
Source/WebCore/dom/ComposedTreeAncestorIterator.h
Source/WebCore/dom/ComposedTreeIterator.h
Source/WebCore/dom/CompositionEvent.h
Source/WebCore/dom/ContainerNode.h
Source/WebCore/dom/ContainerNodeAlgorithms.h
Source/WebCore/dom/ContextDestructionObserver.h
Source/WebCore/dom/CurrentScriptIncrementer.h
Source/WebCore/dom/CustomEvent.h
Source/WebCore/dom/DOMCoreException.h
Source/WebCore/dom/DOMError.h
Source/WebCore/dom/DOMNamedFlowCollection.h
Source/WebCore/dom/DOMStringList.h
Source/WebCore/dom/DOMStringMap.h
Source/WebCore/dom/DOMTimeStamp.h
Source/WebCore/dom/DataTransfer.h
Source/WebCore/dom/DataTransferAccessPolicy.h
Source/WebCore/dom/DataTransferItem.h
Source/WebCore/dom/DecodedDataDocumentParser.h
Source/WebCore/dom/DeviceMotionClient.h
Source/WebCore/dom/DeviceMotionController.h
Source/WebCore/dom/DeviceMotionData.h
Source/WebCore/dom/DeviceMotionEvent.h
Source/WebCore/dom/DeviceOrientationClient.h
Source/WebCore/dom/DeviceOrientationController.h
Source/WebCore/dom/DeviceOrientationData.h
Source/WebCore/dom/DeviceOrientationEvent.h
Source/WebCore/dom/DocumentEventQueue.h
Source/WebCore/dom/DocumentMarker.h
Source/WebCore/dom/DocumentMarkerController.h
Source/WebCore/dom/DocumentOrderedMap.h
Source/WebCore/dom/DocumentParser.h
Source/WebCore/dom/DocumentSharedObjectPool.h
Source/WebCore/dom/DocumentTiming.h
Source/WebCore/dom/DocumentType.h
Source/WebCore/dom/ElementAncestorIterator.h
Source/WebCore/dom/ElementAndTextDescendantIterator.h
Source/WebCore/dom/ElementChildIterator.h
Source/WebCore/dom/ElementData.h
Source/WebCore/dom/ElementDescendantIterator.h
Source/WebCore/dom/ElementIterator.h
Source/WebCore/dom/ElementIteratorAssertions.h
Source/WebCore/dom/ElementRareData.h
Source/WebCore/dom/ElementTraversal.h
Source/WebCore/dom/ErrorEvent.h
Source/WebCore/dom/Event.h
Source/WebCore/dom/EventContext.h
Source/WebCore/dom/EventDispatcher.h
Source/WebCore/dom/EventListener.h
Source/WebCore/dom/EventNames.h
Source/WebCore/dom/EventPath.h
Source/WebCore/dom/EventQueue.h
Source/WebCore/dom/EventSender.h
Source/WebCore/dom/ExceptionBase.h
Source/WebCore/dom/ExceptionCodePlaceholder.h
Source/WebCore/dom/ExtensionStyleSheets.h
Source/WebCore/dom/FocusEvent.h
Source/WebCore/dom/FragmentScriptingPermission.h
Source/WebCore/dom/GenericEventQueue.h
Source/WebCore/dom/HashChangeEvent.h
Source/WebCore/dom/IdTargetObserver.h
Source/WebCore/dom/IdTargetObserverRegistry.h
Source/WebCore/dom/IgnoreDestructiveWriteCountIncrementer.h
Source/WebCore/dom/IgnoreOpensDuringUnloadCountIncrementer.h
Source/WebCore/dom/InlineStyleSheetOwner.h
Source/WebCore/dom/LiveNodeList.h
Source/WebCore/dom/MessageChannel.h
Source/WebCore/dom/MessagePortChannel.h
Source/WebCore/dom/Microtasks.h
Source/WebCore/dom/MutationCallback.h
Source/WebCore/dom/MutationObserver.h
Source/WebCore/dom/MutationObserverInterestGroup.h
Source/WebCore/dom/MutationObserverRegistration.h
Source/WebCore/dom/MutationRecord.h
Source/WebCore/dom/NameNodeList.h
Source/WebCore/dom/NamedFlowCollection.h
Source/WebCore/dom/NativeNodeFilter.h
Source/WebCore/dom/NoEventDispatchAssertion.h
Source/WebCore/dom/NodeFilter.h
Source/WebCore/dom/NodeList.h
Source/WebCore/dom/NodeRareData.h
Source/WebCore/dom/NodeRenderStyle.h
Source/WebCore/dom/NodeWithIndex.h
Source/WebCore/dom/OverflowEvent.h
Source/WebCore/dom/PageTransitionEvent.h
Source/WebCore/dom/Position.h
Source/WebCore/dom/PositionIterator.h
Source/WebCore/dom/ProcessingInstruction.h
Source/WebCore/dom/ProgressEvent.h
Source/WebCore/dom/PseudoElement.h
Source/WebCore/dom/QualifiedName.h
Source/WebCore/dom/RangeBoundaryPoint.h
Source/WebCore/dom/RawDataDocumentParser.h
Source/WebCore/dom/RegisteredEventListener.h
Source/WebCore/dom/RenderedDocumentMarker.h
Source/WebCore/dom/RequestAnimationFrameCallback.h
Source/WebCore/dom/ScopedEventQueue.h
Source/WebCore/dom/ScriptableDocumentParser.h
Source/WebCore/dom/ScriptedAnimationController.h
Source/WebCore/dom/SecurityContext.h
Source/WebCore/dom/SecurityOriginPolicy.h
Source/WebCore/dom/SecurityPolicyViolationEvent.h
Source/WebCore/dom/SelectorQuery.h
Source/WebCore/dom/SimulatedClick.h
Source/WebCore/dom/SimulatedClickOptions.h
Source/WebCore/dom/SlotAssignment.h
Source/WebCore/dom/SpaceSplitString.h
Source/WebCore/dom/StaticNodeList.h
Source/WebCore/dom/StringCallback.h
Source/WebCore/dom/StyledElement.h
Source/WebCore/dom/TagCollection.h
Source/WebCore/dom/TemplateContentDocumentFragment.h
Source/WebCore/dom/TextEventInputType.h
Source/WebCore/dom/TextNodeTraversal.h
Source/WebCore/dom/Touch.h
Source/WebCore/dom/TouchEvent.h
Source/WebCore/dom/TransformSource.h
Source/WebCore/dom/TransitionEvent.h
Source/WebCore/dom/TreeDepthLimit.h
Source/WebCore/dom/TreeScope.h
Source/WebCore/dom/TreeScopeAdopter.h
Source/WebCore/dom/TypedElementDescendantIterator.h
Source/WebCore/dom/UIEventWithKeyState.h
Source/WebCore/dom/UserActionElementSet.h
Source/WebCore/dom/UserTypingGestureIndicator.h
Source/WebCore/dom/ViewportArguments.h
Source/WebCore/dom/VisitedLinkState.h
Source/WebCore/dom/WebKitAnimationEvent.h
Source/WebCore/dom/WebKitNamedFlow.h
Source/WebCore/dom/WebKitTransitionEvent.h
Source/WebCore/dom/XMLDocument.h
Source/WebCore/dom/default/PlatformMessagePortChannel.h
Source/WebCore/html/Autocapitalize.h
Source/WebCore/html/Autofill.h
Source/WebCore/html/BaseButtonInputType.h
Source/WebCore/html/BaseCheckableInputType.h
Source/WebCore/html/BaseChooserOnlyDateAndTimeInputType.h
Source/WebCore/html/BaseClickableWithKeyInputType.h
Source/WebCore/html/BaseTextInputType.h
Source/WebCore/html/ButtonInputType.h
Source/WebCore/html/CachedHTMLCollection.h
Source/WebCore/html/CheckboxInputType.h
Source/WebCore/html/CollectionTraversal.h
Source/WebCore/html/CollectionType.h
Source/WebCore/html/ColorInputType.h
Source/WebCore/html/DOMFormData.h
Source/WebCore/html/DateInputType.h
Source/WebCore/html/DateTimeInputType.h
Source/WebCore/html/EmailInputType.h
Source/WebCore/html/FTPDirectoryDocument.h
Source/WebCore/html/FileInputType.h
Source/WebCore/html/FormAssociatedElement.h
Source/WebCore/html/FormController.h
Source/WebCore/html/FormDataList.h
Source/WebCore/html/FormNamedItem.h
Source/WebCore/html/GenericCachedHTMLCollection.h
Source/WebCore/html/HTMLAllCollection.h
Source/WebCore/html/HTMLAppletElement.h
Source/WebCore/html/HTMLAudioElement.h
Source/WebCore/html/HTMLBDIElement.h
Source/WebCore/html/HTMLBRElement.h
Source/WebCore/html/HTMLBodyElement.h
Source/WebCore/html/HTMLCollection.h
Source/WebCore/html/HTMLDListElement.h
Source/WebCore/html/HTMLDataElement.h
Source/WebCore/html/HTMLDataListElement.h
Source/WebCore/html/HTMLDetailsElement.h
Source/WebCore/html/HTMLDirectoryElement.h
Source/WebCore/html/HTMLDivElement.h
Source/WebCore/html/HTMLEmbedElement.h
Source/WebCore/html/HTMLFontElement.h
Source/WebCore/html/HTMLFormControlElementWithState.h
Source/WebCore/html/HTMLFormControlsCollection.h
Source/WebCore/html/HTMLFrameSetElement.h
Source/WebCore/html/HTMLHRElement.h
Source/WebCore/html/HTMLHeadElement.h
Source/WebCore/html/HTMLHeadingElement.h
Source/WebCore/html/HTMLHtmlElement.h
Source/WebCore/html/HTMLKeygenElement.h
Source/WebCore/html/HTMLLIElement.h
Source/WebCore/html/HTMLLegendElement.h
Source/WebCore/html/HTMLMediaElementEnums.h
Source/WebCore/html/HTMLMenuElement.h
Source/WebCore/html/HTMLMetaElement.h
Source/WebCore/html/HTMLMeterElement.h
Source/WebCore/html/HTMLModElement.h
Source/WebCore/html/HTMLNameCollection.h
Source/WebCore/html/HTMLObjectElement.h
Source/WebCore/html/HTMLOptGroupElement.h
Source/WebCore/html/HTMLOutputElement.h
Source/WebCore/html/HTMLParagraphElement.h
Source/WebCore/html/HTMLParamElement.h
Source/WebCore/html/HTMLPlugInElement.h
Source/WebCore/html/HTMLPlugInImageElement.h
Source/WebCore/html/HTMLPreElement.h
Source/WebCore/html/HTMLQuoteElement.h
Source/WebCore/html/HTMLSourceElement.h
Source/WebCore/html/HTMLSpanElement.h
Source/WebCore/html/HTMLSummaryElement.h
Source/WebCore/html/HTMLTableCaptionElement.h
Source/WebCore/html/HTMLTablePartElement.h
Source/WebCore/html/HTMLTableRowsCollection.h
Source/WebCore/html/HTMLTemplateElement.h
Source/WebCore/html/HTMLTimeElement.h
Source/WebCore/html/HTMLUListElement.h
Source/WebCore/html/HTMLUnknownElement.h
Source/WebCore/html/HiddenInputType.h
Source/WebCore/html/ImageDocument.h
Source/WebCore/html/ImageInputType.h
Source/WebCore/html/InputTypeNames.h
Source/WebCore/html/LabelsNodeList.h
Source/WebCore/html/MediaDocument.h
Source/WebCore/html/MediaElementSession.h
Source/WebCore/html/MediaError.h
Source/WebCore/html/MediaFragmentURIParser.h
Source/WebCore/html/MonthInputType.h
Source/WebCore/html/PasswordInputType.h
Source/WebCore/html/PluginDocument.h
Source/WebCore/html/PublicURLManager.h
Source/WebCore/html/RadioInputType.h
Source/WebCore/html/RadioNodeList.h
Source/WebCore/html/ResetInputType.h
Source/WebCore/html/RubyElement.h
Source/WebCore/html/RubyTextElement.h
Source/WebCore/html/SearchInputType.h
Source/WebCore/html/StepRange.h
Source/WebCore/html/SubmitInputType.h
Source/WebCore/html/TelephoneInputType.h
Source/WebCore/html/TextDocument.h
Source/WebCore/html/TextFieldInputType.h
Source/WebCore/html/TextInputType.h
Source/WebCore/html/TextMetrics.h
Source/WebCore/html/TimeInputType.h
Source/WebCore/html/TypeAhead.h
Source/WebCore/html/URLInputType.h
Source/WebCore/html/URLRegistry.h
Source/WebCore/html/ValidationMessage.h
Source/WebCore/html/ValidityState.h
Source/WebCore/html/VoidCallback.h
Source/WebCore/html/WebKitMediaKeyError.h
Source/WebCore/html/WeekInputType.h
Source/WebCore/html/canvas/ANGLEInstancedArrays.h
Source/WebCore/html/canvas/CanvasContextAttributes.h
Source/WebCore/html/canvas/CanvasProxy.h
Source/WebCore/html/canvas/CanvasRenderingContext.h
Source/WebCore/html/canvas/CanvasStyle.h
Source/WebCore/html/canvas/DOMPath.h
Source/WebCore/html/canvas/EXTBlendMinMax.h
Source/WebCore/html/canvas/EXTFragDepth.h
Source/WebCore/html/canvas/EXTShaderTextureLOD.h
Source/WebCore/html/canvas/EXTTextureFilterAnisotropic.h
Source/WebCore/html/canvas/EXTsRGB.h
Source/WebCore/html/canvas/OESElementIndexUint.h
Source/WebCore/html/canvas/OESStandardDerivatives.h
Source/WebCore/html/canvas/OESTextureFloat.h
Source/WebCore/html/canvas/OESTextureFloatLinear.h
Source/WebCore/html/canvas/OESTextureHalfFloat.h
Source/WebCore/html/canvas/OESTextureHalfFloatLinear.h
Source/WebCore/html/canvas/WebGLActiveInfo.h
Source/WebCore/html/canvas/WebGLBuffer.h
Source/WebCore/html/canvas/WebGLCompressedTextureATC.h
Source/WebCore/html/canvas/WebGLCompressedTexturePVRTC.h
Source/WebCore/html/canvas/WebGLCompressedTextureS3TC.h
Source/WebCore/html/canvas/WebGLContextAttributes.h
Source/WebCore/html/canvas/WebGLContextEvent.h
Source/WebCore/html/canvas/WebGLContextGroup.h
Source/WebCore/html/canvas/WebGLContextObject.h
Source/WebCore/html/canvas/WebGLDebugRendererInfo.h
Source/WebCore/html/canvas/WebGLDebugShaders.h
Source/WebCore/html/canvas/WebGLDepthTexture.h
Source/WebCore/html/canvas/WebGLDrawBuffers.h
Source/WebCore/html/canvas/WebGLExtension.h
Source/WebCore/html/canvas/WebGLFramebuffer.h
Source/WebCore/html/canvas/WebGLGetInfo.h
Source/WebCore/html/canvas/WebGLLoseContext.h
Source/WebCore/html/canvas/WebGLObject.h
Source/WebCore/html/canvas/WebGLProgram.h
Source/WebCore/html/canvas/WebGLQuery.h
Source/WebCore/html/canvas/WebGLRenderbuffer.h
Source/WebCore/html/canvas/WebGLSampler.h
Source/WebCore/html/canvas/WebGLShader.h
Source/WebCore/html/canvas/WebGLShaderPrecisionFormat.h
Source/WebCore/html/canvas/WebGLSharedObject.h
Source/WebCore/html/canvas/WebGLSync.h
Source/WebCore/html/canvas/WebGLTexture.h
Source/WebCore/html/canvas/WebGLTransformFeedback.h
Source/WebCore/html/canvas/WebGLUniformLocation.h
Source/WebCore/html/canvas/WebGLVertexArrayObject.h
Source/WebCore/html/canvas/WebGLVertexArrayObjectBase.h
Source/WebCore/html/canvas/WebGLVertexArrayObjectOES.h
Source/WebCore/html/forms/FileIconLoader.h
Source/WebCore/html/parser/AtomicHTMLToken.h
Source/WebCore/html/parser/CSSPreloadScanner.h
Source/WebCore/html/parser/HTMLConstructionSite.h
Source/WebCore/html/parser/HTMLDocumentParser.h
Source/WebCore/html/parser/HTMLElementStack.h
Source/WebCore/html/parser/HTMLEntityParser.h
Source/WebCore/html/parser/HTMLEntitySearch.h
Source/WebCore/html/parser/HTMLEntityTable.h
Source/WebCore/html/parser/HTMLFormattingElementList.h
Source/WebCore/html/parser/HTMLInputStream.h
Source/WebCore/html/parser/HTMLMetaCharsetParser.h
Source/WebCore/html/parser/HTMLParserIdioms.h
Source/WebCore/html/parser/HTMLParserOptions.h
Source/WebCore/html/parser/HTMLParserScheduler.h
Source/WebCore/html/parser/HTMLPreloadScanner.h
Source/WebCore/html/parser/HTMLResourcePreloader.h
Source/WebCore/html/parser/HTMLScriptRunner.h
Source/WebCore/html/parser/HTMLScriptRunnerHost.h
Source/WebCore/html/parser/HTMLSourceTracker.h
Source/WebCore/html/parser/HTMLSrcsetParser.h
Source/WebCore/html/parser/HTMLStackItem.h
Source/WebCore/html/parser/HTMLToken.h
Source/WebCore/html/parser/HTMLTokenizer.h
Source/WebCore/html/parser/HTMLTreeBuilder.h
Source/WebCore/html/parser/InputStreamPreprocessor.h
Source/WebCore/html/parser/NestingLevelIncrementer.h
Source/WebCore/html/parser/ParsingUtilities.h
Source/WebCore/html/parser/TextDocumentParser.h
Source/WebCore/html/parser/XSSAuditor.h
Source/WebCore/html/parser/XSSAuditorDelegate.h
Source/WebCore/html/shadow/AutoFillButtonElement.h
Source/WebCore/html/shadow/DetailsMarkerControl.h
Source/WebCore/html/shadow/ImageControlsRootElement.h
Source/WebCore/html/shadow/MediaControlElementTypes.h
Source/WebCore/html/shadow/MediaControlElements.h
Source/WebCore/html/shadow/MediaControls.h
Source/WebCore/html/shadow/MediaControlsApple.h
Source/WebCore/html/shadow/ProgressShadowElement.h
Source/WebCore/html/shadow/SliderThumbElement.h
Source/WebCore/html/shadow/SpinButtonElement.h
Source/WebCore/html/shadow/TextControlInnerElements.h
Source/WebCore/html/shadow/YouTubeEmbedShadowElement.h
Source/WebCore/html/shadow/mac/ImageControlsButtonElementMac.h
Source/WebCore/html/shadow/mac/ImageControlsRootElementMac.h
Source/WebCore/html/track/AudioTrackList.h
Source/WebCore/html/track/BufferedLineReader.h
Source/WebCore/html/track/InbandWebVTTTextTrack.h
Source/WebCore/html/track/TextTrackCueList.h
Source/WebCore/html/track/TextTrackList.h
Source/WebCore/html/track/TrackEvent.h
Source/WebCore/html/track/TrackListBase.h
Source/WebCore/html/track/VTTRegionList.h
Source/WebCore/html/track/VTTScanner.h
Source/WebCore/html/track/VideoTrackList.h
Source/WebCore/html/track/WebVTTElement.h
Source/WebCore/html/track/WebVTTParser.h
Source/WebCore/html/track/WebVTTToken.h
Source/WebCore/html/track/WebVTTTokenizer.h
Source/WebCore/page/AdjustViewSizeOrNot.h
Source/WebCore/page/AlternativeTextClient.h
Source/WebCore/page/AutoscrollController.h
Source/WebCore/page/BarProp.h
Source/WebCore/page/CaptionUserPreferencesMediaAF.h
Source/WebCore/page/Chrome.h
Source/WebCore/page/ChromeClient.h
Source/WebCore/page/ContextMenuClient.h
Source/WebCore/page/ContextMenuContext.h
Source/WebCore/page/ContextMenuController.h
Source/WebCore/page/ContextMenuProvider.h
Source/WebCore/page/DOMTimer.h
Source/WebCore/page/DOMWindowExtension.h
Source/WebCore/page/DOMWindowProperty.h
Source/WebCore/page/DatabaseProvider.h
Source/WebCore/page/DebugPageOverlays.h
Source/WebCore/page/DeviceClient.h
Source/WebCore/page/DeviceController.h
Source/WebCore/page/DiagnosticLoggingClient.h
Source/WebCore/page/DiagnosticLoggingKeys.h
Source/WebCore/page/DiagnosticLoggingResultType.h
Source/WebCore/page/DragActions.h
Source/WebCore/page/DragClient.h
Source/WebCore/page/DragController.h
Source/WebCore/page/DragState.h
Source/WebCore/page/EventHandler.h
Source/WebCore/page/FocusController.h
Source/WebCore/page/FocusDirection.h
Source/WebCore/page/Frame.h
Source/WebCore/page/FrameDestructionObserver.h
Source/WebCore/page/FrameSnapshotting.h
Source/WebCore/page/FrameTree.h
Source/WebCore/page/LayerFlushThrottleState.h
Source/WebCore/page/LayoutMilestones.h
Source/WebCore/page/MainFrame.h
Source/WebCore/page/MediaCanStartListener.h
Source/WebCore/page/MediaProducer.h
Source/WebCore/page/MouseEventWithHitTestResults.h
Source/WebCore/page/OriginAccessEntry.h
Source/WebCore/page/PageConsoleClient.h
Source/WebCore/page/PageDebuggable.h
Source/WebCore/page/PageGroup.h
Source/WebCore/page/PageGroupLoadDeferrer.h
Source/WebCore/page/PageOverlay.h
Source/WebCore/page/PageOverlayController.h
Source/WebCore/page/PageSerializer.h
Source/WebCore/page/PageThrottler.h
Source/WebCore/page/PageVisibilityState.h
Source/WebCore/page/PerformanceEntry.h
Source/WebCore/page/PerformanceMark.h
Source/WebCore/page/PerformanceMeasure.h
Source/WebCore/page/PerformanceNavigation.h
Source/WebCore/page/PerformanceResourceTiming.h
Source/WebCore/page/PerformanceTiming.h
Source/WebCore/page/PlugInClient.h
Source/WebCore/page/PointerLockController.h
Source/WebCore/page/PopupOpeningObserver.h
Source/WebCore/page/PrintContext.h
Source/WebCore/page/ResourceUsageData.h
Source/WebCore/page/ResourceUsageOverlay.h
Source/WebCore/page/ResourceUsageThread.h
Source/WebCore/page/Screen.h
Source/WebCore/page/SecurityOriginData.h
Source/WebCore/page/SessionID.h
Source/WebCore/page/SpatialNavigation.h
Source/WebCore/page/SuspendableTimer.h
Source/WebCore/page/TextIndicator.h
Source/WebCore/page/UserContentController.h
Source/WebCore/page/UserContentProvider.h
Source/WebCore/page/UserContentTypes.h
Source/WebCore/page/UserContentURLPattern.h
Source/WebCore/page/UserMessageHandlerDescriptor.h
Source/WebCore/page/UserMessageHandlerDescriptorTypes.h
Source/WebCore/page/UserMessageHandlersNamespace.h
Source/WebCore/page/UserScript.h
Source/WebCore/page/UserScriptTypes.h
Source/WebCore/page/UserStyleSheet.h
Source/WebCore/page/UserStyleSheetTypes.h
Source/WebCore/page/ValidationMessageClient.h
Source/WebCore/page/ViewState.h
Source/WebCore/page/ViewStateChangeObserver.h
Source/WebCore/page/ViewportConfiguration.h
Source/WebCore/page/VisitedLinkStore.h
Source/WebCore/page/WebCoreKeyboardUIMode.h
Source/WebCore/page/WebKitNamespace.h
Source/WebCore/page/WebKitPoint.h
Source/WebCore/page/WheelEventDeltaFilter.h
Source/WebCore/page/ios/WebEventRegion.h
Source/WebCore/page/mac/ServicesOverlayController.h
Source/WebCore/page/mac/TextIndicatorWindow.h
Source/WebCore/page/mac/WheelEventDeltaFilterMac.h
Source/WebCore/page/scrolling/AsyncScrollingCoordinator.h
Source/WebCore/page/scrolling/AxisScrollSnapOffsets.h
Source/WebCore/page/scrolling/ScrollLatchingState.h
Source/WebCore/page/scrolling/ScrollingConstraints.h
Source/WebCore/page/scrolling/ScrollingCoordinator.h
Source/WebCore/page/scrolling/ScrollingStateFixedNode.h
Source/WebCore/page/scrolling/ScrollingStateFrameScrollingNode.h
Source/WebCore/page/scrolling/ScrollingStateNode.h
Source/WebCore/page/scrolling/ScrollingStateOverflowScrollingNode.h
Source/WebCore/page/scrolling/ScrollingStateScrollingNode.h
Source/WebCore/page/scrolling/ScrollingStateStickyNode.h
Source/WebCore/page/scrolling/ScrollingStateTree.h
Source/WebCore/page/scrolling/ScrollingThread.h
Source/WebCore/page/scrolling/ScrollingTree.h
Source/WebCore/page/scrolling/ScrollingTreeFrameScrollingNode.h
Source/WebCore/page/scrolling/ScrollingTreeNode.h
Source/WebCore/page/scrolling/ScrollingTreeOverflowScrollingNode.h
Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.h
Source/WebCore/page/scrolling/ThreadedScrollingTree.h
Source/WebCore/page/scrolling/coordinatedgraphics/ScrollingCoordinatorCoordinatedGraphics.h
Source/WebCore/page/scrolling/ios/ScrollingCoordinatorIOS.h
Source/WebCore/page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.h
Source/WebCore/page/scrolling/ios/ScrollingTreeIOS.h
Source/WebCore/page/scrolling/mac/ScrollingCoordinatorMac.h
Source/WebCore/page/scrolling/mac/ScrollingTreeFixedNode.h
Source/WebCore/page/scrolling/mac/ScrollingTreeFrameScrollingNodeMac.h
Source/WebCore/page/scrolling/mac/ScrollingTreeMac.h
Source/WebCore/page/scrolling/mac/ScrollingTreeStickyNode.h
Source/WebCore/page/win/FrameWin.h
Source/WebKit/win/ChangeLog
Source/WebKit/win/WebCoreSupport/WebContextMenuClient.cpp
Source/WebKit/win/WebCoreSupport/WebContextMenuClient.h

index bb18eabb3604452f01a4038dc2e021af14678818..deb42a02009ab61208ebd5b24ffbc9d80daaabc9 100644 (file)
@@ -1,3 +1,28 @@
+2016-10-31  Joseph Pecoraro  <pecoraro@apple.com>
+
+        Use #pragma once in WebCore
+        https://bugs.webkit.org/show_bug.cgi?id=164194
+
+        Rubber-stamped by Sam Weinig.
+
+        * accessibility/*.h:
+        * bindings/*.h:
+        * contentextensions/*.h:
+        * dom/*.h:
+        * html/*.h:
+        * page/*.h:
+        Use #pragma once in headers.
+
+        * html/parser/ParsingUtilities.h:
+        Add missing namespace.
+
+        * html/track/VTTScanner.h:
+        (WebCore::VTTScanner::skipWhile):
+        (WebCore::VTTScanner::skipUntil):
+        (WebCore::VTTScanner::collectWhile):
+        (WebCore::VTTScanner::collectUntil):
+        Include namespace.
+
 2016-10-31  Antoine Quint  <graouts@apple.com>
 
         [Modern Media Controls] Media Controller: Airplay support
index a1e9d173c79cbf4b45f7c69751a54ab3c350a1bb..f443cc6964a1ea6e86e079874eb58f694d103023 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AXObjectCache_h
-#define AXObjectCache_h
+#pragma once
 
 #include "AXTextStateChangeIntent.h"
 #include "AccessibilityObject.h"
@@ -520,6 +519,4 @@ inline AXAttributeCacheEnabler::~AXAttributeCacheEnabler() { }
 
 #endif
 
-}
-
-#endif
+} // namespace WebCore
index 389dd9aa782f0cecd3458d83f7c6511bede61c68..1feccce2e5ae23f300ba844b30e511dce887a9c2 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AXTextStateChangeIntent_h
-#define AXTextStateChangeIntent_h
+#pragma once
 
 namespace WebCore {
     
@@ -92,6 +91,4 @@ struct AXTextStateChangeIntent {
     { }
 };
 
-}
-
-#endif // AXTextStateChangeIntent_h
+} // namespace WebCore
index 7591111fe098a9f2443d6fd30cfe0edb61056055..33232d66a49caa5675a5d36e2a76d00f2c0cce20 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityARIAGrid_h
-#define AccessibilityARIAGrid_h
+#pragma once
 
 #include "AccessibilityTable.h"
 #include <wtf/Forward.h>
@@ -58,5 +57,3 @@ private:
 };
 
 } // namespace WebCore 
-
-#endif // AccessibilityARIAGrid_h
index bd4dd331a90cdf2821c66f284fdae889c0e4e053..ef226007ac36ff2a92f0f325be106346785e523c 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityARIAGridCell_h
-#define AccessibilityARIAGridCell_h
+#pragma once
 
 #include "AccessibilityTableCell.h"
 
@@ -52,5 +51,3 @@ private:
 }; 
     
 } // namespace WebCore 
-
-#endif // AccessibilityARIAGridCell_h
index 4436c803868948d653a77d524fcb7a991677f4df..7ba74f4dd23171fe5b482b6fe780a2ff7869d886 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityARIAGridRow_h
-#define AccessibilityARIAGridRow_h
+#pragma once
 
 #include "AccessibilityTableRow.h"
 
@@ -56,5 +55,3 @@ private:
 } // namespace WebCore 
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityARIAGridRow, isARIATreeGridRow())
-
-#endif // AccessibilityARIAGridRow_h
index 30a7c68a9f4de275b61dea591cce944107eab94b..2b657737c919e8034e2127094d615af461c6ea03 100644 (file)
@@ -24,8 +24,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityAttachment_h
-#define AccessibilityAttachment_h
+#pragma once
 
 #if ENABLE(ATTACHMENT_ELEMENT)
 
@@ -58,5 +57,3 @@ private:
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityAttachment, isAttachmentElement())
 
 #endif // ENABLE(ATTACHMENT_ELEMENT)
-
-#endif // AccessibilityAttachment_h
index 0dd527ce23f3e4ee26052b26761f8eea1cd8fa50..d74e30cff47bd3da2a84d02205715ef8bcdb2a29 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityImageMapLink_h
-#define AccessibilityImageMapLink_h
+#pragma once
 
 #include "AccessibilityMockObject.h"
 #include "HTMLAreaElement.h"
@@ -82,5 +81,3 @@ private:
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityImageMapLink, isImageMapLink())
-
-#endif // AccessibilityImageMapLink_h
index f0306ecd0b609ec2a040604ea907e022bf870ac2..ed75f66c4353d57523c21f11f773003c68d883cf 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityLabel_h
-#define AccessibilityLabel_h
+#pragma once
 
 #include "AccessibilityRenderObject.h"
 
@@ -56,5 +55,3 @@ private:
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityLabel, isLabel())
-
-#endif // AccessibilityLabel_h
index ed1ce75cb0f9db89e383bceaaf12e0c14ca33bf6..908979f4a0cdc6c26c6891f2b0da7ef90c2fd93e 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityList_h
-#define AccessibilityList_h
+#pragma once
 
 #include "AccessibilityRenderObject.h"
 
@@ -55,5 +54,3 @@ private:
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityList, isList())
-
-#endif // AccessibilityList_h
index 82919d0f7c16b82ac5f28afa9adfe3be794b2922..2e5f0235015d87ae2118a88a8e4c57e00f6e368a 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityListBox_h
-#define AccessibilityListBox_h
+#pragma once
 
 #include "AccessibilityRenderObject.h"
 
@@ -58,5 +57,3 @@ private:
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityListBox, isListBox())
-
-#endif // AccessibilityListBox_h
index 3d3649e15848b62513122e8630ee1532ec4ade2c..9d3ecd2e5f58c126f3509e2e95a988bd38e78eb8 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityListBoxOption_h
-#define AccessibilityListBoxOption_h
+#pragma once
 
 #include "AccessibilityObject.h"
 #include "HTMLElement.h"
@@ -37,7 +36,6 @@ namespace WebCore {
 
 class AccessibilityListBox;
 class Element;
-class HTMLElement;
 class HTMLSelectElement;
     
 class AccessibilityListBoxOption final : public AccessibilityObject {
@@ -77,5 +75,3 @@ private:
 } // namespace WebCore 
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityListBoxOption, isListBoxOption())
-
-#endif // AccessibilityListBoxOption_h
index 72a6958ba8b5ace45fc204ec65df1c09792f0882..580b859cbc1d0c67335e2b5049427664bed1167a 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityMathMLElement_h
-#define AccessibilityMathMLElement_h
+#pragma once
 
 #if ENABLE(MATHML)
 
 #include "AccessibilityRenderObject.h"
-
 #include "RenderMathMLBlock.h"
 #include "RenderMathMLFraction.h"
 #include "RenderMathMLMath.h"
@@ -110,10 +108,8 @@ private:
     bool m_isAnonymousOperator;
 };
 
-
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityMathMLElement, isMathElement())
 
 #endif // ENABLE(MATHML)
-#endif // AccessibilityMathMLElement_h
index d8c32f837d35e4f1224e24ad3e592f555956b1f8..07ff9cb332f618cee19b8a047a1cfd91a6d0ebc2 100644 (file)
@@ -26,9 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-
-#ifndef AccessibilityMediaControls_h
-#define AccessibilityMediaControls_h
+#pragma once
 
 #if ENABLE(VIDEO)
 
@@ -38,7 +36,6 @@
 namespace WebCore {
 
 class AccessibilityMediaControl : public AccessibilityRenderObject {
-
 public:
     static Ref<AccessibilityObject> create(RenderObject*);
     virtual ~AccessibilityMediaControl() { }
@@ -61,7 +58,6 @@ private:
 
 
 class AccessibilityMediaTimeline final : public AccessibilitySlider {
-
 public:
     static Ref<AccessibilityObject> create(RenderObject*);
     virtual ~AccessibilityMediaTimeline() { }
@@ -78,7 +74,6 @@ private:
 
 
 class AccessibilityMediaControlsContainer final : public AccessibilityMediaControl {
-
 public:
     static Ref<AccessibilityObject> create(RenderObject*);
     virtual ~AccessibilityMediaControlsContainer() { }
@@ -97,7 +92,6 @@ private:
 
 
 class AccessibilityMediaTimeDisplay final : public AccessibilityMediaControl {
-
 public:
     static Ref<AccessibilityObject> create(RenderObject*);
     virtual ~AccessibilityMediaTimeDisplay() { }
@@ -113,9 +107,6 @@ private:
     bool computeAccessibilityIsIgnored() const override;
 };
 
-
 } // namespace WebCore
 
 #endif // ENABLE(VIDEO)
-
-#endif // AccessibilityMediaControls_h
index b5c67da7ff48bd7748c12ddf06c4c330c1391199..8f1123d34cbc84209344772386aaa49611989460 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#ifndef AccessibilityMenuList_h
-#define AccessibilityMenuList_h
+#pragma once
 
 #include "AccessibilityRenderObject.h"
 
@@ -55,5 +54,3 @@ private:
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityMenuList, isMenuList())
-
-#endif // AccessibilityMenuList_h
index acd269ad684edbad1194238bb487f61bbe20c239..4111e07b9b4f0362c9ea247ee2a8d973f9d64944 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#ifndef AccessibilityMenuListOption_h
-#define AccessibilityMenuListOption_h
+#pragma once
 
 #include "AccessibilityMockObject.h"
 
@@ -64,5 +63,3 @@ private:
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityMenuListOption, isMenuListOption())
-
-#endif // AccessibilityMenuListOption_h
index e3a25ba78d4a86c09bae0bdfd2b8d588c8529fb7..c1987cd3a73e2aabca75b17e5675b1c48dc778c0 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#ifndef AccessibilityMenuListPopup_h
-#define AccessibilityMenuListPopup_h
+#pragma once
 
 #include "AccessibilityMockObject.h"
 
@@ -63,5 +62,3 @@ private:
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityMenuListPopup, isMenuListPopup())
-
-#endif // AccessibilityMenuListPopup_h
index 1396626fa4b08cb24bf981d76baf6741dca70faa..668f889d4a3af2ba212b273570cb533477369156 100644 (file)
@@ -23,8 +23,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityMockObject_h
-#define AccessibilityMockObject_h
+#pragma once
 
 #include "AccessibilityObject.h"
 
@@ -57,5 +56,3 @@ private:
 } // namespace WebCore 
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityMockObject, isMockObject())
-
-#endif // AccessibilityMockObject_h
index 9cf46211155fbff9dc23b72fef7275352fc534a1..37d6eb01f40fec0b1daf5e4523ec920b666b2d0a 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityNodeObject_h
-#define AccessibilityNodeObject_h
+#pragma once
 
 #include "AccessibilityObject.h"
 #include "LayoutRect.h"
@@ -200,5 +199,3 @@ private:
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityNodeObject, isAccessibilityNodeObject())
-
-#endif // AccessibilityNodeObject_h
index 0a520d98f167ee5eb5e5f3c5f1e68c53182085b1..371cd23fbb86051be0eb4a4fc6d8720bca9d480a 100644 (file)
@@ -27,8 +27,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityObject_h
-#define AccessibilityObject_h
+#pragma once
 
 #include "FloatQuad.h"
 #include "HTMLTextFormControlElement.h"
@@ -1120,5 +1119,3 @@ inline void AccessibilityObject::updateBackingStore() { }
 SPECIALIZE_TYPE_TRAITS_BEGIN(WebCore::ToValueTypeName) \
     static bool isType(const WebCore::AccessibilityObject& object) { return object.predicate; } \
 SPECIALIZE_TYPE_TRAITS_END()
-
-#endif // AccessibilityObject_h
index d8f600d31dc91f56f6a9024d2edbf31550870d2a..3f5cfe05451c9f910d2dce854d4da9acd3d058f2 100644 (file)
@@ -18,8 +18,7 @@
  *
  */
 
-#ifndef AccessibilityProgressIndicator_h
-#define AccessibilityProgressIndicator_h
+#pragma once
 
 #include "AccessibilityRenderObject.h"
 
@@ -63,9 +62,6 @@ private:
     bool computeAccessibilityIsIgnored() const override;
 };
 
-
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityProgressIndicator, isProgressIndicator())
-
-#endif // AccessibilityProgressIndicator_h
index 0df2d892c118c5dafeae4d7acf4317abb5a239c0..196eaa8cf7ed678d924e6f6356af3ec8baa82531 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityRenderObject_h
-#define AccessibilityRenderObject_h
+#pragma once
 
 #include "AccessibilityNodeObject.h"
 #include "LayoutRect.h"
@@ -284,5 +283,3 @@ private:
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityRenderObject, isAccessibilityRenderObject())
-
-#endif // AccessibilityRenderObject_h
index ab453d0f7069fa743772e4974f376a971c6a8131..0d1d28ff1e8737a550f2b2736cbd2dc5055d0242 100644 (file)
@@ -25,8 +25,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilitySVGElement_h
-#define AccessibilitySVGElement_h
+#pragma once
 
 #include "AccessibilityRenderObject.h"
 
@@ -58,9 +57,6 @@ private:
     Element* childElementWithMatchingLanguage(ChildrenType&) const;
 };
 
-
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilitySVGElement, isAccessibilitySVGElement())
-
-#endif // AccessibilitySVGElement_h
index fcbaa8d7db54c24cf06c16f8c9dcb0fe571981d4..7511c81c722abac977a7acd0bea3ee6390142955 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilitySVGRoot_h
-#define AccessibilitySVGRoot_h
+#pragma once
 
 #include "AccessibilitySVGElement.h"
 
@@ -53,5 +52,3 @@ private:
 } // namespace WebCore 
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilitySVGRoot, isAccessibilitySVGRoot())
-
-#endif // AccessibilitySVGRoot_h
index 26723548882d357aa8466348f9593bf598259dc5..0d76f664a23c38cf6edfffb06cc5f2abf20af85b 100644 (file)
@@ -23,8 +23,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityScrollView_h
-#define AccessibilityScrollView_h
+#pragma once
 
 #include "AccessibilityObject.h"
 
@@ -86,5 +85,3 @@ private:
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityScrollView, isAccessibilityScrollView())
-
-#endif // AccessibilityScrollView_h
index 76c6587349a05efb397295e0140bfdc7d79a6c1a..3cc431a0d35da0e8ccff77378b45cde36a90c294 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
  
-#ifndef AccessibilityScrollbar_h
-#define AccessibilityScrollbar_h
+#pragma once
 
 #include "AccessibilityMockObject.h"
 
@@ -65,5 +64,3 @@ private:
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityScrollbar, isAccessibilityScrollbar())
-
-#endif // AccessibilityScrollbar_h
index 49cb65e9767949156907278e31e352438b8025c8..4b20f793965a6a36e1950d79ca65f247f705aaac 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilitySlider_h
-#define AccessibilitySlider_h
+#pragma once
 
 #include "AccessibilityMockObject.h"
 #include "AccessibilityRenderObject.h"
@@ -83,5 +82,3 @@ private:
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilitySliderThumb, isSliderThumb())
-
-#endif // AccessibilitySlider_h
index 7be89f2323c1ddb58010f8c152ecadb3a5e46493..bc043be856c0eb288ee5fe77f398229e8969913c 100644 (file)
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilitySpinButton_h
-#define AccessibilitySpinButton_h
+#pragma once
 
 #include "AccessibilityMockObject.h"
-
 #include "SpinButtonElement.h"
 
 namespace WebCore {
@@ -79,5 +77,3 @@ private:
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilitySpinButton, isNativeSpinButton())
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilitySpinButtonPart, isSpinButtonPart())
-
-#endif // AccessibilitySpinButton_h
index 21c65b0b7ce8a7394e5b14e0c384ac510d544557..8511b8ecdef040f6e5842aedb3771dad3b465e66 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityTable_h
-#define AccessibilityTable_h
+#pragma once
 
 #include "AccessibilityRenderObject.h"
 #include <wtf/Forward.h>
@@ -107,5 +106,3 @@ private:
 } // namespace WebCore 
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityTable, isTable())
-
-#endif // AccessibilityTable_h
index 4a64395a1eba3f6f6593303b72c8363b41525855..78be9e254440a01d38bfd5c9d630f9f0a7e08e1a 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityTableCell_h
-#define AccessibilityTableCell_h
+#pragma once
 
 #include "AccessibilityRenderObject.h"
 
@@ -85,5 +84,3 @@ private:
 } // namespace WebCore 
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityTableCell, isTableCell())
-
-#endif // AccessibilityTableCell_h
index 99d158dad32cdbc0ca2cbcb4cab6bd1d7b50bae6..6b27f907cbf15472f76298acc71ca83d6b01ae44 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityTableColumn_h
-#define AccessibilityTableColumn_h
+#pragma once
 
 #include "AccessibilityMockObject.h"
 #include "AccessibilityTable.h"
@@ -67,5 +66,3 @@ private:
 } // namespace WebCore 
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityTableColumn, isTableColumn())
-
-#endif // AccessibilityTableColumn_h
index c96ca6769b5836ad18feedb466d2f7b342caa265..16da83919e9869f7370dc3b0adceba810cdbc60a 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityTableHeaderContainer_h
-#define AccessibilityTableHeaderContainer_h
+#pragma once
 
 #include "AccessibilityMockObject.h"
 #include "AccessibilityTable.h"
@@ -55,5 +54,3 @@ private:
 }; 
     
 } // namespace WebCore 
-
-#endif // AccessibilityTableHeaderContainer_h
index d760d644315b20a059837f4372e47e2d8d96d05b..ed6de91cd699b6aebbe472f25704d8dab2b98a3e 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityTableRow_h
-#define AccessibilityTableRow_h
+#pragma once
 
 #include "AccessibilityRenderObject.h"
 
@@ -72,5 +71,3 @@ private:
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityTableRow, isTableRow())
-
-#endif // AccessibilityTableRow_h
index ddc1a56fb918ab389097cf9d2f93c19bc173dd7b..35c7f14f7ccb45df3e306a45f63e499bfe5e3e3a 100644 (file)
@@ -27,8 +27,7 @@
  */
 
 
-#ifndef AccessibilityTree_h
-#define AccessibilityTree_h
+#pragma once
 
 #include "AccessibilityRenderObject.h"
 
@@ -50,5 +49,3 @@ private:
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityTree, isTree())
-
-#endif // AccessibilityTree_h
index d8c4efd1c9fd75e2cb92e37cb80c841189d88136..94038589a6141cc10c68276cc4c36f7df093f487 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityTreeItem_h
-#define AccessibilityTreeItem_h
+#pragma once
 
 #include "AccessibilityRenderObject.h"
 
@@ -49,5 +48,3 @@ private:
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_ACCESSIBILITY(AccessibilityTreeItem, isTreeItem())
-
-#endif // AccessibilityTreeItem_h
index 59ca73cea703469b924e29728e9d8a3f06fab879..0533156e7d1c18fc45d2bec4875c4aa9e9c1d801 100644 (file)
@@ -17,8 +17,7 @@
  * Boston, MA 02110-1301, USA.
  */
 
-#ifndef WebKitAccessibleHyperlink_h
-#define WebKitAccessibleHyperlink_h
+#pragma once
 
 #if HAVE(ACCESSIBILITY)
 
@@ -60,6 +59,4 @@ WebCore::AccessibilityObject* webkitAccessibleHyperlinkGetAccessibilityObject(We
 
 G_END_DECLS
 
-#endif // WebKitAccessibleHyperlink_h
-
-#endif
+#endif // HAVE(ACCESSIBILITY)
index a0de63fd75c45d9cf82bab5281713829070489c6..5cd75287b27a60fcb685f82b24003e1b06ac2f4f 100644 (file)
@@ -19,8 +19,7 @@
  * Boston, MA 02110-1301, USA.
  */
 
-#ifndef WebKitAccessibleInterfaceAction_h
-#define WebKitAccessibleInterfaceAction_h
+#pragma once
 
 #if HAVE(ACCESSIBILITY)
 
@@ -28,6 +27,4 @@
 
 void webkitAccessibleActionInterfaceInit(AtkActionIface*);
 
-#endif
-
-#endif // WebKitAccessibleInterfaceAction_h
+#endif // HAVE(ACCESSIBILITY)
index 4ccfd97a4b909bd39466e00d96b1f0367f982c4b..209d51e7e259808c0f961ae94e6d9c4512bd94aa 100644 (file)
@@ -19,8 +19,7 @@
  * Boston, MA 02110-1301, USA.
  */
 
-#ifndef WebKitAccessibleInterfaceComponent_h
-#define WebKitAccessibleInterfaceComponent_h
+#pragma once
 
 #if HAVE(ACCESSIBILITY)
 
@@ -28,6 +27,4 @@
 
 void webkitAccessibleComponentInterfaceInit(AtkComponentIface*);
 
-#endif
-
-#endif // WebKitAccessibleInterfaceComponent_h
+#endif // HAVE(ACCESSIBILITY)
index 5ee9469628df2f81ae4c80ec6ab30d8281c1af84..6fab32ada69ecfc7d80ad6ce32b187df9990aae8 100644 (file)
@@ -19,8 +19,7 @@
  * Boston, MA 02110-1301, USA.
  */
 
-#ifndef WebKitAccessibleInterfaceDocument_h
-#define WebKitAccessibleInterfaceDocument_h
+#pragma once
 
 #if HAVE(ACCESSIBILITY)
 
@@ -28,5 +27,4 @@
 
 void webkitAccessibleDocumentInterfaceInit(AtkDocumentIface*);
 
-#endif
-#endif // WebKitAccessibleInterfaceDocument_h
+#endif // HAVE(ACCESSIBILITY)
index da766913052a7ce22b55b4d1903fadc13120c227..6414e2d881bba4051a6762c43394bc5f6800836f 100644 (file)
@@ -19,8 +19,7 @@
  * Boston, MA 02110-1301, USA.
  */
 
-#ifndef WebKitAccessibleInterfaceEditableText_h
-#define WebKitAccessibleInterfaceEditableText_h
+#pragma once
 
 #if HAVE(ACCESSIBILITY)
 
@@ -28,5 +27,4 @@
 
 void webkitAccessibleEditableTextInterfaceInit(AtkEditableTextIface*);
 
-#endif
-#endif // WebKitAccessibleInterfaceEditableText_h
+#endif // HAVE(ACCESSIBILITY)
index 56a8c67aca004822710a640ba56fc34ba8430066..c9eebac5b4ea16d71e6afee0d8807aa6056bd30a 100644 (file)
@@ -17,8 +17,7 @@
  * Boston, MA 02110-1301, USA.
  */
 
-#ifndef WebKitAccessibleInterfaceHyperlinkImpl_h
-#define WebKitAccessibleInterfaceHyperlinkImpl_h
+#pragma once
 
 #if HAVE(ACCESSIBILITY)
 
@@ -26,5 +25,4 @@
 
 void webkitAccessibleHyperlinkImplInterfaceInit(AtkHyperlinkImplIface*);
 
-#endif
-#endif // WebKitAccessibleInterfaceHyperlinkImpl_h
+#endif // HAVE(ACCESSIBILITY)
index 7a3a0892ac0bafefde6a2ae29de6520ae9525f67..da163af23712263963915f4e9f80a6d58efda46b 100644 (file)
@@ -17,8 +17,7 @@
  * Boston, MA 02110-1301, USA.
  */
 
-#ifndef WebKitAccessibleInterfaceHypertext_h
-#define WebKitAccessibleInterfaceHypertext_h
+#pragma once
 
 #if HAVE(ACCESSIBILITY)
 
@@ -26,6 +25,4 @@
 
 void webkitAccessibleHypertextInterfaceInit(AtkHypertextIface*);
 
-#endif
-
-#endif // WebKitAccessibleInterfaceHypertext_h
+#endif // HAVE(ACCESSIBILITY)
index 45be655415c6f664f2b24e9bf0d61b1f6ef10580..4f31640c91efd6b42c185cda6a65732ec00ffc0c 100644 (file)
@@ -19,8 +19,7 @@
  * Boston, MA 02110-1301, USA.
  */
 
-#ifndef WebKitAccessibleInterfaceImage_h
-#define WebKitAccessibleInterfaceImage_h
+#pragma once
 
 #if HAVE(ACCESSIBILITY)
 
@@ -28,5 +27,4 @@
 
 void webkitAccessibleImageInterfaceInit(AtkImageIface*);
 
-#endif
-#endif // WebKitAccessibleInterfaceImage_h
+#endif // HAVE(ACCESSIBILITY)
index 6500029d00322af5d82d12aaeda81670a17af888..e0f50aa8255c8bfcba61090ccb8a03d890a2cb36 100644 (file)
@@ -19,8 +19,7 @@
  * Boston, MA 02110-1301, USA.
  */
 
-#ifndef WebKitAccessibleInterfaceSelection_h
-#define WebKitAccessibleInterfaceSelection_h
+#pragma once
 
 #if HAVE(ACCESSIBILITY)
 
@@ -28,5 +27,4 @@
 
 void webkitAccessibleSelectionInterfaceInit(AtkSelectionIface*);
 
-#endif
-#endif // WebKitAccessibleInterfaceSelection_h
+#endif // HAVE(ACCESSIBILITY)
index 5bddf39c206e736eaa8a94dde2738ba3146c1c55..eacc4dfea158d8fa6c8149773f9ab26adb4cd087 100644 (file)
@@ -19,8 +19,7 @@
  * Boston, MA 02110-1301, USA.
  */
 
-#ifndef WebKitAccessibleInterfaceTable_h
-#define WebKitAccessibleInterfaceTable_h
+#pragma once
 
 #if HAVE(ACCESSIBILITY)
 
@@ -28,5 +27,4 @@
 
 void webkitAccessibleTableInterfaceInit(AtkTableIface*);
 
-#endif
-#endif // WebKitAccessibleInterfaceTable_h
+#endif // HAVE(ACCESSIBILITY)
index 8fa4d7a8fe5a8a1f277f7478c7a3788481c0db28..d2f58c6fb519f80f3f0984ca7501132821031364 100644 (file)
@@ -1,5 +1,25 @@
-#ifndef WebKitAccessibleInterfaceTableCell_h
-#define WebKitAccessibleInterfaceTableCell_h
+/*
+ * Copyright (C) 2008 Nuanti Ltd.
+ * Copyright (C) 2009 Jan Alonzo
+ * Copyright (C) 2009, 2010, 2011, 2012 Igalia S.L.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB.  If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#pragma once
 
 #if HAVE(ACCESSIBILITY)
 
@@ -10,4 +30,3 @@ void webkitAccessibleTableCellInterfaceInit(AtkTableCellIface*);
 #endif
 
 #endif // HAVE(ACCESSIBILITY)
-#endif // WebKitAccessibleInterfaceTableCell_h
index d7c7376e47aa13fd79b33506f5321cd74ee2c551..f9f9de07148a172028842a659fc8190eae7f90c5 100644 (file)
@@ -19,8 +19,7 @@
  * Boston, MA 02110-1301, USA.
  */
 
-#ifndef WebKitAccessibleInterfaceText_h
-#define WebKitAccessibleInterfaceText_h
+#pragma once
 
 #if HAVE(ACCESSIBILITY)
 
@@ -28,5 +27,4 @@
 
 void webkitAccessibleTextInterfaceInit(AtkTextIface*);
 
-#endif
-#endif // WebKitAccessibleInterfaceText_h
+#endif // HAVE(ACCESSIBILITY)
index 6e53551ec8fc94490002c0d678ed2119606bafbb..f1b49ebeb238927104eabe55e9682577506f5e6f 100644 (file)
@@ -17,8 +17,7 @@
  * Boston, MA 02110-1301, USA.
  */
 
-#ifndef WebKitAccessibleInterfaceValue_h
-#define WebKitAccessibleInterfaceValue_h
+#pragma once
 
 #if HAVE(ACCESSIBILITY)
 
@@ -26,5 +25,4 @@
 
 void webkitAccessibleValueInterfaceInit(AtkValueIface*);
 
-#endif
-#endif // WebKitAccessibleInterfaceValue_h
+#endif // HAVE(ACCESSIBILITY)
index e2938a597a8eed90e4b7a5de2cc4e2951e24cbfd..a946001f4c6a34ac5e4334c50246fef055d7c5cb 100644 (file)
@@ -19,8 +19,7 @@
  * Boston, MA 02110-1301, USA.
  */
 
-#ifndef WebKitAccessibleUtil_h
-#define WebKitAccessibleUtil_h
+#pragma once
 
 #if HAVE(ACCESSIBILITY)
 
@@ -69,5 +68,4 @@ String accessibilityDescription(WebCore::AccessibilityObject*);
 
 bool selectionBelongsToObject(WebCore::AccessibilityObject*, WebCore::VisibleSelection&);
 
-#endif
-#endif // WebKitAccessibleUtil_h
+#endif // HAVE(ACCESSIBILITY)
index ae3a0bea0a138c91fdd6cd534a8e11c4bb6e349d..7dfebfb7fdffdd08300d87fae8382037e24c6ce4 100644 (file)
@@ -20,8 +20,7 @@
  * Boston, MA 02110-1301, USA.
  */
 
-#ifndef WebKitAccessibleWrapperAtk_h
-#define WebKitAccessibleWrapperAtk_h
+#pragma once
 
 #if HAVE(ACCESSIBILITY)
 
@@ -85,5 +84,4 @@ const char* cacheAndReturnAtkProperty(AtkObject*, AtkCachedProperty, String valu
 
 G_END_DECLS
 
-#endif
-#endif // WebKitAccessibleWrapperAtk_h
+#endif // HAVE(ACCESSIBILITY)
index 29db472510f0496534bbf15d9df7953a6a7e4fb0..d25c0b265fa0971f8111d7cbe5b51458dc05a888 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AccessibilityObjectWrapperIOS_h
-#define AccessibilityObjectWrapperIOS_h
+#pragma once
 
 #if HAVE(ACCESSIBILITY) && PLATFORM(IOS)
 
@@ -68,5 +67,3 @@
 @end
 
 #endif // HAVE(ACCESSIBILITY) && PLATFORM(IOS)
-
-#endif // AccessibilityObjectWrapperIOS_h
index 1f0ecb1f5497e75ecfe5c5767017e5fb8586d2d7..a00e8d1b98c3baeabf5616bee5c6126625a41950 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef WebAccessibilityObjectWrapper_h
-#define WebAccessibilityObjectWrapper_h
+#pragma once
 
 #import "WebAccessibilityObjectWrapperBase.h"
 
@@ -37,5 +36,3 @@
 - (id)textMarkerForVisiblePosition:(const WebCore::VisiblePosition&)visiblePos;
 
 @end
-
-#endif // WebAccessibilityObjectWrapper_h
index 9fb4e255e5a02f6e3cc8b96981758cd3ab5f9229..a65ad295e266b64fc9378b213d2e4d441942054d 100644 (file)
@@ -23,9 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-
-#ifndef AccessibilityObjectWrapperWin_h
-#define AccessibilityObjectWrapperWin_h
+#pragma once
 
 #include <unknwn.h>
 #include <wtf/text/AtomicString.h>
@@ -55,5 +53,3 @@ namespace WebCore {
     };
 
 } // namespace WebCore
-
-#endif // AccessibilityObjectWrapperWin_h
index 6727787faad4fe1ae51705f4751854d14ff65972..566b40a1f36dfb644ac674d495834be40a282eec 100644 (file)
@@ -28,8 +28,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ActiveDOMCallback_h
-#define ActiveDOMCallback_h
+#pragma once
 
 #include "ContextDestructionObserver.h"
 
@@ -51,5 +50,3 @@ public:
 };
 
 } // namespace WebCore
-
-#endif // ActiveDOMCallback_h
index dc523bc86629f77c4298284851dbacd6fefdd0d7..22517e6eea62babc5ad4c2de866d410035650fc3 100644 (file)
@@ -23,8 +23,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ArrayValue_h
-#define ArrayValue_h
+#pragma once
 
 #include <interpreter/CallFrame.h>
 
@@ -50,6 +49,4 @@ private:
     JSC::JSValue m_value;
 };
 
-}
-
-#endif // ArrayValue_h
+} // namespace WebCore
index f7e7867decd949f3619e5c559187fb2cf52023e9..bf8db6107882d8c12510d2d67dd0bcf28ddb5df6 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#ifndef CachedScriptSourceProvider_h
-#define CachedScriptSourceProvider_h
+#pragma once
 
 #include "CachedResourceClient.h"
 #include "CachedResourceHandle.h"
@@ -64,5 +63,3 @@ inline JSC::SourceCode makeSource(CachedScript* cachedScript)
 }
 
 } // namespace WebCore
-
-#endif // CachedScriptSourceProvider_h
index cb51107065806de6b0af86f16451aaf64337707b..97289973045c411745040c00d12c397481dbf59b 100644 (file)
@@ -22,8 +22,7 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef CallbackFunction_h
-#define CallbackFunction_h
+#pragma once
 
 #include <runtime/JSObject.h>
 
@@ -54,5 +53,3 @@ RefPtr<JSCallbackType> createFunctionOnlyCallback(JSC::ExecState* exec, JSDOMGlo
 }
 
 } // namespace WebCore
-
-#endif // CallbackFunction_h
index 684b47096e5baf0581d88ba6bdbe50b6ea22c931..d2adfacfb8bd5fa8d458f76c9365404db4fe2896 100644 (file)
@@ -16,9 +16,7 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-
-#ifndef DOMConstructorWithDocument_h
-#define DOMConstructorWithDocument_h
+#pragma once
 
 #include "Document.h"
 #include "JSDOMBinding.h"
@@ -49,5 +47,3 @@ protected:
 };
 
 } // namespace WebCore
-
-#endif // DOMConstructorWithDocument_h
index 7294f05743fec5e8ba66d8423304c67ecb00c717..77cd99858bf7467b7e9ea83b2d8ea426caa7bd82 100644 (file)
@@ -19,8 +19,7 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef DOMWrapperWorld_h
-#define DOMWrapperWorld_h
+#pragma once
 
 #include "JSDOMGlobalObject.h"
 #include <wtf/Forward.h>
@@ -83,5 +82,3 @@ inline DOMWrapperWorld& worldForDOMObject(JSC::JSObject* object)
 }
     
 } // namespace WebCore
-
-#endif // DOMWrapperWorld_h
index 2742edb414795f5fb22f53ed6ec9517bc7894b62..1f4cb41b621f14160ea957a217e62c185cb4286e 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef GCController_h
-#define GCController_h
+#pragma once
 
 #include <wtf/Forward.h>
 #include <wtf/Noncopyable.h>
@@ -56,5 +55,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // GCController_h
index 96a8d87b8d4392d2143ab208cec056a92e738697..e99a19e02e8574060ff2f8d19aa6c98bd57e45ea 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSCSSRuleCustom_h
-#define JSCSSRuleCustom_h
+#pragma once
 
 #include "CSSRule.h"
 #include "CSSStyleSheet.h"
@@ -43,5 +42,3 @@ inline void* root(CSSRule* rule)
 }
 
 } // namespace WebCore
-
-#endif // JSCSSRuleCustom_h
index 672f06a00b9baa169f09cc9ff1f1044bf18a4745..af2a9dce51db127346cdfb113713bbfa98e2f20c 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#ifndef JSCSSStyleDeclarationCustom_h
-#define JSCSSStyleDeclarationCustom_h
+#pragma once
 
 namespace WebCore {
 
@@ -32,6 +31,4 @@ class CSSStyleDeclaration;
 
 void* root(CSSStyleDeclaration*);
 
-}
-
-#endif // JSCSSStyleDeclarationCustom_h
+} // namespace WebCore
index 9be31f19395ea588fc1639ff608abbfd1766e1fb..a6bef7b7627ddf55756f8092318c622946d7b234 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSCallbackData_h
-#define JSCallbackData_h
+#pragma once
 
 #include "JSDOMBinding.h"
 #include "JSDOMGlobalObject.h"
@@ -123,5 +122,3 @@ public:
 };
 
 } // namespace WebCore
-
-#endif // JSCallbackData_h
index 2873bd1f725569a75e51ec32f459a52039c9ae40..ce696aef2a4f3807a810e7604aeadefc940772c3 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSCryptoAlgorithmBuilder_h
-#define JSCryptoAlgorithmBuilder_h
+#pragma once
+
+#if ENABLE(SUBTLE_CRYPTO)
 
 #include <wtf/Forward.h>
 #include <wtf/Noncopyable.h>
 #include <wtf/Vector.h>
 #include <wtf/text/WTFString.h>
 
-#if ENABLE(SUBTLE_CRYPTO)
-
 namespace JSC {
 class ExecState;
 class JSObject;
@@ -61,4 +60,3 @@ private:
 } // namespace WebCore
 
 #endif // ENABLE(SUBTLE_CRYPTO)
-#endif // JSCryptoAlgorithmBuilder_h
index 38a34fd0e981b28cdcc37deb567c89c8374f4bf5..2f678d82b15cd6a47db703b43b5cc1dcf86a4dfd 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSCryptoAlgorithmDictionary_h
-#define JSCryptoAlgorithmDictionary_h
+#pragma once
+
+#if ENABLE(SUBTLE_CRYPTO)
 
 #include "CryptoAlgorithmIdentifier.h"
 #include <wtf/RefPtr.h>
 
-#if ENABLE(SUBTLE_CRYPTO)
-
 namespace JSC {
 class ExecState;
 class JSValue;
@@ -56,7 +55,6 @@ public:
     static RefPtr<CryptoAlgorithmParametersDeprecated> createParametersForExportKey(JSC::ExecState*, CryptoAlgorithmIdentifier, JSC::JSValue);
 };
 
-}
+} // namespace WebCore
 
 #endif // ENABLE(SUBTLE_CRYPTO)
-#endif // JSCryptoAlgorithmDictionary_h
index 3b71e92583c38fccc7fa3d2b1210297217014da4..fee2d989902901e828df100bca8ce2172cd80f17 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSCryptoKeySerializationJWK_h
-#define JSCryptoKeySerializationJWK_h
+#pragma once
+
+#if ENABLE(SUBTLE_CRYPTO)
 
 #include "CryptoKeySerialization.h"
 #include <heap/Strong.h>
 #include <wtf/text/WTFString.h>
 
-#if ENABLE(SUBTLE_CRYPTO)
-
 namespace JSC {
 class ExecState;
 class JSObject;
@@ -69,7 +68,6 @@ private:
     mutable String m_jwkAlgorithmName; // Stored when reconcileAlgorithm is called, and used later.
 };
 
-}
+} // namespace WebCore
 
 #endif // ENABLE(SUBTLE_CRYPTO)
-#endif // JSCryptoKeySerializationJWK_h
index 77b0100e66a5d7777d367ef8e767d6432bbfebdc..4fe4f132087008a1f74081c5a186d32ac2056277 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSCryptoOperationData_h
-#define JSCryptoOperationData_h
+#pragma once
 
 #if ENABLE(SUBTLE_CRYPTO)
 
@@ -42,4 +41,3 @@ bool cryptoOperationDataFromJSValue(JSC::ExecState*, JSC::JSValue, CryptoOperati
 } // namespace WebCore
 
 #endif // ENABLE(SUBTLE_CRYPTO)
-#endif // JSCryptoOperationData_h
index 83955ff841e6074897116184251280650de09f16..b283b1d716fab06b618758e7aa86de825e9a914d 100644 (file)
@@ -24,8 +24,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSCustomElementInterface_h
-#define JSCustomElementInterface_h
+#pragma once
 
 #if ENABLE(CUSTOM_ELEMENTS)
 
 #include <wtf/text/AtomicStringHash.h>
 
 namespace JSC {
-
 class JSObject;
 class PrivateName;
-
 }
 
 namespace WebCore {
@@ -114,6 +111,4 @@ private:
 
 } // namespace WebCore
 
-#endif
-
-#endif
+#endif // ENABLE(CUSTOM_ELEMENTS)
index adbc677619ca3555c724b389991164aba57b22ea..0eedce2bfe961b06b4e74740c071586b657eff56 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#ifndef JSCustomXPathNSResolver_h
-#define JSCustomXPathNSResolver_h
+#pragma once
 
 #include "XPathNSResolver.h"
 #include <heap/Strong.h>
@@ -61,5 +60,3 @@ namespace WebCore {
     };
 
 } // namespace WebCore
-
-#endif // JSCustomXPathNSResolver_h
index ad6ac45b193ea4054b74b4064a3e4d52cde937ce..6f0fc7d1a5279578dcf65a30c6c8722e6a591d49 100644 (file)
@@ -17,8 +17,7 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef JSDOMConstructor_h
-#define JSDOMConstructor_h
+#pragma once
 
 #include "DOMConstructorWithDocument.h"
 #include "JSDOMBinding.h"
@@ -274,5 +273,3 @@ template<typename JSClass> inline JSC::ConstructType JSBuiltinConstructor<JSClas
 }
 
 } // namespace WebCore
-
-#endif // JSDOMConstructor_h
index a01bf568c5fe3013cc19499d52a28ebc1a78c94e..c181f9a16f5530bd953dbf5f1c15f13a624fa12c 100644 (file)
@@ -24,8 +24,7 @@
  *
  */
 
-#ifndef JSDOMGlobalObject_h
-#define JSDOMGlobalObject_h
+#pragma once
 
 #include "PlatformExportMacros.h"
 #include "WebCoreJSBuiltinInternals.h"
@@ -124,5 +123,3 @@ namespace WebCore {
     JSDOMGlobalObject* toJSDOMGlobalObject(ScriptExecutionContext*, DOMWrapperWorld&);
 
 } // namespace WebCore
-
-#endif // JSDOMGlobalObject_h
index f3f000287ef1306be75b30e63b3ce963f4c9bd44..cc0ffb0e13b08cd42713fe84b5cdf94daab15ab7 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSDOMGlobalObjectTask_h
-#define JSDOMGlobalObjectTask_h
+#pragma once
 
 #include "JSDOMGlobalObject.h"
 #include "ScriptExecutionContext.h"
@@ -37,5 +36,3 @@ public:
 };
 
 } // namespace WebCore
-
-#endif // JSDOMGlobalObjectTask_h
index 241271f668b5dfd8cf8f00eac755bc83e2b77e5a..d20aa089fa95cfa719afafa861ea9cc37966dc4e 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSDOMPromise_h
-#define JSDOMPromise_h
+#pragma once
 
 #include "ActiveDOMCallback.h"
 #include "JSDOMBinding.h"
@@ -337,6 +336,4 @@ inline void DeferredPromise::reject(const String& result)
     reject(*exec, jsString(exec, result));
 }
 
-}
-
-#endif // JSDOMPromise_h
+} // namespace WebCore
index f5f3be0523e5969ad2e37160fbe40bcc672dc398..c5917c3e627fab44682c4bfb93ca0e05a1dd6c08 100644 (file)
@@ -17,8 +17,7 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef JSDOMWindowBase_h
-#define JSDOMWindowBase_h
+#pragma once
 
 #include "JSDOMBinding.h"
 #include "JSDOMGlobalObject.h"
@@ -99,5 +98,3 @@ namespace WebCore {
     WEBCORE_EXPORT JSDOMWindow* toJSDOMWindow(JSC::JSValue);
 
 } // namespace WebCore
-
-#endif // JSDOMWindowBase_h
index b72ff0d05a98a1f648631ebd44ac0245b7a3b2e0..ab629d6dc73b8eb726f73aeb533cfa30d25521ea 100644 (file)
@@ -16,8 +16,7 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef JSDOMWindowCustom_h
-#define JSDOMWindowCustom_h
+#pragma once
 
 #include "JSDOMWindow.h"
 #include "JSDOMWindowShell.h"
@@ -34,6 +33,4 @@ inline const JSDOMWindow* asJSDOMWindow(const JSC::JSGlobalObject* globalObject)
     return static_cast<const JSDOMWindow*>(globalObject);
 }
 
-}
-
-#endif // JSDOMWindowCustom_h
+} // namespace WebCore
index fb1e9eeeb0907893eab9b8a1a4ba7da0c841535d..08c149a58174b3ba4c32b3a8873cca7e98a9f668 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSDictionary_h
-#define JSDictionary_h
+#pragma once
 
 #include "MessagePort.h"
 #include <heap/Strong.h>
@@ -228,5 +227,3 @@ JSDictionary::GetPropertyResult JSDictionary::tryGetPropertyAndResult(const char
 }
 
 } // namespace WebCore
-
-#endif // JSDictionary_h
index 4f3b83ae163c5baff8105671afea757e48de010b..5b60f5442f26e977fc50ca6f4bf4a861141a78f9 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSDocumentCustom_h
-#define JSDocumentCustom_h
+#pragma once
 
 #include "JSDOMBinding.h"
 #include "JSDocument.h"
@@ -41,5 +40,3 @@ JSC::JSObject* cachedDocumentWrapper(JSC::ExecState&, JSDOMGlobalObject&, Docume
 void reportMemoryForDocumentIfFrameless(JSC::ExecState&, Document&);
 
 } // namespace WebCore
-
-#endif // JSDocumentCustom_h
index 8db36209a0dbe9f115065a709459670b4f727ece..b2b65f53abe94e493b4a6bb25e31026f4b210629 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSElementCustom_h
-#define JSElementCustom_h
+#pragma once
 
 #include "JSDOMBinding.h"
 #include "JSElement.h"
@@ -38,5 +37,3 @@ ALWAYS_INLINE JSDynamicCastResult<JSElement, From> jsElementCast(From* value)
 }
 
 } // namespace WebCore
-
-#endif // JSElementCustom_h
index fa7ea9ff74d969a826e42921a3d4aee684054991..5a2dd34d3eeb00647c9cc7415d4a020c4ef44a40 100644 (file)
@@ -28,8 +28,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSErrorHandler_h
-#define JSErrorHandler_h
+#pragma once
 
 #include "JSEventListener.h"
 
@@ -60,5 +59,3 @@ inline RefPtr<JSErrorHandler> createJSErrorHandler(JSC::ExecState* exec, JSC::JS
 }
 
 } // namespace WebCore
-
-#endif // JSErrorHandler_h
index 138bb20814dbe5314219cedece5c203338f1b086..3d27ab04cbf0b06be198e97a8c7fcb09bd9b3afc 100644 (file)
@@ -17,8 +17,7 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef JSEventListener_h
-#define JSEventListener_h
+#pragma once
 
 #include "DOMWrapperWorld.h"
 #include "EventListener.h"
@@ -139,5 +138,3 @@ inline JSC::JSObject* JSEventListener::jsFunction(ScriptExecutionContext* script
 }
 
 } // namespace WebCore
-
-#endif // JSEventListener_h
index 771300293c1056b1884d7fc09bfd7720abfc9f3b..31493779e5f2c70938c36af98cb8b3e7b04b1285 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSExceptionBase_h
-#define JSExceptionBase_h
+#pragma once
 
 namespace JSC {
-
 class JSValue;
-
-}   // namespace JSC
+}
 
 namespace WebCore {
 
@@ -39,5 +36,3 @@ class ExceptionBase;
 ExceptionBase* toExceptionBase(JSC::JSValue);
 
 } // namespace WebCore
-
-#endif // JSExceptionBase_h
index 4a1f00ef902f784bfd8b8dd5f9f5f985aa405f98..5f478c5715d1f5c61bfa0bed0ce1b1525ec19098 100644 (file)
@@ -17,8 +17,7 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef JSImageConstructor_h
-#define JSImageConstructor_h
+#pragma once
 
 namespace JSC {
 class JSValue;
@@ -32,5 +31,3 @@ class JSDOMGlobalObject;
 JSC::JSValue createImageConstructor(JSC::VM&, const JSDOMGlobalObject&);
 
 } // namespace WebCore
-
-#endif // JSImageConstructor_h
index 38365799ca152338da83b6b0dcc49b44412db331..9c2849ebb685d1959dc478c6c17180432fa19833 100644 (file)
@@ -17,8 +17,7 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef JSLazyEventListener_h
-#define JSLazyEventListener_h
+#pragma once
 
 #include "JSEventListener.h"
 
@@ -59,5 +58,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // JSLazyEventListener_h
index 6d0fdf83239235253d481041c5ea8ceba824c834..4ad6e32014d6ab0d65835353b89cce14ac87db0d 100644 (file)
@@ -24,8 +24,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSMainThreadExecStateInstrumentation_h
-#define JSMainThreadExecStateInstrumentation_h
+#pragma once
 
 #include "InspectorInstrumentation.h"
 #include "JSMainThreadExecState.h"
@@ -59,5 +58,3 @@ inline InspectorInstrumentationCookie JSMainThreadExecState::instrumentFunctionC
 }
 
 } // namespace WebCore
-
-#endif // JSMainThreadExecStateInstrumentation_h
index 6ebe751ed485e4299fbbc46282718f883731f600..af934b75cff24819d336cc68e153c7bc7f8bf6b9 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSMediaListCustom_h
-#define JSMediaListCustom_h
+#pragma once
 
 #include "CSSRule.h"
 #include "CSSStyleSheet.h"
@@ -44,5 +43,3 @@ inline void* root(MediaList* mediaList)
 }
 
 } // namespace WebCore
-
-#endif // JSMediaListCustom_h
index f3ca47d9a9e259ac97bc2015bef80f4c2beedc84..427d6243aeea4cfb733c765059b166743841a2c1 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSMutationCallback_h
-#define JSMutationCallback_h
+#pragma once
 
 #include "ActiveDOMCallback.h"
 #include "DOMWrapperWorld.h"
@@ -57,5 +56,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif
index 6ce3e7b95bc331cb38553f093d8607147d0d9ae3..845bb409a3d4860804abb84af578a8d26cfc08f9 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSNodeListCustom_h
-#define JSNodeListCustom_h
+#pragma once
 
 #include "JSDOMBinding.h"
 #include "JSNodeList.h"
@@ -41,5 +40,3 @@ ALWAYS_INLINE JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject* globalObject
 }
 
 } // namespace WebCore
-
-#endif // JSNodeListCustom_h
index 930b32995f665ac05b56664405bc2cde43c4dee1..f4f5f4ca90bad296cfd925d51bfd201ed1870f0f 100644 (file)
@@ -17,8 +17,7 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef JSPluginElementFunctions_h
-#define JSPluginElementFunctions_h
+#pragma once
 
 #include "JSDOMBinding.h"
 
@@ -55,5 +54,3 @@ namespace WebCore {
     }
 
 } // namespace WebCore
-
-#endif // JSPluginElementFunctions_h
index b4ca36829f4fb172cba4fe1874b58ec0b8c5d153..6560de3e046ece40b8654670e3a0e8eeb635b160 100644 (file)
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef JSReadableStreamPrivateConstructors_h
-#define JSReadableStreamPrivateConstructors_h
+#pragma once
 
 #if ENABLE(READABLE_STREAM_API)
 
 namespace JSC {
-
-struct ClassInfo;
 class JSObject;
 class VM;
-
 }
 
 namespace WebCore {
@@ -38,6 +34,4 @@ JSC::JSObject* createReadableStreamDefaultControllerPrivateConstructor(JSC::VM&,
 
 } // namespace WebCore
 
-#endif
-
-#endif // ReadableStreamConstructors_h
+#endif // ENABLE(READABLE_STREAM_API)
index bbf0716d71d39350ad33fc57104fa7c908920a3b..95777fc5361ad5dfafdcdbc4bbe11eff3673c2c5 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSStyleSheetCustom_h
-#define JSStyleSheetCustom_h
+#pragma once
 
 #include "CSSImportRule.h"
 #include "CSSStyleSheet.h"
@@ -43,5 +42,3 @@ inline void* root(StyleSheet* styleSheet)
 }
 
 } // namespace WebCore
-
-#endif // JSStyleSheetCustom_h
index 15f92022bf068a3bb998ed763c67e84a4bf2ec3e..4cebc32e7a5931187604aecd82b1ad0b7df636f0 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#ifndef JSTrackCustom_h
-#define JSTrackCustom_h
+#pragma once
 
 #if ENABLE(VIDEO_TRACK)
 
@@ -45,7 +44,6 @@ inline void* root(TrackBase* track)
     return track;
 }
 
-}
+} // namespace WebCore
 
-#endif
-#endif
+#endif // ENABLE(VIDEO_TRACK)
index 78928e96b5a51964d920aad1de9f1b774f342ea0..6346293f90fc5342c2f93489f132911ca9d6ffb3 100644 (file)
@@ -24,8 +24,7 @@
  *
  */
 
-#ifndef JSWorkerGlobalScopeBase_h
-#define JSWorkerGlobalScopeBase_h
+#pragma once
 
 #include "JSDOMGlobalObject.h"
 #include "JSDOMWrapper.h"
@@ -82,5 +81,3 @@ namespace WebCore {
     JSWorkerGlobalScope* toJSWorkerGlobalScope(JSC::JSValue);
 
 } // namespace WebCore
-
-#endif // JSWorkerGlobalScopeBase_h
index aa8e3162a9235ca763ca66d3aa813c3d5c48e86a..b7e4a8ce3c73b17422fa45fe4aa0e0e68e3682d8 100644 (file)
@@ -26,8 +26,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ReadableStreamDefaultController_h
-#define ReadableStreamDefaultController_h
+#pragma once
 
 #if ENABLE(READABLE_STREAM_API)
 
@@ -118,5 +117,3 @@ inline void ReadableStreamDefaultController::error<String>(const String& errorMe
 } // namespace WebCore
 
 #endif // ENABLE(READABLE_STREAM_API)
-
-#endif // ReadableStreamDefaultController_h
index 916458a599ecb2dc1d7a6c9dad1c832772aa5dab..dac8579ea3464c846d66d6f4f8069a667d1e6920 100644 (file)
@@ -17,8 +17,7 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef ScheduledAction_h
-#define ScheduledAction_h
+#pragma once
 
 #include "JSDOMBinding.h"
 #include <heap/Strong.h>
@@ -70,5 +69,3 @@ namespace WebCore {
     };
 
 } // namespace WebCore
-
-#endif // ScheduledAction_h
index 55b98e3bed590db1c72705d03ac37a49a6cfb35a..eff5e3802e6d49550fc74b43e62e667cbfb4befa 100644 (file)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ScriptCachedFrameData_h
-#define ScriptCachedFrameData_h
+#pragma once
 
 #include <heap/Strong.h>
 #include <wtf/HashMap.h>
@@ -56,5 +55,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // ScriptCachedFrameData_h
index a0c71f260812b0d3211916868119d70bf671762f..44ff37e8478775fdaff9d855f8031900d17ef898 100644 (file)
@@ -19,8 +19,7 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef ScriptController_h
-#define ScriptController_h
+#pragma once
 
 #include "FrameLoaderTypes.h"
 #include "JSDOMWindowShell.h"
@@ -193,5 +192,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // ScriptController_h
index 0f2d789a8a418e98260bc77da5a6bcdd16b59189..f879a025da309ec08162c3c1d8c19bed5594ecbf 100644 (file)
@@ -28,8 +28,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ScriptGlobalObject_h
-#define ScriptGlobalObject_h
+#pragma once
 
 namespace JSC {
 class ExecState;
@@ -50,5 +49,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // ScriptGlobalObject_h
index 7854361cb0171af1689fbb9aa826d5a8a8477949..81446acc33d610fd564f12a252753f9dd45ed6f6 100644 (file)
@@ -28,8 +28,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ScriptSourceCode_h
-#define ScriptSourceCode_h
+#pragma once
 
 #include "CachedResourceHandle.h"
 #include "CachedScript.h"
@@ -71,15 +70,9 @@ public:
     
 private:
     RefPtr<JSC::SourceProvider> m_provider;
-    
     JSC::SourceCode m_code;
-
     CachedResourceHandle<CachedScript> m_cachedScript;
-
     URL m_url;
-
 };
 
 } // namespace WebCore
-
-#endif // ScriptSourceCode_h
index 5375f6687d1caf0d075fcb25cf810d56d198e1d2..fc0dca0a88629f920dd65ece15adcb136eb15100 100644 (file)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ScriptWrappable_h
-#define ScriptWrappable_h
+#pragma once
 
 #include <heap/Weak.h>
 
@@ -59,5 +58,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // ScriptWrappable_h
index 8a533731dc97f9e40774534ca6266a00e25da4ab..f102c217c37e73fa9684d92bf8867b28f12b341c 100644 (file)
@@ -29,8 +29,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ScriptWrappableInlines_h
-#define ScriptWrappableInlines_h
+#pragma once
 
 #include "JSDOMWrapper.h"
 #include <heap/Weak.h>
@@ -55,5 +54,3 @@ inline void ScriptWrappable::clearWrapper(JSDOMObject* wrapper)
 }
 
 } // namespace WebCore
-
-#endif // ScriptWrappableInlines_h
index de14af3a1293650deb020a3fea931a5d40e72cc4..4a26a92935328b8f9da78d4e57338819834098bc 100644 (file)
@@ -24,8 +24,7 @@
  *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef WebCoreBuiltinNames_h
-#define WebCoreBuiltinNames_h
+#pragma once
 
 #include <builtins/BuiltinUtils.h>
 
@@ -129,5 +128,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // WebCoreBuiltinNames_h
index 1dc557d495fb42cddb575dd9bd10f521c1c7416d..f7973517956cc0cf25a2a02763be10c838c571e7 100644 (file)
@@ -19,8 +19,7 @@
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef WebCoreJSClientData_h
-#define WebCoreJSClientData_h
+#pragma once
 
 #include "DOMWrapperWorld.h"
 #include "WebCoreBuiltinNames.h"
@@ -95,5 +94,3 @@ inline void initNormalWorldClientData(JSC::VM* vm)
 }
 
 } // namespace WebCore
-
-#endif // WebCoreJSClientData_h
index 86fa232274f71f3da658681a715781756927e66b..529a1fb00e18a20f68f30f4346da1accd84ebba7 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#ifndef WebCoreTypedArrayController_h
-#define WebCoreTypedArrayController_h
+#pragma once
 
 #include <runtime/JSGlobalObject.h>
 #include <runtime/TypedArrayController.h>
@@ -56,6 +55,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // WebCoreTypedArrayController_h
-
index 4133deafb17b3448ea4d555b25178630f3c3ceca..c7cf72fce319336461ffefd1653165688ea8f5d0 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef CombinedFiltersAlphabet_h
-#define CombinedFiltersAlphabet_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -62,5 +61,3 @@ private:
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // CombinedFiltersAlphabet_h
index 086f0108bb6854be68a569b2eeae8668e4b3665c..643ed889d7ea65ed46bac84f657215d66fff9353 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef CombinedURLFilters_h
-#define CombinedURLFilters_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -68,5 +67,3 @@ private:
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // CombinedURLFilters_h
index 2b8c1843b3bc8129bedccf1ef7d0a0e30dad8933..47b3d62696b0dacf691bbae7e2a703bade3246d7 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef CompiledContentExtension_h
-#define CompiledContentExtension_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -53,4 +52,3 @@ public:
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-#endif // CompiledContentExtension_h
index 0b1a1b7226f139fdf129126ca8a581ac73508311..5e7c11b2adedae7448cca513ac6b8640046fb77e 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ContentExtension_h
-#define ContentExtension_h
-
-#include <wtf/Ref.h>
-#include <wtf/RefCounted.h>
-#include <wtf/RefPtr.h>
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
 #include "DFABytecodeInterpreter.h"
 #include "StyleSheetContents.h"
+#include <wtf/Ref.h>
+#include <wtf/RefCounted.h>
+#include <wtf/RefPtr.h>
 
 namespace WebCore {
 
@@ -75,4 +73,3 @@ private:
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-#endif // ContentExtension_h
index f0ac5ddd441282d6a83ddb44122f4043244f1ffd..3928f9544a104d58cbfd28ca0e0022ba7e9e8b7a 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ContentExtensionCompiler_h
-#define ContentExtensionCompiler_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -54,4 +53,3 @@ WEBCORE_EXPORT std::error_code compileRuleList(ContentExtensionCompilationClient
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-#endif // ContentExtensionCompiler_h
index 0eb9a252b483258503384f6523a80d2effd59e59..35462baccb1fec99eb0c48a097f702a4d0dfbc50 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ContentExtensionError_h
-#define ContentExtensionError_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -78,4 +77,3 @@ namespace std {
 }
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-#endif // ContentExtensionError_h
index 1f35b6b41847a12407d45eb5d7196071fefa3a23..9fbca15e5f56d2531290b197f3bc52ae5d710e96 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ContentExtensionParser_h
-#define ContentExtensionParser_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -44,5 +43,3 @@ std::error_code parseRuleList(const String& rules, Vector<ContentExtensionRule>&
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // ContentExtensionParser_h
index 5588d86381b07d41d63579ef45dfff78cbc6ae30..8983a8a3067837bfd9d304ff25a0e985cf0bd048 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ContentExtensionRule_h
-#define ContentExtensionRule_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -187,9 +186,6 @@ private:
 };
 
 } // namespace ContentExtensions
-
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // ContentExtensionRule_h
index 514407676eede6a6e71c20e30ce98a7a228dee83..3077362354b16e2840b16757b52179a58ca30fcc 100644 (file)
@@ -22,8 +22,8 @@
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
-#ifndef ContentExtensionStyleSheet_h
-#define ContentExtensionStyleSheet_h
+
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -62,4 +62,3 @@ private:
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-#endif // ContentExtensionStyleSheet_h
index c8770652fe75c3552eb8e3bd115ce8106e5effe1..f15ff8c4317d8cb910ea347105d51bca3f05f098 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ContentExtensionsBackend_h
-#define ContentExtensionsBackend_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -74,9 +73,6 @@ private:
 };
 
 } // namespace ContentExtensions
-
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // ContentExtensionsBackend_h
index 8e374497df8b22caf665a6f4a589bb3aed6da084..2100c26a153c91b3541546db8e7bbe6d13311257 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ContentExtensionsDebugging_h
-#define ContentExtensionsDebugging_h
-
-#include <wtf/Vector.h>
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
+#include <wtf/Vector.h>
+
 #define CONTENT_EXTENSIONS_STATE_MACHINE_DEBUGGING 0
 
 #define CONTENT_EXTENSIONS_PERFORMANCE_REPORTING 0
@@ -50,5 +49,3 @@ typedef UnsafeVectorOverflow ContentExtensionsOverflowHandler;
 #endif
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // ContentExtensionsDebugging_h
index 97a6a1c46949e19ebc64573652f80a60903ab1e5..289ae592cd6917ea2d2f8bab72705488dd3ef9c8 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DFA_h
-#define DFA_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -82,10 +81,7 @@ inline void DFANode::RangeIterator::resetTarget(uint32_t newTarget)
     dfa.transitionDestinations[position] = newTarget;
 }
 
-}
-
+} // namespace ContentExtensions
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // DFA_h
index f910dd8243e05e9d124881d6b058ba2a33e55a84..50981c278aba333ce40c6241b0010b044ecf34ff 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DFABytecode_h
-#define DFABytecode_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -129,10 +128,7 @@ static inline size_t instructionSizeWithArguments(DFABytecodeInstruction instruc
     }
 }
     
-} // namespace ContentExtensions
-    
+} // namespace ContentExtensions    
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // DFABytecode_h
index 1d06023d266352d6733b59513626e75be810c749..5ef0bd78933f30a8902c2ee5cd4f18d968071a51 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DFABytecodeCompiler_h
-#define DFABytecodeCompiler_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -116,9 +115,6 @@ private:
 };
 
 } // namespace ContentExtensions
-
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // DFABytecodeCompiler_h
index 14f1d370e44af10709df33bf39b1907e54162943..4c69e2660c8bd3877fa1e8711c0693f5b4ac9dfc 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DFABytecodeInterpreter_h
-#define DFABytecodeInterpreter_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -64,10 +63,7 @@ private:
     const DFABytecodeInterpreter::Actions* m_domainActions { nullptr };
 };
 
-} // namespace ContentExtensions
-    
+} // namespace ContentExtensions    
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // DFABytecodeInterpreter_h
index c18885e82f0b5e23da08a65c7c4fdf1b04e6579e..090946b1204eba18e055ce9e8db2b2eaafefbff8 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DFACombiner_h
-#define DFACombiner_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -50,10 +49,7 @@ inline void DFACombiner::addDFA(DFA&& dfa)
     m_dfas.append(WTFMove(dfa));
 }
 
-}
-
+} // namespace ContentExtensions
 } // namespace WebCore
 
-#endif
-
-#endif
+#endif // ENABLE(CONTENT_EXTENSIONS)
index 4214cf15357a6024e7106c567a5d6c27a7f17d61..9e0aafc95bce32431ce843c316791fd19510459e 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DFAMinimizer_h
-#define DFAMinimizer_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -42,5 +41,3 @@ public:
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // DFAMinimizer_h
index d48b95e36596cd9cc0ef56d35b66979e2bc922e2..342ef916719af2fbbc04e22d7d5407753a532b00 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DFANode_h
-#define DFANode_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -171,10 +170,7 @@ private:
 
 COMPILE_ASSERT(sizeof(DFANode) <= 16, Keep the DFANodes small);
 
-}
-
+} // namespace ContentExtensions
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // DFANode_h
index 702b2951768489665adb509bfffe8150cd40ebd0..1039c1da5d64d7f98dd65b8e859c38feda37106d 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef HashableActionList_h
-#define HashableActionList_h
+#pragma once
 
 #include <wtf/Hasher.h>
 #include <wtf/Vector.h>
@@ -91,7 +90,4 @@ struct HashableActionListHashTraits : public WTF::CustomHashTraits<HashableActio
 };
 
 } // namespace ContentExtensions
-
 } // namespace WebCore
-
-#endif
index 1f2fa7ab76952071c372194913488f69d5e46e56..f5d21aebae041cc45b8241709a50b8444daeed9e 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ImmutableNFA_h
-#define ImmutableNFA_h
-
-#include <wtf/Vector.h>
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
+#include <wtf/Vector.h>
+
 namespace WebCore {
 
 namespace ContentExtensions {
@@ -177,10 +176,7 @@ struct ImmutableNFA {
     }
 };
 
-}
-
+} // namespace ContentExtensions
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // ImmutableNFA_h
index f8d67596f2092d0368d582e142efd90421a3745c..e7cd31cf754a7098f75da1eb5f944862efd9b268 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ImmutableNFANodeBuilder_h
-#define ImmutableNFANodeBuilder_h
+#pragma once
 
 #include "ImmutableNFA.h"
 #include "MutableRangeList.h"
@@ -224,10 +223,7 @@ private:
     bool m_finalized { true };
 };
 
-}
-
+} // namespace ContentExtensions
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // ImmutableNFANodeBuilder_h
index 265804b5579eed061685303101f45fb18468bf9b..2802881ff62613d3e3042e10cb010c0e39ee9536 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef MutableRange_h
-#define MutableRange_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -91,10 +90,7 @@ public:
     CharacterType last;
 };
 
-}
-
+} // namespace ContentExtensions
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // MutableRange_h
index 6d1b88e95e930d0fccec356cbf3bbaafab2e5f41..9b20687b8a51ec88d330f15d56fd06ddd40771b9 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef MutableRangeList_h
-#define MutableRangeList_h
+#pragma once
 
 #include "MutableRange.h"
 
@@ -261,10 +260,7 @@ private:
     }
 };
 
-}
-
+} // namespace ContentExtensions
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // MutableRangeList_h
index 8b565fee4ff5d532092cf5189fbed4afed7bcac4..c86f92b527fa3b421742f76c6aa7e4d3513e3201 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef NFA_h
-#define NFA_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -45,10 +44,7 @@ struct NFA : public ImmutableNFA<char, uint64_t> {
 #endif
 };
 
-}
-
+} // namespace ContentExtensions
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // NFA_h
index 6f43c38f4134220b581966232623675cfbb93fea..b70349b3fe772cc8b151ff8b9121281e5d05d658 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef NFANode_h
-#define NFANode_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -51,10 +50,7 @@ public:
     ActionList finalRuleIds;
 };
 
-}
-
+} // namespace ContentExtensions
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // NFANode_h
index 8882f42c668200b386a3e70d9d1c80b60762deb5..8bee488236ba32ecf8c8d68619da2566b927a887 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef NFAToDFA_h
-#define NFAToDFA_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -42,10 +41,7 @@ public:
     WEBCORE_EXPORT static DFA convert(NFA&);
 };
 
-}
-
+} // namespace ContentExtensions
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // NFAToDFA_h
index 2e9e1ba94f60e2ece1c96deb6fba572305c58fd9..0d51833f5c0685bb888e3aa2177c387f4376a544 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef Term_h
-#define Term_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -686,5 +685,3 @@ inline size_t Term::memoryUsed() const
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // Term_h
index ed08a82b370112643458cd5c6dae3ce2223a5ba4..be19b9f707d18ccc04c99538f6af9037377d05ee 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef URLFilterParser_h
-#define URLFilterParser_h
+#pragma once
 
 #if ENABLE(CONTENT_EXTENSIONS)
 
@@ -64,9 +63,6 @@ private:
 };
 
 } // namespace ContentExtensions
-
 } // namespace WebCore
 
 #endif // ENABLE(CONTENT_EXTENSIONS)
-
-#endif // URLFilterParser_h
index 3dcc4cd5e7d5d8cd52c70805ec7af73922167dbb..c47b1f45ac9702e653f15e190c16308ed348fbe7 100644 (file)
@@ -24,8 +24,7 @@
  *
  */
 
-#ifndef ActiveDOMObject_h
-#define ActiveDOMObject_h
+#pragma once
 
 #include "ContextDestructionObserver.h"
 #include <wtf/Assertions.h>
@@ -104,5 +103,3 @@ inline void ActiveDOMObject::assertSuspendIfNeededWasCalled() const
 #endif
 
 } // namespace WebCore
-
-#endif // ActiveDOMObject_h
index 111ab98e08418eb79347dc4359cc12a9c5fbde77..52bebf428d67af796e34cc30edca6c4fcf71e590 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#ifndef AnimationEvent_h
-#define AnimationEvent_h
+#pragma once
 
 #include "Event.h"
 
@@ -63,5 +62,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // AnimationEvent_h
index 86878f3c96cfdd9ca4807c556bc36b49d676e3cb..72dbed69e684cd698438626ec17203819bbe9d3e 100644 (file)
@@ -22,8 +22,7 @@
  *
  */
 
-#ifndef Attribute_h
-#define Attribute_h
+#pragma once
 
 #include "QualifiedName.h"
 
@@ -88,5 +87,3 @@ inline bool Attribute::matches(const AtomicString& prefix, const AtomicString& l
 }
 
 } // namespace WebCore
-
-#endif // Attribute_h
index 2594499fb130ba023018363d4bff7d8d1c3b995f..f5d7668369860b2595adecb4037939e6a9cee5d7 100644 (file)
@@ -22,8 +22,7 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef AutocompleteErrorEvent_h
-#define AutocompleteErrorEvent_h
+#pragma once
 
 #if ENABLE(REQUEST_AUTOCOMPLETE)
 
@@ -78,5 +77,3 @@ private:
 } // namespace WebCore
 
 #endif // ENABLE(REQUEST_AUTOCOMPLETE)
-
-#endif // AutocompleteErrorEvent_h
index dd833423b403d07b2a8069ad3a3272970dcbc5ba..7c57daaac3cbaf26ab5a95dfb9597e9ebd3278c9 100644 (file)
@@ -24,8 +24,7 @@
  *
  */
 
-#ifndef BeforeLoadEvent_h
-#define BeforeLoadEvent_h
+#pragma once
 
 #include "Event.h"
 #include "EventNames.h"
@@ -69,5 +68,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // BeforeLoadEvent_h
index 5d42542f6629b77bf8ad940aa271a3df43d342e2..cc92dfcd23e5dbcc1d5f51e6bbccc1285e9ee53f 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
  
-#ifndef BeforeTextInsertedEvent_h
-#define BeforeTextInsertedEvent_h
+#pragma once
 
 #include "Event.h"
 
@@ -54,5 +53,3 @@ private:
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_EVENT(BeforeTextInsertedEvent)
-
-#endif
index 145fffa8e04bcd08dd988ed69d9d0bed3589483c..3e726ad92e5ccf7ec43b6b21185f5dcbe80ad1c1 100644 (file)
@@ -22,8 +22,7 @@
  *
  */
 
-#ifndef BeforeUnloadEvent_h
-#define BeforeUnloadEvent_h
+#pragma once
 
 #include "Event.h"
 
@@ -54,5 +53,3 @@ private:
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_EVENT(BeforeUnloadEvent)
-
-#endif // BeforeUnloadEvent_h
index c490b1fa3b27367fff65a9a476ef8f8ff4fc0c71..bdb9db7b3416873d0e3d1384b72ea47c1d1d400d 100644 (file)
@@ -20,8 +20,7 @@
  *
  */
 
-#ifndef CDATASection_h
-#define CDATASection_h
+#pragma once
 
 #include "Text.h"
 
@@ -46,5 +45,3 @@ private:
 SPECIALIZE_TYPE_TRAITS_BEGIN(WebCore::CDATASection)
     static bool isType(const WebCore::Node& node) { return node.nodeType() == WebCore::Node::CDATA_SECTION_NODE; }
 SPECIALIZE_TYPE_TRAITS_END()
-
-#endif // CDATASection_h
index 734d8e77a757eb7d17ef3713c569c5a7f398fe54..945aad5e35114c636ab716fa890c5ec146996c56 100644 (file)
@@ -28,8 +28,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ChildListMutationScope_h
-#define ChildListMutationScope_h
+#pragma once
 
 #include "Document.h"
 #include "MutationObserver.h"
@@ -100,5 +99,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // ChildListMutationScope_h
index 725b8dc04023e9d8352e7ea0a781b37225e259d4..818227aa8ad1215dfeb83b56df25ecfc30e9d762 100644 (file)
@@ -21,8 +21,7 @@
  *
  */
 
-#ifndef ChildNodeList_h
-#define ChildNodeList_h
+#pragma once
 
 #include "CollectionIndexCache.h"
 #include "NodeList.h"
@@ -90,5 +89,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // ChildNodeList_h
index 72061a1bdb2dd9171e1a3cdcecf7ebd828e1e28d..1af53cca8ea6b8f0428640743a3146688fd882ce 100644 (file)
@@ -27,8 +27,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ClassCollection_h
-#define ClassCollection_h
+#pragma once
 
 #include "CachedHTMLCollection.h"
 #include "Element.h"
@@ -70,5 +69,3 @@ inline bool ClassCollection::elementMatches(Element& element) const
 } // namespace WebCore
 
 SPECIALIZE_TYPE_TRAITS_HTMLCOLLECTION(ClassCollection, ByClass)
-
-#endif // ClassCollection_h
index f76130ef785a85adf371346eff27313670cd74b3..2e9efb5b740a3bbf0196db0c9998228ed47c739f 100644 (file)
@@ -24,8 +24,7 @@
  *
  */
 
-#ifndef ClientRect_h
-#define ClientRect_h
+#pragma once
 
 #include "FloatRect.h"
 #include "ScriptWrappable.h"
@@ -58,5 +57,3 @@ namespace WebCore {
     }; 
 
 } // namespace WebCore
-
-#endif // ClientRect_h
index df7107784bacb3f9bb0cfd00e62eb01f299655b3..8884304077538ece0302a391271d7c7f8f5790dd 100644 (file)
@@ -24,8 +24,7 @@
  *
  */
 
-#ifndef ClientRectList_h
-#define ClientRectList_h
+#pragma once
 
 #include "FloatQuad.h"
 #include <wtf/Ref.h>
@@ -53,5 +52,3 @@ namespace WebCore {
     }; 
 
 } // namespace WebCore
-
-#endif // ClientRectList_h
index 0a864410e2cf2c18e5528a488255400947d14cb7..c4993558a42ba3b90dfdad1ba7550873ef634840 100644 (file)
@@ -21,8 +21,7 @@
  *
  */
 
-#ifndef ClipboardEvent_h
-#define ClipboardEvent_h
+#pragma once
 
 #include "Event.h"
 
@@ -56,5 +55,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // ClipboardEvent_h
index 97982ccd29d2311715b5aa42f93af2282250c509..fe7d34834ab79a3c53e6013bf5927fa4dce3810b 100644 (file)
@@ -20,8 +20,7 @@
  *
  */
 
-#ifndef Comment_h
-#define Comment_h
+#pragma once
 
 #include "CharacterData.h"
 
@@ -45,5 +44,3 @@ private:
 SPECIALIZE_TYPE_TRAITS_BEGIN(WebCore::Comment)
     static bool isType(const WebCore::Node& node) { return node.nodeType() == WebCore::Node::COMMENT_NODE; }
 SPECIALIZE_TYPE_TRAITS_END()
-
-#endif // Comment_h
index 19343c4380def5d050cce5e162f5800b771de21f..c661bce5c8fc2fade6c1864255f3ddac80470f07 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ComposedTreeAncestorIterator_h
-#define ComposedTreeAncestorIterator_h
+#pragma once
 
 #include "HTMLSlotElement.h"
 #include "PseudoElement.h"
@@ -129,6 +128,4 @@ inline ComposedTreeAncestorAdapter composedTreeAncestors(Node& node)
     return ComposedTreeAncestorAdapter(node);
 }
 
-}
-
-#endif
+} // namespace WebCore
index 57fdc49e1bd9263e46e2965f848b1d138089043c..89740cfb8b80c6ff3ebb7ca64cce7b648f472e1e 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#pragma once
+
 #include "ElementAndTextDescendantIterator.h"
 #include "ShadowRoot.h"
 
-#ifndef ComposedTreeIterator_h
-#define ComposedTreeIterator_h
-
 namespace WebCore {
 
 class HTMLSlotElement;
@@ -200,6 +199,4 @@ inline ComposedTreeChildAdapter composedTreeChildren(ContainerNode& parent)
 enum class ComposedTreeAsTextMode { Normal, WithPointers };
 WEBCORE_EXPORT String composedTreeAsText(ContainerNode& root, ComposedTreeAsTextMode = ComposedTreeAsTextMode::Normal);
 
-}
-
-#endif
+} // namespace WebCore
index 39336d94325cdc7daeb5a4f57abd271e73832843..ff7f5e5b743b97571b70902425618a78f21922e7 100644 (file)
@@ -24,8 +24,7 @@
  *
  */
 
-#ifndef CompositionEvent_h
-#define CompositionEvent_h
+#pragma once
 
 #include "UIEvent.h"
 
@@ -71,5 +70,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // CompositionEvent_h
index 55eeecb538582ac1a9c98d7553b75a316df4c068..215150747b1a96a8903e607ed018df1c4c6bda59 100644 (file)
@@ -21,8 +21,7 @@
  *
  */
 
-#ifndef ContainerNode_h
-#define ContainerNode_h
+#pragma once
 
 #include "CollectionType.h"
 #include "ExceptionCodePlaceholder.h"
@@ -255,5 +254,3 @@ private:
 SPECIALIZE_TYPE_TRAITS_BEGIN(WebCore::ContainerNode)
     static bool isType(const WebCore::Node& node) { return node.isContainerNode(); }
 SPECIALIZE_TYPE_TRAITS_END()
-
-#endif // ContainerNode_h
index 313434ce737d69468a54a416c0a54bafdf558b8c..611a0444b0a602b0c8c971092659b2feeae98bec 100644 (file)
@@ -19,8 +19,7 @@
  *
  */
 
-#ifndef ContainerNodeAlgorithms_h
-#define ContainerNodeAlgorithms_h
+#pragma once
 
 #include "Document.h"
 #include "ElementIterator.h"
@@ -49,5 +48,3 @@ inline void disconnectSubframesIfNeeded(ContainerNode& root, SubframeDisconnectP
 }
 
 } // namespace WebCore
-
-#endif // ContainerNodeAlgorithms_h
index 7eba7fc70cb29331ee5ce18a9a1ede15b16d5a10..ebb8d3e783a6866704d9ce6221c7ddba6efd0a9d 100644 (file)
@@ -24,8 +24,7 @@
  *
  */
 
-#ifndef ContextDestructionObserver_h
-#define ContextDestructionObserver_h
+#pragma once
 
 #include "PlatformExportMacros.h"
 
@@ -48,5 +47,3 @@ protected:
 };
 
 } // namespace WebCore
-
-#endif // ContextDestructionObserver_h
index e70c2d1f3287e5a46df48d7ee8f2fce2518948af..a7d63da80664faa0185a4b0a860ed38b7d0aad78 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef CurrentScriptIncrementer_h
-#define CurrentScriptIncrementer_h
+#pragma once
 
 #include "Document.h"
 #include "HTMLScriptElement.h"
@@ -56,6 +55,4 @@ private:
     bool m_isHTMLScriptElementOutsideShadowTree;
 };
 
-}
-
-#endif
+} // namespace WebCore
index e0731f8fe6c35aecfb8ee606145215c7b4492f91..483495f1ef210688179c41ec60f5d3a87095fa6d 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef CustomEvent_h
-#define CustomEvent_h
+#pragma once
 
 #include "Event.h"
 #include "SerializedScriptValue.h"
@@ -68,5 +67,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // CustomEvent_h
index 4508455a556a185d124da3d22bea01447b99a70e..87b421d6c6f0066ec75d34d7df0965b00b69c766 100644 (file)
@@ -26,8 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DOMCoreException_h
-#define DOMCoreException_h
+#pragma once
 
 #include "ExceptionBase.h"
 
@@ -52,5 +51,3 @@ protected:
 };
 
 } // namespace WebCore
-
-#endif // DOMCoreException_h
index b5de096fd82efde581a6dad531825af9ff2afe98..d2495177c52b8095d000b1d0d7b27624d76af3ea 100644 (file)
@@ -24,8 +24,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DOMError_h
-#define DOMError_h
+#pragma once
 
 #include <wtf/RefCounted.h>
 #include <wtf/text/WTFString.h>
@@ -52,5 +51,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // DOMError_h
index 358abd9796db39e53dc80bb971b9d1cd3c1f2e2a..3bcc505ed391f30eb6994390362d602b72dcded6 100644 (file)
@@ -26,8 +26,8 @@
  * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  */
-#ifndef DOMNamedFlowCollection_h
-#define DOMNamedFlowCollection_h
+
+#pragma once
 
 #include "NamedFlowCollection.h"
 #include <wtf/ListHashSet.h>
@@ -61,5 +61,3 @@ private:
 };
 
 } // namespace WebCore
-#endif
-
index a4326ec111a7cb2d99bd440684ca90d67fbf6f18..69cb2d7f932e00a265e08d8ff3b1cb50c1277ce5 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DOMStringList_h
-#define DOMStringList_h
+#pragma once
 
 #include <wtf/RefCounted.h>
 #include <wtf/Vector.h>
@@ -60,6 +59,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // DOMStringList_h
-
index da1e41119c45fa9d1817e6db5cc4b9471b774964..748194fde5b0589dad71f457d8ce6b139063aac3 100644 (file)
@@ -23,8 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DOMStringMap_h
-#define DOMStringMap_h
+#pragma once
 
 #include "DatasetDOMStringMap.h"
 
@@ -33,5 +32,3 @@ namespace WebCore {
 typedef DatasetDOMStringMap DOMStringMap;
 
 } // namespace WebCore
-
-#endif // DOMStringMap_h
index ff615205c83fea246010363ea6d290a1eb2a0ac1..ee21875a94d87e93d9c8c88244d6b086dd422cb6 100644 (file)
@@ -28,8 +28,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DOMTimeStamp_h
-#define DOMTimeStamp_h
+#pragma once
 
 namespace WebCore {
 
@@ -46,5 +45,3 @@ inline double convertDOMTimeStampToSeconds(DOMTimeStamp milliseconds)
 }
 
 } // namespace WebCore
-
-#endif // DOMTimeStamp_h
index e883f80821d92a08f5527d6d0d0525e93aea4d00..4526eb21be52be240bc17c36b2d2df58c5b55ef7 100644 (file)
@@ -21,8 +21,7 @@
  *
  */
 
-#ifndef DataTransfer_h
-#define DataTransfer_h
+#pragma once
 
 #include "CachedResourceHandle.h"
 #include "DataTransferAccessPolicy.h"
@@ -124,5 +123,3 @@ namespace WebCore {
     };
 
 } // namespace WebCore
-
-#endif // DataTransfer_h
index 714f566c2f2edc94ce5e511e2f84ea8f30f02de4..a50e87aa9c391490d1a9aa31b2007a19b5d2e22c 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#ifndef DataTransferAccessPolicy_h
-#define DataTransferAccessPolicy_h
+#pragma once
 
 namespace WebCore {
 
@@ -32,6 +31,4 @@ enum class DataTransferAccessPolicy {
     Numb, ImageWritable, Writable, TypesReadable, Readable
 };
 
-} // namespace
-
-#endif
+} // namespace WebCore
index 4648c2a67ca8047c03aa5b753fdd6900103a4dc2..291f9257f06b86d80192c27473640c7d86b09eec 100644 (file)
@@ -28,8 +28,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DataTransferItem_h
-#define DataTransferItem_h
+#pragma once
 
 #if ENABLE(DATA_TRANSFER_ITEMS)
 
@@ -39,9 +38,7 @@
 namespace WebCore {
 
 class Blob;
-class File;
 class StringCallback;
-class ScriptExecutionContext;
 
 class DataTransferItem : public RefCounted<DataTransferItem> {
 public:
@@ -60,5 +57,3 @@ public:
 } // namespace WebCore
 
 #endif // ENABLE(DATA_TRANSFER_ITEMS)
-
-#endif // DataTransferItem_h
index c81e28be8779ed142dcebc78c5a6912825928283..bbb06a3e8a7dd01fdf1d2f91cff4510bd4e67d16 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
  
-#ifndef DecodedDataDocumentParser_h
-#define DecodedDataDocumentParser_h
+#pragma once
 
 #include "DocumentParser.h"
 
@@ -48,6 +47,4 @@ private:
     void flush(DocumentWriter&) override;
 };
 
-}
-
-#endif // DecodedDataDocumentParser_h
+} // namespace WebCore
index 7533f6c608d94b82765f20c0979534264cc643be..dbe9abee80559a345f597bec98436a3ca5b937f2 100644 (file)
@@ -24,8 +24,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DeviceMotionClient_h
-#define DeviceMotionClient_h
+#pragma once
 
 #include "DeviceClient.h"
 #include <wtf/Noncopyable.h>
@@ -49,5 +48,3 @@ public:
 void provideDeviceMotionTo(Page*, DeviceMotionClient*);
 
 } // namespace WebCore
-
-#endif // DeviceMotionClient_h
index c02fd1f8e376381440768705f55c34d05a47ccde..8cd2e294637504e689d95c9ead34c5cc5046a135 100644 (file)
@@ -24,8 +24,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DeviceMotionController_h
-#define DeviceMotionController_h
+#pragma once
 
 #include "DeviceController.h"
 #include <wtf/Noncopyable.h>
@@ -60,5 +59,3 @@ public:
 };
 
 } // namespace WebCore
-
-#endif // DeviceMotionController_h
index 1e77e210d2afe3d1eeaa9658c843f3e3728a736b..04d5b50e846ade5eab534480a18b4b8b2a31cb19 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DeviceMotionData_h
-#define DeviceMotionData_h
+#pragma once
 
 #include <wtf/RefCounted.h>
 #include <wtf/RefPtr.h>
@@ -102,5 +101,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // DeviceMotionData_h
index 38a6a829b488e9fde9599de00bc4556f15236743..da658913799203fb425772d7d1739e8ee2a2a343 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#ifndef DeviceMotionEvent_h
-#define DeviceMotionEvent_h
+#pragma once
 
 #include "Event.h"
 
@@ -60,5 +59,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // DeviceMotionEvent_h
index 684603a235124fff2649dda0dc8da1261b014f8e..37763633b7a5e0efed6ea6da92283d3a9292d9da 100644 (file)
@@ -24,8 +24,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DeviceOrientationClient_h
-#define DeviceOrientationClient_h
+#pragma once
 
 #include "DeviceClient.h"
 #include "PlatformExportMacros.h"
@@ -50,5 +49,3 @@ public:
 WEBCORE_EXPORT void provideDeviceOrientationTo(Page*, DeviceOrientationClient*);
 
 } // namespace WebCore
-
-#endif // DeviceOrientationClient_h
index 4123a55cd31c984fdb94b21e6026e4a0205e250c..fb2c6bb58676c5ca5f8bdedceae70c8fb8b2ba0f 100644 (file)
@@ -24,8 +24,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DeviceOrientationController_h
-#define DeviceOrientationController_h
+#pragma once
 
 #include "DeviceController.h"
 #include <wtf/Noncopyable.h>
@@ -61,5 +60,3 @@ public:
 };
 
 } // namespace WebCore
-
-#endif // DeviceOrientationController_h
index 1b00f71180a5ad104ebc71e4f175cfa1120556b3..be7111f4c9da1a155044b916d9df2326390d216e 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DeviceOrientationData_h
-#define DeviceOrientationData_h
+#pragma once
 
 #include "PlatformExportMacros.h"
 #include <wtf/Ref.h>
@@ -86,5 +85,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // DeviceOrientationData_h
index 51497180239cbac7524d230ff566f64b9fdb0200..d3733289cbf427f4e910ed6cfd06624eac6a2465 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DeviceOrientationEvent_h
-#define DeviceOrientationEvent_h
+#pragma once
 
 #include "Event.h"
 
@@ -59,5 +58,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // DeviceOrientationEvent_h
index 0dc0ca0a8dba88ed9619f3d96271e9210e880ee1..973b0d1367e7f07511322a98c526d5d3df6e5b0b 100644 (file)
@@ -25,8 +25,7 @@
  *
  */
 
-#ifndef DocumentEventQueue_h
-#define DocumentEventQueue_h
+#pragma once
 
 #include "EventQueue.h"
 #include <memory>
@@ -63,6 +62,4 @@ private:
     bool m_isClosed;
 };
 
-}
-
-#endif // DocumentEventQueue_h
+} // namespace WebCore
index dae0b6edad5fdc67a5144a189f988020187a963e..9110e8729d52482544770f29af44dcb9ce3542ab 100644 (file)
@@ -20,8 +20,7 @@
  *
  */
 
-#ifndef DocumentMarker_h
-#define DocumentMarker_h
+#pragma once
 
 #include <wtf/Forward.h>
 #include <wtf/RefCounted.h>
@@ -212,8 +211,7 @@ inline void DocumentMarker::setMetadata(id metadata)
 }
 #endif
 
-class DocumentMarkerDetails : public RefCounted<DocumentMarkerDetails>
-{
+class DocumentMarkerDetails : public RefCounted<DocumentMarkerDetails> {
 public:
     DocumentMarkerDetails() { }
     virtual ~DocumentMarkerDetails();
@@ -222,5 +220,3 @@ public:
 };
 
 } // namespace WebCore
-
-#endif // DocumentMarker_h
index 4bc0690a15ccfbe0306fbf5048942b33dca3312a..6d2f552f80bba1da4e9594aa0efc5bc7683e5c51 100644 (file)
@@ -24,8 +24,7 @@
  *
  */
 
-#ifndef DocumentMarkerController_h
-#define DocumentMarkerController_h
+#pragma once
 
 #include "DocumentMarker.h"
 #include "IntRect.h"
@@ -118,5 +117,3 @@ private:
 #if ENABLE(TREE_DEBUGGING)
 void showDocumentMarkers(const WebCore::DocumentMarkerController*);
 #endif
-
-#endif // DocumentMarkerController_h
index 378c9ebf9d0be0dc2d4ab133a45fb83a69ee5655..ac7b96caa801ef38cf6520088b5352f53e083074 100644 (file)
@@ -28,8 +28,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef DocumentOrderedMap_h
-#define DocumentOrderedMap_h
+#pragma once
 
 #include <wtf/HashMap.h>
 #include <wtf/HashSet.h>
@@ -109,5 +108,3 @@ inline bool DocumentOrderedMap::containsMultiple(const AtomicStringImpl& id) con
 }
 
 } // namespace WebCore
-
-#endif // DocumentOrderedMap_h
index 0afd9ffd65dc6ddc116a6b2e0ad08290dc6ce16a..8f30a61b6c816f4931e597eed03fa215941c0db0 100644 (file)
@@ -21,8 +21,7 @@
  *
  */
 
-#ifndef DocumentParser_h
-#define DocumentParser_h
+#pragma once
 
 #include <wtf/Forward.h>
 #include <wtf/RefCounted.h>
@@ -116,5 +115,3 @@ private:
 };
 
 } // namespace WebCore
-
-#endif // DocumentParser_h
index bfe7d3b19880b4fd95ec8fe769a8c59439baf9b0..22fccba24479b68e6b6d844cbe51a70ae3185cea 100644 (file)
@@ -24,8 +24,7 @@
  *
  */
 
-#ifndef DocumentSharedObjectPool_h
-#define DocumentSharedObjectPool_h
+#pragma once
 
 #include <memory>
 #include <wtf/HashMap.h>
@@ -47,6 +46,4 @@ private:
     ShareableElementDataCache m_shareableElementDataCache;
 };
 
-}
-
-#endif
+} // namespace WebCore
index 8fa8dca383ce4ab825f0b9805f4d673ed45e668f..57cab26440b4758773bd69ed69d0b0597dd8c409 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#ifndef DocumentTiming_h
-#define DocumentTiming_h
+#pragma once
 
 #if ENABLE(WEB_TIMING)
 
@@ -47,8 +46,6 @@ struct DocumentTiming {
     double domComplete;
 };
 
-}
+} // namespace WebCore
 
-#endif
-
-#endif
+#endif // ENABLE(WEB_TIMING)
index afa545d47c02c3dad1b6fe0a3bafc2297cef1191..64928376f0d5bdcadbc309e301abafd3bed63cca 100644 (file)
@@ -21,8 +21,7 @@
  *
  */
 
-#ifndef DocumentType_h
-#define DocumentType_h
+#pragma once
 
 #include "Node.h"
 
@@ -58,5 +57,3 @@ private:
 SPECIALIZE_TYPE_TRAITS_BEGIN(WebCore::DocumentType)
     static bool isType(const WebCore::Node& node) { return node.nodeType() == WebCore::Node::DOCUMENT_TYPE_NODE; }
 SPECIALIZE_TYPE_TRAITS_END()
-
-#endif
index 65f68813a9c8bf47a25db5097fb0f2b335a9b528..4b62d38b38fd3849c737aca87ef84527f83755f0 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ElementAncestorIterator_h
-#define ElementAncestorIterator_h
+#pragma once
 
 #include "ElementIterator.h"
 
@@ -211,6 +210,4 @@ inline ElementAncestorConstIteratorAdapter<ElementType> ancestorsOfType(const No
     return ElementAncestorConstIteratorAdapter<ElementType>(first);
 }
 
-}
-
-#endif
+} // namespace WebCore
index f83afe849493459ac73e859bdf98c429d8c71fcf..2c0c08dd457f5918a672a37300c0cdc0ca1a2db5 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ElementAndTextDescendantIterator_h
-#define ElementAndTextDescendantIterator_h
+#pragma once
 
 #include "Element.h"
 #include "ElementIteratorAssertions.h"
@@ -319,5 +318,4 @@ inline ElementAndTextDescendantIteratorAdapter elementAndTextDescendants(Contain
     return ElementAndTextDescendantIteratorAdapter(root);
 }
 
-}
-#endif
+} // namespace WebCore
index 1a946bb8fb193c6045209ffbd52cd35a89cfec9e..8e38fb5032a823776e2a7bca3ac258cb1506c400 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ElementChildIterator_h
-#define ElementChildIterator_h
+#pragma once
 
 #include "ElementIterator.h"
 
@@ -240,6 +239,4 @@ inline ElementChildConstIteratorAdapter<ElementType> childrenOfType(const Contai
     return ElementChildConstIteratorAdapter<ElementType>(parent);
 }
 
-}
-
-#endif
+} // namespace WebCore
index 46da40f91c9c733475075482b16877037ff7bc9b..f6d1eafd736b2aa826beb2b7fe054ffc2d59b653 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ElementData_h
-#define ElementData_h
+#pragma once
 
 #include "Attribute.h"
 #include "SpaceSplitString.h"
@@ -347,6 +346,3 @@ SPECIALIZE_TYPE_TRAITS_END()
 SPECIALIZE_TYPE_TRAITS_BEGIN(WebCore::UniqueElementData)
     static bool isType(const WebCore::ElementData& elementData) { return elementData.isUnique(); }
 SPECIALIZE_TYPE_TRAITS_END()
-
-#endif // ElementData_h
-
index 83fefbf5bcabcaadd398139e24655e7a6fdcbcc7..6ba171db55866d87c239db315db5997d6aa07e2e 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ElementDescendantIterator_h
-#define ElementDescendantIterator_h
+#pragma once
 
 #include "Element.h"
 #include "ElementIteratorAssertions.h"
@@ -355,7 +354,7 @@ inline ElementDescendantConstIteratorAdapter elementDescendants(const ContainerN
     return ElementDescendantConstIteratorAdapter(root);
 }
 
-}
+} // namespace WebCore
 
 namespace std {
 template <> struct iterator_traits<WebCore::ElementDescendantIterator> {
@@ -365,4 +364,3 @@ template <> struct iterator_traits<WebCore::ElementDescendantConstIterator> {
     typedef const WebCore::Element value_type;
 };
 }
-#endif
index 8ba889772ad2bd2754238ac34f26cdea0413090e..da7d935f8d858d3686367fb1ce8af6c6d5f99e26 100644 (file)
@@ -23,8 +23,7 @@