Remove spaces between template angle brackets
https://bugs.webkit.org/show_bug.cgi?id=123040
Reviewed by Andreas Kling.
Source/JavaScriptCore:
* API/JSCallbackObject.cpp:
(JSC::::create):
* API/JSObjectRef.cpp:
* bytecode/CodeBlock.h:
(JSC::CodeBlock::constants):
(JSC::CodeBlock::setConstantRegisters):
* bytecode/DFGExitProfile.h:
* bytecode/EvalCodeCache.h:
* bytecode/Operands.h:
* bytecode/UnlinkedCodeBlock.h:
(JSC::UnlinkedCodeBlock::constantRegisters):
* bytecode/Watchpoint.h:
* bytecompiler/BytecodeGenerator.h:
* bytecompiler/StaticPropertyAnalysis.h:
* bytecompiler/StaticPropertyAnalyzer.h:
* dfg/DFGArgumentsSimplificationPhase.cpp:
* dfg/DFGBlockInsertionSet.h:
* dfg/DFGCSEPhase.cpp:
(JSC::DFG::performCSE):
(JSC::DFG::performStoreElimination):
* dfg/DFGCommonData.h:
* dfg/DFGDesiredStructureChains.h:
* dfg/DFGDesiredWatchpoints.h:
* dfg/DFGJITCompiler.h:
* dfg/DFGOSRExitCompiler32_64.cpp:
(JSC::DFG::OSRExitCompiler::compileExit):
* dfg/DFGOSRExitCompiler64.cpp:
(JSC::DFG::OSRExitCompiler::compileExit):
* dfg/DFGWorklist.h:
* heap/BlockAllocator.h:
(JSC::CopiedBlock):
(JSC::MarkedBlock):
(JSC::WeakBlock):
(JSC::MarkStackSegment):
(JSC::CopyWorkListSegment):
(JSC::HandleBlock):
* heap/Heap.h:
* heap/Local.h:
* heap/MarkedBlock.h:
* heap/Strong.h:
* jit/AssemblyHelpers.cpp:
(JSC::AssemblyHelpers::decodedCodeMapFor):
* jit/AssemblyHelpers.h:
* jit/SpecializedThunkJIT.h:
* parser/Nodes.h:
* parser/Parser.cpp:
(JSC::::parseIfStatement):
* parser/Parser.h:
(JSC::Scope::copyCapturedVariablesToVector):
(JSC::parse):
* parser/ParserArena.h:
* parser/SourceProviderCacheItem.h:
* profiler/LegacyProfiler.cpp:
(JSC::dispatchFunctionToProfiles):
* profiler/LegacyProfiler.h:
(JSC::LegacyProfiler::currentProfiles):
* profiler/ProfileNode.h:
(JSC::ProfileNode::children):
* profiler/ProfilerDatabase.h:
* runtime/Butterfly.h:
(JSC::Butterfly::contiguousInt32):
(JSC::Butterfly::contiguous):
* runtime/GenericTypedArrayViewInlines.h:
(JSC::::create):
* runtime/Identifier.h:
(JSC::Identifier::add):
* runtime/JSPromise.h:
* runtime/PropertyMapHashTable.h:
* runtime/PropertyNameArray.h:
* runtime/RegExpCache.h:
* runtime/SparseArrayValueMap.h:
* runtime/SymbolTable.h:
* runtime/VM.h:
* tools/CodeProfile.cpp:
(JSC::truncateTrace):
* tools/CodeProfile.h:
* yarr/YarrInterpreter.cpp:
* yarr/YarrInterpreter.h:
(JSC::Yarr::BytecodePattern::BytecodePattern):
* yarr/YarrJIT.cpp:
(JSC::Yarr::YarrGenerator::opCompileParenthesesSubpattern):
(JSC::Yarr::YarrGenerator::opCompileParentheticalAssertion):
(JSC::Yarr::YarrGenerator::opCompileBody):
* yarr/YarrPattern.cpp:
(JSC::Yarr::YarrPatternConstructor::checkForTerminalParentheses):
(JSC::Yarr::YarrPatternConstructor::optimizeDotStarWrappedExpressions):
* yarr/YarrPattern.h:
Source/WebCore:
* Modules/encryptedmedia/MediaKeySession.h:
* Modules/encryptedmedia/MediaKeys.h:
* Modules/geolocation/Geolocation.h:
* Modules/geolocation/GeolocationController.cpp:
(WebCore::GeolocationController::positionChanged):
(WebCore::GeolocationController::errorOccurred):
* Modules/geolocation/GeolocationController.h:
* Modules/indexeddb/IDBCallbacks.h:
* Modules/indexeddb/IDBDatabase.h:
* Modules/indexeddb/IDBDatabaseBackendInterface.h:
* Modules/indexeddb/IDBEventDispatcher.cpp:
(WebCore::IDBEventDispatcher::dispatch):
* Modules/indexeddb/IDBEventDispatcher.h:
* Modules/indexeddb/IDBKey.h:
* Modules/indexeddb/IDBObjectStore.h:
* Modules/indexeddb/IDBPendingTransactionMonitor.cpp:
* Modules/indexeddb/IDBRequest.cpp:
(WebCore::IDBRequest::dispatchEvent):
* Modules/indexeddb/IDBRequest.h:
(WebCore::IDBRequest::onSuccessWithPrefetch):
* Modules/indexeddb/IDBTransaction.cpp:
(WebCore::IDBTransaction::dispatchEvent):
* Modules/indexeddb/IDBTransaction.h:
* Modules/mediacontrols/MediaControlsHost.cpp:
(WebCore::MediaControlsHost::sortedTrackListForMenu):
* Modules/mediacontrols/MediaControlsHost.h:
* Modules/mediasource/MediaSource.cpp:
(WebCore::MediaSource::activeRanges):
* Modules/mediasource/MediaSource.h:
* Modules/mediasource/MediaSourceBase.cpp:
(WebCore::MediaSourceBase::buffered):
* Modules/mediasource/MediaSourceBase.h:
* Modules/mediasource/MediaSourceRegistry.cpp:
(WebCore::MediaSourceRegistry::unregisterURL):
* Modules/mediasource/MediaSourceRegistry.h:
* Modules/mediasource/SourceBufferList.h:
* Modules/mediasource/WebKitMediaSource.cpp:
(WebCore::WebKitMediaSource::activeRanges):
* Modules/mediasource/WebKitMediaSource.h:
* Modules/mediasource/WebKitSourceBufferList.h:
* Modules/mediastream/MediaStream.cpp:
(WebCore::MediaStream::scheduledEventTimerFired):
* Modules/mediastream/MediaStream.h:
* Modules/mediastream/MediaStreamRegistry.h:
* Modules/mediastream/MediaStreamTrack.h:
* Modules/mediastream/RTCDTMFSender.cpp:
(WebCore::RTCDTMFSender::scheduledEventTimerFired):
* Modules/mediastream/RTCDTMFSender.h:
* Modules/mediastream/RTCDataChannel.cpp:
(WebCore::RTCDataChannel::scheduledEventTimerFired):
* Modules/mediastream/RTCDataChannel.h:
* Modules/mediastream/RTCPeerConnection.cpp:
(WebCore::RTCPeerConnection::stop):
(WebCore::RTCPeerConnection::scheduledEventTimerFired):
* Modules/mediastream/RTCPeerConnection.h:
* Modules/mediastream/RTCStatsResponse.h:
(WebCore::RTCStatsResponse::result):
* Modules/notifications/Notification.h:
* Modules/notifications/NotificationCenter.h:
* Modules/speech/SpeechSynthesis.cpp:
(WebCore::SpeechSynthesis::getVoices):
* Modules/speech/SpeechSynthesis.h:
* Modules/webaudio/AudioBuffer.h:
* Modules/webaudio/AudioNode.h:
* Modules/webaudio/AudioNodeOutput.h:
* Modules/webaudio/MediaStreamAudioSource.cpp:
(WebCore::MediaStreamAudioSource::setAudioFormat):
(WebCore::MediaStreamAudioSource::consumeAudio):
* Modules/webaudio/PeriodicWave.h:
* Modules/webaudio/ScriptProcessorNode.h:
* Modules/webdatabase/AbstractDatabaseServer.h:
* Modules/webdatabase/DatabaseBackend.h:
* Modules/webdatabase/DatabaseManager.cpp:
(WebCore::DatabaseManager::origins):
* Modules/webdatabase/DatabaseManager.h:
* Modules/webdatabase/DatabaseServer.cpp:
(WebCore::DatabaseServer::origins):
* Modules/webdatabase/DatabaseServer.h:
* Modules/webdatabase/DatabaseThread.h:
* Modules/webdatabase/DatabaseTracker.cpp:
(WebCore::DatabaseTracker::interruptAllDatabasesForContext):
(WebCore::DatabaseTracker::origins):
(WebCore::DatabaseTracker::getOpenDatabases):
(WebCore::DatabaseTracker::deleteAllDatabases):
(WebCore::DatabaseTracker::deleteDatabaseFile):
* Modules/webdatabase/DatabaseTracker.h:
* Modules/webdatabase/SQLStatementBackend.cpp:
* Modules/webdatabase/SQLTransactionBackend.cpp:
* Modules/webdatabase/SQLTransactionBackend.h:
* Modules/webdatabase/SQLTransactionCoordinator.cpp:
(WebCore::SQLTransactionCoordinator::shutdown):
* Modules/webdatabase/SQLTransactionCoordinator.h:
* Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp:
(WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveBinaryData):
(WebCore::ThreadableWebSocketChannelClientWrapper::processPendingTasks):
(WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveBinaryDataCallback):
* Modules/websockets/ThreadableWebSocketChannelClientWrapper.h:
* Modules/websockets/WebSocket.cpp:
(WebCore::WebSocket::didReceiveBinaryData):
* Modules/websockets/WebSocket.h:
* Modules/websockets/WebSocketChannel.cpp:
(WebCore::WebSocketChannel::processFrame):
* Modules/websockets/WebSocketChannel.h:
* Modules/websockets/WebSocketChannelClient.h:
(WebCore::WebSocketChannelClient::didReceiveBinaryData):
* Modules/websockets/WebSocketExtensionDispatcher.h:
* Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
(WebCore::workerGlobalScopeDidReceiveBinaryData):
(WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveBinaryData):
(WebCore::WorkerThreadableWebSocketChannel::mainThreadSendArrayBuffer):
(WebCore::WorkerThreadableWebSocketChannel::Bridge::send):
* Modules/websockets/WorkerThreadableWebSocketChannel.h:
* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::~AXObjectCache):
* accessibility/AXObjectCache.h:
* accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::ariaLabeledByText):
* accessibility/AccessibilityObject.h:
(WebCore::AccessibilityText::AccessibilityText):
* bindings/js/DOMWrapperWorld.h:
* bindings/js/JSDOMBinding.h:
(WebCore::toRefPtrNativeArray):
* bindings/js/JSDOMGlobalObject.h:
* bindings/js/JSMutationCallback.cpp:
(WebCore::JSMutationCallback::call):
* bindings/js/JSMutationCallback.h:
* bindings/js/JSWebGLRenderingContextCustom.cpp:
(WebCore::JSWebGLRenderingContext::getAttachedShaders):
* bindings/js/PageScriptDebugServer.h:
* bindings/js/ScheduledAction.h:
* bindings/js/ScriptController.cpp:
(WebCore::ScriptController::collectIsolatedContexts):
* bindings/js/ScriptController.h:
* bindings/js/ScriptDebugServer.h:
* bindings/js/ScriptProfile.cpp:
(WebCore::buildInspectorObjectFor):
* bindings/objc/ObjCNodeFilterCondition.h:
* bridge/objc/objc_class.h:
* bridge/runtime_root.cpp:
(JSC::Bindings::RootObject::invalidate):
* bridge/runtime_root.h:
* css/BasicShapeFunctions.cpp:
(WebCore::basicShapeForValue):
* css/CSSBasicShapes.h:
(WebCore::CSSBasicShapePolygon::values):
* css/CSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::valueForFilter):
* css/CSSFontFace.h:
* css/CSSFontFaceSource.h:
* css/CSSFontSelector.cpp:
(WebCore::CSSFontSelector::addFontFaceRule):
(WebCore::CSSFontSelector::getFontFace):
(WebCore::CSSFontSelector::beginLoadTimerFired):
* css/CSSFontSelector.h:
* css/CSSGroupingRule.h:
* css/CSSImageGeneratorValue.h:
* css/CSSParserValues.cpp:
(WebCore::CSSParserSelector::adoptSelectorVector):
* css/CSSParserValues.h:
* css/CSSPropertySourceData.h:
* css/CSSRuleList.h:
(WebCore::StaticCSSRuleList::rules):
* css/CSSSegmentedFontFace.cpp:
(WebCore::CSSSegmentedFontFace::fontLoaded):
* css/CSSSegmentedFontFace.h:
* css/CSSSelectorList.cpp:
(WebCore::CSSSelectorList::adoptSelectorVector):
* css/CSSSelectorList.h:
* css/CSSStyleSheet.h:
* css/CSSValue.h:
(WebCore::compareCSSValueVector):
* css/CSSValuePool.h:
* css/DocumentRuleSets.cpp:
(WebCore::DocumentRuleSets::collectRulesFromUserStyleSheets):
(WebCore::DocumentRuleSets::appendAuthorStyleSheets):
* css/DocumentRuleSets.h:
* css/ElementRuleCollector.cpp:
(WebCore::ElementRuleCollector::matchedRuleList):
* css/ElementRuleCollector.h:
* css/FontLoader.h:
* css/InspectorCSSOMWrappers.cpp:
(WebCore::InspectorCSSOMWrappers::collectFromStyleSheetContents):
(WebCore::InspectorCSSOMWrappers::collectFromStyleSheets):
* css/InspectorCSSOMWrappers.h:
* css/MediaList.cpp:
(WebCore::MediaQuerySet::parse):
(WebCore::MediaList::item):
(WebCore::reportMediaQueryWarningIfNeeded):
* css/MediaList.h:
(WebCore::MediaQuerySet::queryVector):
* css/MediaQueryEvaluator.cpp:
(WebCore::MediaQueryEvaluator::eval):
* css/MediaQueryMatcher.h:
* css/PropertySetCSSStyleDeclaration.cpp:
(WebCore::PropertySetCSSStyleDeclaration::cloneAndCacheForCSSOM):
* css/PropertySetCSSStyleDeclaration.h:
* css/RuleSet.cpp:
(WebCore::RuleSet::addToRuleSet):
(WebCore::RuleSet::addRegionRule):
(WebCore::RuleSet::addChildRules):
(WebCore::RuleSet::addRulesFromSheet):
* css/RuleSet.h:
* css/SelectorFilter.h:
* css/StyleInvalidationAnalysis.cpp:
(WebCore::StyleInvalidationAnalysis::analyzeStyleSheet):
* css/StylePropertySet.cpp:
(WebCore::StylePropertySet::getLayeredShorthandValue):
* css/StyleResolver.cpp:
(WebCore::StyleResolver::appendAuthorStyleSheets):
(WebCore::StyleResolver::keyframeStylesForAnimation):
(WebCore::StyleResolver::styleRulesForElement):
(WebCore::StyleResolver::pseudoStyleRulesForElement):
(WebCore::StyleResolver::resolveVariables):
(WebCore::StyleResolver::applyProperty):
(WebCore::StyleResolver::loadPendingSVGDocuments):
(WebCore::StyleResolver::loadPendingShaders):
* css/StyleResolver.h:
* css/StyleRule.cpp:
(WebCore::StyleRule::splitIntoMultipleRulesWithMaximumSelectorComponentCount):
(WebCore::StyleRuleGroup::StyleRuleGroup):
(WebCore::StyleRuleMedia::StyleRuleMedia):
(WebCore::StyleRuleSupports::StyleRuleSupports):
(WebCore::StyleRuleRegion::StyleRuleRegion):
* css/StyleRule.h:
(WebCore::StyleRule::parserAdoptSelectorVector):
(WebCore::StyleRulePage::parserAdoptSelectorVector):
(WebCore::StyleRuleGroup::childRules):
(WebCore::StyleRuleMedia::create):
(WebCore::StyleRuleSupports::create):
(WebCore::StyleRuleRegion::create):
(WebCore::StyleRuleHost::create):
(WebCore::StyleRuleHost::StyleRuleHost):
* css/StyleScopeResolver.h:
* css/StyleSheetContents.cpp:
(WebCore::StyleSheetContents::parserAppendRule):
(WebCore::childRulesHaveFailedOrCanceledSubresources):
* css/StyleSheetContents.h:
(WebCore::StyleSheetContents::childRules):
(WebCore::StyleSheetContents::importRules):
* css/StyleSheetList.cpp:
(WebCore::StyleSheetList::styleSheets):
(WebCore::StyleSheetList::item):
* css/StyleSheetList.h:
* css/WebKitCSSKeyframesRule.h:
(WebCore::StyleRuleKeyframes::keyframes):
* dom/CheckedRadioButtons.h:
* dom/ClientRectList.h:
* dom/ContainerNode.h:
(WebCore::ChildNodesLazySnapshot::nextNode):
(WebCore::ChildNodesLazySnapshot::takeSnapshot):
* dom/CrossThreadTask.h:
* dom/Document.cpp:
(WebCore::Document::webkitCancelFullScreen):
(WebCore::Document::webkitExitFullscreen):
(WebCore::Document::fullScreenChangeDelayTimerFired):
(WebCore::Document::didAssociateFormControlsTimerFired):
* dom/Document.h:
* dom/DocumentMarkerController.cpp:
(WebCore::DocumentMarkerController::removeMarkers):
* dom/DocumentMarkerController.h:
* dom/DocumentStyleSheetCollection.cpp:
(WebCore::DocumentStyleSheetCollection::injectedUserStyleSheets):
(WebCore::DocumentStyleSheetCollection::injectedAuthorStyleSheets):
(WebCore::DocumentStyleSheetCollection::collectActiveStyleSheets):
(WebCore::DocumentStyleSheetCollection::analyzeStyleSheetChange):
(WebCore::styleSheetsUseRemUnits):
(WebCore::filterEnabledNonemptyCSSStyleSheets):
(WebCore::collectActiveCSSStyleSheetsFromSeamlessParents):
(WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets):
* dom/DocumentStyleSheetCollection.h:
* dom/Element.cpp:
(WebCore::Element::attrNodeList):
(WebCore::Element::webkitGetRegionFlowRanges):
* dom/Element.h:
* dom/EventListenerMap.h:
* dom/EventSender.h:
(WebCore::EventSender::timerFired):
* dom/IdTargetObserverRegistry.h:
* dom/MutationCallback.h:
* dom/MutationObserver.cpp:
(WebCore::MutationObserver::takeRecords):
(WebCore::MutationObserver::deliver):
(WebCore::MutationObserver::deliverAllMutations):
* dom/MutationObserver.h:
* dom/MutationObserverRegistration.h:
* dom/NamedFlowCollection.cpp:
(WebCore::NamedFlowCollection::namedFlows):
* dom/NamedFlowCollection.h:
* dom/Node.cpp:
(WebCore::Node::didMoveToNewDocument):
(WebCore::Node::mutationObserverRegistry):
(WebCore::Node::registerMutationObserver):
(WebCore::Node::unregisterMutationObserver):
(WebCore::Node::notifyMutationObserversNodeWillDetach):
* dom/Node.h:
* dom/NodeRareData.h:
* dom/Range.cpp:
(WebCore::Range::processContents):
(WebCore::Range::processNodes):
(WebCore::Range::processAncestorsAndTheirSiblings):
* dom/Range.h:
* dom/ScopedEventQueue.h:
* dom/ScriptExecutionContext.cpp:
(WebCore::ScriptExecutionContext::reportException):
* dom/ScriptExecutionContext.h:
* dom/ScriptedAnimationController.h:
* editing/ApplyStyleCommand.cpp:
(WebCore::ApplyStyleCommand::applyRelativeFontStyleChange):
* editing/BreakBlockquoteCommand.cpp:
(WebCore::BreakBlockquoteCommand::doApply):
* editing/CompositeEditCommand.cpp:
(WebCore::CompositeEditCommand::removeChildrenInRange):
(WebCore::CompositeEditCommand::deleteInsignificantText):
(WebCore::CompositeEditCommand::cloneParagraphUnderNewElement):
* editing/CompositeEditCommand.h:
* editing/EditingStyle.cpp:
(WebCore::htmlElementEquivalents):
(WebCore::EditingStyle::conflictsWithImplicitStyleOfElement):
(WebCore::htmlAttributeEquivalents):
(WebCore::EditingStyle::conflictsWithImplicitStyleOfAttributes):
(WebCore::EditingStyle::extractConflictingImplicitStyleOfAttributes):
(WebCore::EditingStyle::elementIsStyledSpanOrHTMLEquivalent):
(WebCore::EditingStyle::mergeInlineAndImplicitStyleOfElement):
(WebCore::styleFromMatchedRulesForElement):
* editing/Editor.cpp:
(WebCore::Editor::countMatchesForText):
* editing/Editor.h:
* editing/InsertParagraphSeparatorCommand.cpp:
(WebCore::InsertParagraphSeparatorCommand::getAncestorsInsideBlock):
(WebCore::InsertParagraphSeparatorCommand::cloneHierarchyUnderNewBlock):
(WebCore::InsertParagraphSeparatorCommand::doApply):
* editing/InsertParagraphSeparatorCommand.h:
* editing/MergeIdenticalElementsCommand.cpp:
(WebCore::MergeIdenticalElementsCommand::doApply):
(WebCore::MergeIdenticalElementsCommand::doUnapply):
* editing/RemoveNodePreservingChildrenCommand.cpp:
(WebCore::RemoveNodePreservingChildrenCommand::doApply):
* editing/ReplaceSelectionCommand.cpp:
(WebCore::ReplacementFragment::removeUnrenderedNodes):
* editing/SimplifyMarkupCommand.cpp:
(WebCore::SimplifyMarkupCommand::doApply):
(WebCore::SimplifyMarkupCommand::pruneSubsequentAncestorsToRemove):
* editing/SimplifyMarkupCommand.h:
* editing/SpellChecker.h:
* editing/SplitElementCommand.cpp:
(WebCore::SplitElementCommand::executeApply):
(WebCore::SplitElementCommand::doUnapply):
* editing/WrapContentsInDummySpanCommand.cpp:
(WebCore::WrapContentsInDummySpanCommand::executeApply):
(WebCore::WrapContentsInDummySpanCommand::doUnapply):
* editing/mac/AlternativeTextUIController.h:
* fileapi/FileList.h:
* history/BackForwardList.h:
* history/HistoryItem.cpp:
(WebCore::HistoryItem::setRedirectURLs):
* history/HistoryItem.h:
* history/mac/HistoryItemMac.mm:
(WebCore::HistoryItem::setTransientProperty):
* html/FormController.h:
* html/HTMLAnchorElement.cpp:
* html/HTMLCollection.cpp:
(WebCore::HTMLCollection::append):
* html/HTMLCollection.h:
* html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::checkValidity):
* html/HTMLFormControlElement.h:
* html/HTMLFormElement.cpp:
(WebCore::HTMLFormElement::validateInteractively):
(WebCore::HTMLFormElement::checkValidity):
(WebCore::HTMLFormElement::checkInvalidControlsAndCollectUnhandled):
* html/HTMLFormElement.h:
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::updateActiveTextTrackCues):
(WebCore::HTMLMediaElement::platformTextTracks):
(WebCore::HTMLMediaElement::configureTextTrackGroup):
* html/HTMLMediaElement.h:
* html/HTMLPlugInImageElement.cpp:
* html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::setLength):
* html/MediaController.cpp:
(MediaController::asyncEventTimerFired):
* html/MediaController.h:
* html/MediaFragmentURIParser.h:
* html/ValidationMessage.h:
* html/canvas/WebGLFramebuffer.h:
* html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::getAttachedShaders):
* html/canvas/WebGLRenderingContext.h:
* html/canvas/WebGLTexture.h:
* html/parser/BackgroundHTMLParser.cpp:
(WebCore::BackgroundHTMLParser::BackgroundHTMLParser):
* html/parser/BackgroundHTMLParser.h:
(WebCore::BackgroundHTMLParser::create):
* html/parser/HTMLDocumentParser.cpp:
(WebCore::HTMLDocumentParser::startBackgroundParser):
* html/parser/HTMLDocumentParser.h:
* html/parser/HTMLMetaCharsetParser.h:
* html/parser/HTMLPreloadScanner.cpp:
(WebCore::TokenPreloadScanner::scan):
(WebCore::TokenPreloadScanner::scanCommon):
* html/parser/HTMLResourcePreloader.h:
* html/parser/XSSAuditor.h:
* html/shadow/ContentDistributor.cpp:
(WebCore::ContentDistributor::ensureInsertionPointList):
(WebCore::ContentDistributor::distribute):
(WebCore::ContentDistributor::invalidate):
* html/shadow/ContentDistributor.h:
* html/shadow/MediaControlElements.cpp:
(WebCore::MediaControlClosedCaptionsTrackListElement::rebuildTrackListMenu):
(WebCore::MediaControlTextTrackContainerElement::updateDisplay):
* html/shadow/MediaControlElements.h:
* html/track/InbandGenericTextTrack.h:
* html/track/InbandWebVTTTextTrack.cpp:
(WebCore::InbandWebVTTTextTrack::newCuesParsed):
* html/track/LoadableTextTrack.cpp:
(WebCore::LoadableTextTrack::newCuesAvailable):
(WebCore::LoadableTextTrack::newRegionsAvailable):
* html/track/TextTrackCueList.h:
* html/track/TextTrackList.cpp:
(TextTrackList::invalidateTrackIndexesAfterTrack):
(TextTrackList::remove):
(TextTrackList::contains):
* html/track/TextTrackList.h:
* html/track/TrackListBase.cpp:
(TrackListBase::asyncEventTimerFired):
* html/track/TrackListBase.h:
* html/track/WebVTTParser.cpp:
(WebCore::WebVTTParser::getNewCues):
(WebCore::WebVTTParser::getNewRegions):
* html/track/WebVTTParser.h:
* inspector/ConsoleMessage.cpp:
(WebCore::ConsoleMessage::addToFrontend):
* inspector/ContentSearchUtils.cpp:
(WebCore::ContentSearchUtils::getRegularExpressionMatchesByLines):
(WebCore::ContentSearchUtils::lineEndings):
(WebCore::ContentSearchUtils::searchInTextByLines):
* inspector/ContentSearchUtils.h:
* inspector/DOMPatchSupport.cpp:
(WebCore::DOMPatchSupport::patchNode):
(WebCore::DOMPatchSupport::diff):
(WebCore::DOMPatchSupport::innerPatchChildren):
* inspector/DOMPatchSupport.h:
* inspector/InjectedScript.cpp:
(WebCore::InjectedScript::getProperties):
(WebCore::InjectedScript::getInternalProperties):
(WebCore::InjectedScript::wrapCallFrames):
* inspector/InjectedScript.h:
* inspector/InjectedScriptHost.h:
* inspector/InspectorAgent.cpp:
(WebCore::InspectorAgent::enable):
* inspector/InspectorApplicationCacheAgent.cpp:
(WebCore::InspectorApplicationCacheAgent::getFramesWithManifests):
(WebCore::InspectorApplicationCacheAgent::buildArrayForApplicationCacheResources):
* inspector/InspectorApplicationCacheAgent.h:
* inspector/InspectorBaseAgent.h:
* inspector/InspectorCSSAgent.cpp:
(WebCore::SelectorProfile::toInspectorObject):
(WebCore::UpdateRegionLayoutTask::onTimer):
(WebCore::InspectorCSSAgent::getMatchedStylesForNode):
(WebCore::InspectorCSSAgent::getComputedStyleForNode):
(WebCore::InspectorCSSAgent::getAllStyleSheets):
(WebCore::InspectorCSSAgent::getSupportedCSSProperties):
(WebCore::InspectorCSSAgent::getNamedFlowCollection):
(WebCore::InspectorCSSAgent::buildArrayForRuleList):
(WebCore::InspectorCSSAgent::buildArrayForMatchedRuleList):
(WebCore::InspectorCSSAgent::buildArrayForRegions):
(WebCore::InspectorCSSAgent::buildObjectForNamedFlow):
* inspector/InspectorCSSAgent.h:
* inspector/InspectorConsoleAgent.h:
* inspector/InspectorDOMAgent.cpp:
(WebCore::RevalidateStyleAttributeTask::onTimer):
(WebCore::InspectorDOMAgent::pushChildNodesToFrontend):
(WebCore::InspectorDOMAgent::pushNodePathToFrontend):
(WebCore::InspectorDOMAgent::getEventListenersForNode):
(WebCore::InspectorDOMAgent::performSearch):
(WebCore::InspectorDOMAgent::getSearchResults):
(WebCore::InspectorDOMAgent::getAttributes):
(WebCore::InspectorDOMAgent::buildObjectForNode):
(WebCore::InspectorDOMAgent::buildArrayForElementAttributes):
(WebCore::InspectorDOMAgent::buildArrayForContainerChildren):
(WebCore::InspectorDOMAgent::styleAttributeInvalidated):
* inspector/InspectorDOMAgent.h:
* inspector/InspectorDOMStorageAgent.cpp:
(WebCore::InspectorDOMStorageAgent::getDOMStorageItems):
* inspector/InspectorDOMStorageAgent.h:
* inspector/InspectorDatabaseAgent.cpp:
(WebCore::InspectorDatabaseAgent::getDatabaseTableNames):
* inspector/InspectorDatabaseAgent.h:
* inspector/InspectorDebuggerAgent.cpp:
(WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
(WebCore::InspectorDebuggerAgent::searchInContent):
(WebCore::InspectorDebuggerAgent::setScriptSource):
(WebCore::InspectorDebuggerAgent::currentCallFrames):
* inspector/InspectorDebuggerAgent.h:
* inspector/InspectorHeapProfilerAgent.cpp:
(WebCore::InspectorHeapProfilerAgent::getProfileHeaders):
* inspector/InspectorHeapProfilerAgent.h:
* inspector/InspectorHistory.h:
* inspector/InspectorIndexedDBAgent.cpp:
* inspector/InspectorLayerTreeAgent.cpp:
(WebCore::InspectorLayerTreeAgent::layersForNode):
(WebCore::InspectorLayerTreeAgent::gatherLayersUsingRenderObjectHierarchy):
(WebCore::InspectorLayerTreeAgent::gatherLayersUsingRenderLayerHierarchy):
* inspector/InspectorLayerTreeAgent.h:
* inspector/InspectorMemoryAgent.h:
* inspector/InspectorPageAgent.cpp:
(WebCore::buildArrayForCookies):
(WebCore::InspectorPageAgent::getCookies):
(WebCore::InspectorPageAgent::searchInResource):
(WebCore::InspectorPageAgent::searchInResources):
(WebCore::InspectorPageAgent::buildObjectForFrameTree):
* inspector/InspectorPageAgent.h:
* inspector/InspectorProfilerAgent.cpp:
(WebCore::InspectorProfilerAgent::getProfileHeaders):
* inspector/InspectorProfilerAgent.h:
* inspector/InspectorResourceAgent.h:
* inspector/InspectorRuntimeAgent.cpp:
(WebCore::InspectorRuntimeAgent::getProperties):
* inspector/InspectorRuntimeAgent.h:
* inspector/InspectorState.h:
* inspector/InspectorStyleSheet.cpp:
(WebCore::asCSSRuleList):
(WebCore::InspectorStyle::buildArrayForComputedStyle):
(WebCore::InspectorStyle::styleWithProperties):
(WebCore::selectorsFromSource):
(WebCore::InspectorStyleSheet::buildObjectForSelectorList):
(WebCore::InspectorStyleSheet::buildObjectForRule):
(WebCore::InspectorStyleSheet::lineEndings):
(WebCore::InspectorStyleSheet::buildArrayForRuleList):
(WebCore::InspectorStyleSheetForInlineStyle::lineEndings):
* inspector/InspectorStyleSheet.h:
* inspector/InspectorValues.cpp:
(WebCore::InspectorArrayBase::writeJSON):
* inspector/InspectorValues.h:
* inspector/PageRuntimeAgent.cpp:
(WebCore::PageRuntimeAgent::reportExecutionContextCreation):
* inspector/ScriptCallStack.cpp:
(WebCore::ScriptCallStack::buildInspectorArray):
* inspector/ScriptCallStack.h:
* loader/CrossOriginPreflightResultCache.h:
* loader/DocumentLoader.cpp:
(WebCore::cancelAll):
(WebCore::setAllDefersLoading):
(WebCore::DocumentLoader::getSubresources):
* loader/DocumentLoader.h:
* loader/FormState.h:
* loader/FormSubmission.cpp:
(WebCore::FormSubmission::create):
* loader/ProgressTracker.h:
* loader/ResourceLoadScheduler.h:
* loader/TextTrackLoader.cpp:
(WebCore::TextTrackLoader::getNewCues):
(WebCore::TextTrackLoader::getNewRegions):
* loader/TextTrackLoader.h:
* loader/WorkerThreadableLoader.cpp:
(WebCore::workerGlobalScopeDidReceiveData):
(WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveData):
* loader/appcache/ApplicationCache.cpp:
(WebCore::ApplicationCache::removeResource):
(WebCore::ApplicationCache::dump):
* loader/appcache/ApplicationCache.h:
* loader/appcache/ApplicationCacheStorage.cpp:
(WebCore::ApplicationCacheStorage::getOriginsWithCache):
* loader/archive/Archive.cpp:
(WebCore::Archive::clearAllSubframeArchives):
(WebCore::Archive::clearAllSubframeArchivesImpl):
* loader/archive/Archive.h:
(WebCore::Archive::subresources):
(WebCore::Archive::subframeArchives):
* loader/archive/ArchiveResourceCollection.cpp:
(WebCore::ArchiveResourceCollection::addAllResources):
* loader/archive/ArchiveResourceCollection.h:
* loader/archive/cf/LegacyWebArchive.cpp:
(WebCore::LegacyWebArchive::createPropertyListRepresentation):
(WebCore::LegacyWebArchive::create):
(WebCore::LegacyWebArchive::createFromSelection):
* loader/archive/cf/LegacyWebArchive.h:
* loader/archive/mhtml/MHTMLParser.h:
* loader/cache/CachedResource.h:
* loader/cache/CachedResourceLoader.h:
* loader/cache/MemoryCache.h:
* loader/icon/IconDatabase.cpp:
(WebCore::IconDatabase::notifyPendingLoadDecisions):
* loader/icon/IconDatabase.h:
* page/CaptionUserPreferencesMediaAF.cpp:
(WebCore::CaptionUserPreferencesMediaAF::sortedTrackListForMenu):
* page/CaptionUserPreferencesMediaAF.h:
* page/ChromeClient.h:
(WebCore::ChromeClient::didAssociateFormControls):
* page/Console.h:
* page/ContentSecurityPolicy.h:
* page/DOMWindow.cpp:
(WebCore::DOMWindow::getMatchedCSSRules):
* page/DeviceController.cpp:
(WebCore::DeviceController::dispatchDeviceEvent):
(WebCore::DeviceController::fireDeviceEvent):
* page/DeviceController.h:
* page/EditorClient.h:
* page/EventHandler.cpp:
(WebCore::EventHandler::handleTouchEvent):
* page/EventHandler.h:
* page/FrameView.cpp:
(WebCore::FrameView::serviceScriptedAnimations):
* page/Page.cpp:
(WebCore::Page::findStringMatchingRanges):
* page/Page.h:
* page/PageGroup.h:
* page/Performance.cpp:
(WebCore::Performance::webkitGetEntriesByType):
(WebCore::Performance::webkitGetEntriesByName):
* page/Performance.h:
* page/PerformanceEntryList.cpp:
(WebCore::PerformanceEntryList::appendAll):
* page/PerformanceEntryList.h:
* page/SecurityOriginHash.h:
* page/SecurityPolicy.cpp:
* page/SpeechInputResult.h:
* page/animation/AnimationController.cpp:
(WebCore::AnimationControllerPrivate::fireEventsAndUpdateStyle):
* page/animation/AnimationControllerPrivate.h:
* page/animation/CSSPropertyAnimation.cpp:
(WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
* page/animation/CompositeAnimation.h:
* page/scrolling/ScrollingStateNode.cpp:
(WebCore::ScrollingStateNode::appendChild):
* page/scrolling/ScrollingStateNode.h:
(WebCore::ScrollingStateNode::children):
* page/scrolling/ScrollingThread.cpp:
(WebCore::ScrollingThread::dispatchFunctionsFromScrollingThread):
* page/scrolling/ScrollingThread.h:
* page/scrolling/ScrollingTree.cpp:
(WebCore::ScrollingTree::updateTreeFromStateNode):
* page/scrolling/ScrollingTreeNode.cpp:
(WebCore::ScrollingTreeNode::appendChild):
* page/scrolling/ScrollingTreeNode.h:
* page/scrolling/mac/ScrollingCoordinatorMac.mm:
(WebCore::ScrollingCoordinatorMac::syncChildPositions):
* platform/CrossThreadCopier.cpp:
* platform/CrossThreadCopier.h:
* platform/DragData.h:
* platform/MainThreadTask.h:
* platform/PODFreeListArena.h:
(WebCore::PODFreeListArena::freeObject):
(WebCore::PODFreeListArena::allocate):
* platform/PODIntervalTree.h:
* platform/PODRedBlackTree.h:
(WebCore::PODRedBlackTree::PODRedBlackTree):
* platform/PlatformSpeechSynthesizer.cpp:
(WebCore::PlatformSpeechSynthesizer::voiceList):
* platform/PlatformSpeechSynthesizer.h:
* platform/RunLoop.h:
* platform/ScrollView.cpp:
(WebCore::ScrollView::frameRectsChanged):
(WebCore::ScrollView::clipRectChanged):
(WebCore::ScrollView::setParentVisible):
(WebCore::ScrollView::show):
(WebCore::ScrollView::hide):
* platform/ScrollView.h:
* platform/SharedBuffer.h:
* platform/Supplementable.h:
(WebCore::Supplement::provideTo):
(WebCore::Supplementable::provideSupplement):
* platform/URL.cpp:
(WebCore::findHostnamesInMailToURL):
(WebCore::encodeHostnames):
* platform/audio/AudioBus.h:
* platform/audio/AudioDSPKernelProcessor.h:
* platform/audio/AudioResampler.h:
* platform/audio/DynamicsCompressor.h:
* platform/audio/DynamicsCompressorKernel.h:
* platform/audio/HRTFDatabase.h:
* platform/audio/HRTFKernel.h:
* platform/audio/MultiChannelResampler.h:
* platform/audio/Reverb.h:
* platform/audio/ReverbConvolver.h:
* platform/cf/SharedBufferCF.cpp:
(WebCore::SharedBuffer::copyBufferAndClear):
(WebCore::SharedBuffer::copySomeDataFromDataArray):
* platform/graphics/FloatPolygon.cpp:
(WebCore::FloatPolygon::FloatPolygon):
* platform/graphics/FloatPolygon.h:
* platform/graphics/FontCache.cpp:
(WebCore::FontCache::getCachedFontData):
(WebCore::FontCache::purgeInactiveFontData):
* platform/graphics/GlyphMetricsMap.h:
(WebCore::::locatePageSlowCase):
* platform/graphics/GlyphPageTreeNode.h:
* platform/graphics/GraphicsContext3D.h:
* platform/graphics/GraphicsLayer.cpp:
* platform/graphics/GraphicsLayer.h:
* platform/graphics/PlatformTextTrackMenu.h:
* platform/graphics/SimpleFontData.h:
* platform/graphics/WidthCache.h:
* platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h:
* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
(WebCore::MediaPlayerPrivateAVFoundation::processNewAndRemovedTextTracks):
* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::processLegacyClosedCaptionsTracks):
(WebCore::MediaPlayerPrivateAVFoundationObjC::processMediaSelectionOptions):
* platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::setFilterAnimationKeyframes):
(WebCore::GraphicsLayerCA::fetchCloneLayers):
* platform/graphics/ca/GraphicsLayerCA.h:
* platform/graphics/ca/PlatformCAAnimation.h:
* platform/graphics/ca/PlatformCALayer.h:
* platform/graphics/ca/mac/LayerPool.h:
* platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
(PlatformCAAnimation::setValues):
* platform/graphics/ca/mac/TileController.h:
* platform/graphics/cg/SubimageCacheWithTimer.h:
* platform/graphics/filters/CustomFilterParameterList.h:
* platform/graphics/filters/FilterEffect.h:
* platform/graphics/filters/FilterOperations.h:
(WebCore::FilterOperations::operations):
* platform/graphics/gpu/Texture.cpp:
(WebCore::Texture::Texture):
(WebCore::Texture::create):
* platform/graphics/gpu/Texture.h:
* platform/graphics/mac/ComplexTextController.h:
* platform/graphics/mac/SimpleFontDataCoreText.cpp:
(WebCore::SimpleFontData::getCFStringAttributes):
* platform/graphics/transforms/TransformOperations.h:
(WebCore::TransformOperations::operations):
* platform/ios/PasteboardIOS.mm:
(WebCore::documentFragmentWithRTF):
* platform/mac/PlatformSpeechSynthesizerMac.mm:
(-[WebSpeechSynthesisWrapper speakUtterance:WebCore::]):
* platform/mediastream/MediaStreamDescriptor.h:
* platform/mediastream/MediaStreamSource.h:
* platform/mediastream/RTCConfiguration.h:
* platform/network/BlobRegistryImpl.h:
* platform/network/HTTPHeaderMap.h:
* platform/network/ResourceResponseBase.cpp:
(WebCore::ResourceResponseBase::parseCacheControlDirectives):
(WebCore::parseCacheHeader):
* platform/network/cf/ResourceHandleCFNet.cpp:
(WebCore::clientCerts):
(WebCore::ResourceHandle::createCFURLConnection):
* platform/text/cf/HyphenationCF.cpp:
(WebCore::::createValueForNullKey):
(WebCore::::createValueForKey):
(WebCore::cfLocaleCache):
* plugins/PluginMainThreadScheduler.h:
* rendering/HitTestResult.h:
* rendering/InlineFlowBox.h:
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::paintContinuationOutlines):
(WebCore::RenderBlock::removeFromTrackedRendererMaps):
* rendering/RenderBlock.h:
* rendering/RenderButton.h:
* rendering/RenderCounter.cpp:
* rendering/RenderGrid.cpp:
(WebCore::RenderGrid::GridIterator::GridIterator):
* rendering/RenderGrid.h:
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::updateDescendantsAreContiguousInStackingOrder):
(WebCore::RenderLayer::rebuildZOrderLists):
(WebCore::RenderLayer::collectLayers):
* rendering/RenderLayer.h:
* rendering/RenderNamedFlowThread.cpp:
(WebCore::RenderNamedFlowThread::getRanges):
* rendering/RenderNamedFlowThread.h:
* rendering/RenderRegion.cpp:
(WebCore::RenderRegion::getRanges):
* rendering/RenderRegion.h:
* rendering/RenderView.cpp:
(WebCore::RenderView::selectionBounds):
(WebCore::RenderView::setSelection):
* rendering/RootInlineBox.h:
* rendering/shapes/PolygonShape.cpp:
(WebCore::computeShapePaddingBounds):
(WebCore::computeShapeMarginBounds):
* rendering/shapes/PolygonShape.h:
(WebCore::PolygonShape::PolygonShape):
* rendering/shapes/Shape.cpp:
(WebCore::createPolygonShape):
(WebCore::Shape::createShape):
* rendering/shapes/ShapeInfo.h:
* rendering/shapes/ShapeInterval.h:
* rendering/style/QuotesData.cpp:
(WebCore::QuotesData::create):
(WebCore::QuotesData::QuotesData):
* rendering/style/QuotesData.h:
* rendering/style/RenderStyle.cpp:
(WebCore::requireTransformOrigin):
(WebCore::RenderStyle::applyTransform):
* rendering/style/StyleGridData.h:
* rendering/svg/RenderSVGResourceGradient.h:
* rendering/svg/RenderSVGResourcePattern.h:
* rendering/svg/SVGResourcesCache.h:
* storage/StorageEventDispatcher.cpp:
(WebCore::StorageEventDispatcher::dispatchSessionStorageEvents):
(WebCore::StorageEventDispatcher::dispatchLocalStorageEvents):
(WebCore::StorageEventDispatcher::dispatchSessionStorageEventsToFrames):
(WebCore::StorageEventDispatcher::dispatchLocalStorageEventsToFrames):
* storage/StorageEventDispatcher.h:
* storage/StorageNamespaceImpl.h:
* storage/StorageThread.h:
* storage/StorageTracker.cpp:
(WebCore::StorageTracker::origins):
* storage/StorageTracker.h:
* svg/SVGAnimatedPath.cpp:
(WebCore::SVGAnimatedPathAnimator::startAnimValAnimation):
* svg/SVGAnimatedTypeAnimator.cpp:
(WebCore::SVGElementAnimatedProperties::SVGElementAnimatedProperties):
(WebCore::SVGAnimatedTypeAnimator::findAnimatedPropertiesForAttributeName):
* svg/SVGAnimatedTypeAnimator.h:
* svg/SVGDocumentExtensions.cpp:
(WebCore::SVGDocumentExtensions::startAnimations):
(WebCore::SVGDocumentExtensions::dispatchSVGLoadEventToOutermostSVGElements):
(WebCore::SVGDocumentExtensions::addPendingResource):
(WebCore::SVGDocumentExtensions::isElementPendingResources):
(WebCore::SVGDocumentExtensions::removeElementFromPendingResources):
(WebCore::SVGDocumentExtensions::setOfElementsReferencingTarget):
(WebCore::SVGDocumentExtensions::addElementReferencingTarget):
(WebCore::SVGDocumentExtensions::rebuildAllElementReferencesForTarget):
* svg/SVGDocumentExtensions.h:
* svg/SVGFontElement.h:
* svg/SVGGlyphMap.h:
* svg/SVGMarkerElement.cpp:
(WebCore::SVGMarkerElement::orientTypeAnimated):
* svg/SVGMarkerElement.h:
* svg/SVGPathSegList.h:
* svg/animation/SMILTimeContainer.h:
* svg/graphics/SVGImageCache.h:
* svg/graphics/filters/SVGFilterBuilder.h:
(WebCore::SVGFilterBuilder::addBuiltinEffects):
* svg/properties/SVGAnimatedEnumerationPropertyTearOff.h:
(WebCore::SVGAnimatedEnumerationPropertyTearOff::create):
* svg/properties/SVGAnimatedListPropertyTearOff.h:
(WebCore::SVGAnimatedListPropertyTearOff::create):
* svg/properties/SVGAnimatedPropertyTearOff.h:
(WebCore::SVGAnimatedPropertyTearOff::create):
* svg/properties/SVGAnimatedStaticPropertyTearOff.h:
(WebCore::SVGAnimatedStaticPropertyTearOff::create):
* svg/properties/SVGAttributeToPropertyMap.cpp:
(WebCore::SVGAttributeToPropertyMap::animatedPropertiesForAttribute):
* svg/properties/SVGAttributeToPropertyMap.h:
* svg/properties/SVGStaticListPropertyTearOff.h:
(WebCore::SVGStaticListPropertyTearOff::create):
* svg/properties/SVGTransformListPropertyTearOff.h:
(WebCore::SVGTransformListPropertyTearOff::create):
(WebCore::SVGTransformListPropertyTearOff::createSVGTransformFromMatrix):
(WebCore::SVGTransformListPropertyTearOff::consolidate):
* workers/DefaultSharedWorkerRepository.h:
* workers/WorkerMessagingProxy.h:
* xml/XMLHttpRequestProgressEventThrottle.cpp:
(WebCore::XMLHttpRequestProgressEventThrottle::dispatchDeferredEvents):
* xml/XMLHttpRequestProgressEventThrottle.h:
* xml/XPathNodeSet.cpp:
(WebCore::XPath::NodeSet::sort):
(WebCore::XPath::NodeSet::traversalSort):
* xml/XSLStyleSheet.h:
* xml/parser/XMLDocumentParserLibxml2.cpp:
Source/WebKit/mac:
* History/WebHistory.mm:
(-[WebHistoryPrivate rebuildHistoryByDayIfNeeded:]):
* History/WebHistoryItem.mm:
(-[WebHistoryItem initFromDictionaryRepresentation:]):
* Plugins/Hosted/NetscapePluginHostProxy.h:
* Plugins/Hosted/NetscapePluginInstanceProxy.h:
* Plugins/Hosted/NetscapePluginInstanceProxy.mm:
(WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
(WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
(WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
(WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
(WebKit::NetscapePluginInstanceProxy::stopAllStreams):
* Plugins/WebNetscapePluginView.h:
* Plugins/WebNetscapePluginView.mm:
(-[WebNetscapePluginView destroyPlugin]):
* Storage/WebDatabaseManager.mm:
(-[WebDatabaseManager origins]):
* Storage/WebStorageManager.mm:
(-[WebStorageManager origins]):
* WebCoreSupport/WebApplicationCache.mm:
(+[WebApplicationCache originsWithCache]):
* WebCoreSupport/WebEditorClient.h:
* WebCoreSupport/WebEditorClient.mm:
(WebEditorClient::getClientPasteboardDataForRange):
(WebEditorClient::documentFragmentFromAttributedString):
* WebCoreSupport/WebFrameLoaderClient.h:
* WebCoreSupport/WebNotificationClient.h:
* WebCoreSupport/WebNotificationClient.mm:
(WebNotificationClient::show):
(WebNotificationClient::clearNotifications):
* WebView/WebArchive.mm:
(-[WebArchive initWithMainResource:subresources:subframeArchives:]):
(-[WebArchive subresources]):
(-[WebArchive subframeArchives]):
* WebView/WebDataSource.mm:
(-[WebDataSource subresources]):
* WebView/WebViewData.h:
Source/WebKit2:
* UIProcess/mac/WebColorPickerMac.h:
* WebProcess/InjectedBundle/API/mac/WKWebProcessPlugIn.mm:
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::setProcessSuppressionEnabled):
Source/WTF:
* wtf/AVLTree.h:
* wtf/CheckedArithmetic.h:
* wtf/Compression.h:
* wtf/Functional.h:
(WTF::R):
* wtf/HashFunctions.h:
* wtf/HashIterators.h:
* wtf/HashSet.h:
(WTF::::contains):
* wtf/ListHashSet.h:
(WTF::::contains):
* wtf/RefCountedLeakCounter.cpp:
* wtf/RetainPtr.h:
* wtf/SentinelLinkedList.h:
(WTF::::remove):
* wtf/SizeLimits.cpp:
* wtf/StreamBuffer.h:
* wtf/Vector.h:
* wtf/VectorTraits.h:
* wtf/WeakPtr.h:
(WTF::WeakReference::create):
(WTF::WeakReference::createUnbound):
(WTF::WeakPtr::WeakPtr):
(WTF::WeakPtrFactory::WeakPtrFactory):
* wtf/text/AtomicString.cpp:
(WTF::AtomicString::add):
(WTF::findString):
* wtf/text/StringConcatenate.h:
* wtf/text/StringImpl.h:
* wtf/text/StringOperators.h:
(WTF::operator+):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@157653 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index 1aaaedf..c397250 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,3 +1,867 @@
+2013-10-18 Anders Carlsson <andersca@apple.com>
+
+ Remove spaces between template angle brackets
+ https://bugs.webkit.org/show_bug.cgi?id=123040
+
+ Reviewed by Andreas Kling.
+
+ * Modules/encryptedmedia/MediaKeySession.h:
+ * Modules/encryptedmedia/MediaKeys.h:
+ * Modules/geolocation/Geolocation.h:
+ * Modules/geolocation/GeolocationController.cpp:
+ (WebCore::GeolocationController::positionChanged):
+ (WebCore::GeolocationController::errorOccurred):
+ * Modules/geolocation/GeolocationController.h:
+ * Modules/indexeddb/IDBCallbacks.h:
+ * Modules/indexeddb/IDBDatabase.h:
+ * Modules/indexeddb/IDBDatabaseBackendInterface.h:
+ * Modules/indexeddb/IDBEventDispatcher.cpp:
+ (WebCore::IDBEventDispatcher::dispatch):
+ * Modules/indexeddb/IDBEventDispatcher.h:
+ * Modules/indexeddb/IDBKey.h:
+ * Modules/indexeddb/IDBObjectStore.h:
+ * Modules/indexeddb/IDBPendingTransactionMonitor.cpp:
+ * Modules/indexeddb/IDBRequest.cpp:
+ (WebCore::IDBRequest::dispatchEvent):
+ * Modules/indexeddb/IDBRequest.h:
+ (WebCore::IDBRequest::onSuccessWithPrefetch):
+ * Modules/indexeddb/IDBTransaction.cpp:
+ (WebCore::IDBTransaction::dispatchEvent):
+ * Modules/indexeddb/IDBTransaction.h:
+ * Modules/mediacontrols/MediaControlsHost.cpp:
+ (WebCore::MediaControlsHost::sortedTrackListForMenu):
+ * Modules/mediacontrols/MediaControlsHost.h:
+ * Modules/mediasource/MediaSource.cpp:
+ (WebCore::MediaSource::activeRanges):
+ * Modules/mediasource/MediaSource.h:
+ * Modules/mediasource/MediaSourceBase.cpp:
+ (WebCore::MediaSourceBase::buffered):
+ * Modules/mediasource/MediaSourceBase.h:
+ * Modules/mediasource/MediaSourceRegistry.cpp:
+ (WebCore::MediaSourceRegistry::unregisterURL):
+ * Modules/mediasource/MediaSourceRegistry.h:
+ * Modules/mediasource/SourceBufferList.h:
+ * Modules/mediasource/WebKitMediaSource.cpp:
+ (WebCore::WebKitMediaSource::activeRanges):
+ * Modules/mediasource/WebKitMediaSource.h:
+ * Modules/mediasource/WebKitSourceBufferList.h:
+ * Modules/mediastream/MediaStream.cpp:
+ (WebCore::MediaStream::scheduledEventTimerFired):
+ * Modules/mediastream/MediaStream.h:
+ * Modules/mediastream/MediaStreamRegistry.h:
+ * Modules/mediastream/MediaStreamTrack.h:
+ * Modules/mediastream/RTCDTMFSender.cpp:
+ (WebCore::RTCDTMFSender::scheduledEventTimerFired):
+ * Modules/mediastream/RTCDTMFSender.h:
+ * Modules/mediastream/RTCDataChannel.cpp:
+ (WebCore::RTCDataChannel::scheduledEventTimerFired):
+ * Modules/mediastream/RTCDataChannel.h:
+ * Modules/mediastream/RTCPeerConnection.cpp:
+ (WebCore::RTCPeerConnection::stop):
+ (WebCore::RTCPeerConnection::scheduledEventTimerFired):
+ * Modules/mediastream/RTCPeerConnection.h:
+ * Modules/mediastream/RTCStatsResponse.h:
+ (WebCore::RTCStatsResponse::result):
+ * Modules/notifications/Notification.h:
+ * Modules/notifications/NotificationCenter.h:
+ * Modules/speech/SpeechSynthesis.cpp:
+ (WebCore::SpeechSynthesis::getVoices):
+ * Modules/speech/SpeechSynthesis.h:
+ * Modules/webaudio/AudioBuffer.h:
+ * Modules/webaudio/AudioNode.h:
+ * Modules/webaudio/AudioNodeOutput.h:
+ * Modules/webaudio/MediaStreamAudioSource.cpp:
+ (WebCore::MediaStreamAudioSource::setAudioFormat):
+ (WebCore::MediaStreamAudioSource::consumeAudio):
+ * Modules/webaudio/PeriodicWave.h:
+ * Modules/webaudio/ScriptProcessorNode.h:
+ * Modules/webdatabase/AbstractDatabaseServer.h:
+ * Modules/webdatabase/DatabaseBackend.h:
+ * Modules/webdatabase/DatabaseManager.cpp:
+ (WebCore::DatabaseManager::origins):
+ * Modules/webdatabase/DatabaseManager.h:
+ * Modules/webdatabase/DatabaseServer.cpp:
+ (WebCore::DatabaseServer::origins):
+ * Modules/webdatabase/DatabaseServer.h:
+ * Modules/webdatabase/DatabaseThread.h:
+ * Modules/webdatabase/DatabaseTracker.cpp:
+ (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
+ (WebCore::DatabaseTracker::origins):
+ (WebCore::DatabaseTracker::getOpenDatabases):
+ (WebCore::DatabaseTracker::deleteAllDatabases):
+ (WebCore::DatabaseTracker::deleteDatabaseFile):
+ * Modules/webdatabase/DatabaseTracker.h:
+ * Modules/webdatabase/SQLStatementBackend.cpp:
+ * Modules/webdatabase/SQLTransactionBackend.cpp:
+ * Modules/webdatabase/SQLTransactionBackend.h:
+ * Modules/webdatabase/SQLTransactionCoordinator.cpp:
+ (WebCore::SQLTransactionCoordinator::shutdown):
+ * Modules/webdatabase/SQLTransactionCoordinator.h:
+ * Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp:
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveBinaryData):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::processPendingTasks):
+ (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveBinaryDataCallback):
+ * Modules/websockets/ThreadableWebSocketChannelClientWrapper.h:
+ * Modules/websockets/WebSocket.cpp:
+ (WebCore::WebSocket::didReceiveBinaryData):
+ * Modules/websockets/WebSocket.h:
+ * Modules/websockets/WebSocketChannel.cpp:
+ (WebCore::WebSocketChannel::processFrame):
+ * Modules/websockets/WebSocketChannel.h:
+ * Modules/websockets/WebSocketChannelClient.h:
+ (WebCore::WebSocketChannelClient::didReceiveBinaryData):
+ * Modules/websockets/WebSocketExtensionDispatcher.h:
+ * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
+ (WebCore::workerGlobalScopeDidReceiveBinaryData):
+ (WebCore::WorkerThreadableWebSocketChannel::Peer::didReceiveBinaryData):
+ (WebCore::WorkerThreadableWebSocketChannel::mainThreadSendArrayBuffer):
+ (WebCore::WorkerThreadableWebSocketChannel::Bridge::send):
+ * Modules/websockets/WorkerThreadableWebSocketChannel.h:
+ * accessibility/AXObjectCache.cpp:
+ (WebCore::AXObjectCache::~AXObjectCache):
+ * accessibility/AXObjectCache.h:
+ * accessibility/AccessibilityNodeObject.cpp:
+ (WebCore::AccessibilityNodeObject::ariaLabeledByText):
+ * accessibility/AccessibilityObject.h:
+ (WebCore::AccessibilityText::AccessibilityText):
+ * bindings/js/DOMWrapperWorld.h:
+ * bindings/js/JSDOMBinding.h:
+ (WebCore::toRefPtrNativeArray):
+ * bindings/js/JSDOMGlobalObject.h:
+ * bindings/js/JSMutationCallback.cpp:
+ (WebCore::JSMutationCallback::call):
+ * bindings/js/JSMutationCallback.h:
+ * bindings/js/JSWebGLRenderingContextCustom.cpp:
+ (WebCore::JSWebGLRenderingContext::getAttachedShaders):
+ * bindings/js/PageScriptDebugServer.h:
+ * bindings/js/ScheduledAction.h:
+ * bindings/js/ScriptController.cpp:
+ (WebCore::ScriptController::collectIsolatedContexts):
+ * bindings/js/ScriptController.h:
+ * bindings/js/ScriptDebugServer.h:
+ * bindings/js/ScriptProfile.cpp:
+ (WebCore::buildInspectorObjectFor):
+ * bindings/objc/ObjCNodeFilterCondition.h:
+ * bridge/objc/objc_class.h:
+ * bridge/runtime_root.cpp:
+ (JSC::Bindings::RootObject::invalidate):
+ * bridge/runtime_root.h:
+ * css/BasicShapeFunctions.cpp:
+ (WebCore::basicShapeForValue):
+ * css/CSSBasicShapes.h:
+ (WebCore::CSSBasicShapePolygon::values):
+ * css/CSSComputedStyleDeclaration.cpp:
+ (WebCore::ComputedStyleExtractor::valueForFilter):
+ * css/CSSFontFace.h:
+ * css/CSSFontFaceSource.h:
+ * css/CSSFontSelector.cpp:
+ (WebCore::CSSFontSelector::addFontFaceRule):
+ (WebCore::CSSFontSelector::getFontFace):
+ (WebCore::CSSFontSelector::beginLoadTimerFired):
+ * css/CSSFontSelector.h:
+ * css/CSSGroupingRule.h:
+ * css/CSSImageGeneratorValue.h:
+ * css/CSSParserValues.cpp:
+ (WebCore::CSSParserSelector::adoptSelectorVector):
+ * css/CSSParserValues.h:
+ * css/CSSPropertySourceData.h:
+ * css/CSSRuleList.h:
+ (WebCore::StaticCSSRuleList::rules):
+ * css/CSSSegmentedFontFace.cpp:
+ (WebCore::CSSSegmentedFontFace::fontLoaded):
+ * css/CSSSegmentedFontFace.h:
+ * css/CSSSelectorList.cpp:
+ (WebCore::CSSSelectorList::adoptSelectorVector):
+ * css/CSSSelectorList.h:
+ * css/CSSStyleSheet.h:
+ * css/CSSValue.h:
+ (WebCore::compareCSSValueVector):
+ * css/CSSValuePool.h:
+ * css/DocumentRuleSets.cpp:
+ (WebCore::DocumentRuleSets::collectRulesFromUserStyleSheets):
+ (WebCore::DocumentRuleSets::appendAuthorStyleSheets):
+ * css/DocumentRuleSets.h:
+ * css/ElementRuleCollector.cpp:
+ (WebCore::ElementRuleCollector::matchedRuleList):
+ * css/ElementRuleCollector.h:
+ * css/FontLoader.h:
+ * css/InspectorCSSOMWrappers.cpp:
+ (WebCore::InspectorCSSOMWrappers::collectFromStyleSheetContents):
+ (WebCore::InspectorCSSOMWrappers::collectFromStyleSheets):
+ * css/InspectorCSSOMWrappers.h:
+ * css/MediaList.cpp:
+ (WebCore::MediaQuerySet::parse):
+ (WebCore::MediaList::item):
+ (WebCore::reportMediaQueryWarningIfNeeded):
+ * css/MediaList.h:
+ (WebCore::MediaQuerySet::queryVector):
+ * css/MediaQueryEvaluator.cpp:
+ (WebCore::MediaQueryEvaluator::eval):
+ * css/MediaQueryMatcher.h:
+ * css/PropertySetCSSStyleDeclaration.cpp:
+ (WebCore::PropertySetCSSStyleDeclaration::cloneAndCacheForCSSOM):
+ * css/PropertySetCSSStyleDeclaration.h:
+ * css/RuleSet.cpp:
+ (WebCore::RuleSet::addToRuleSet):
+ (WebCore::RuleSet::addRegionRule):
+ (WebCore::RuleSet::addChildRules):
+ (WebCore::RuleSet::addRulesFromSheet):
+ * css/RuleSet.h:
+ * css/SelectorFilter.h:
+ * css/StyleInvalidationAnalysis.cpp:
+ (WebCore::StyleInvalidationAnalysis::analyzeStyleSheet):
+ * css/StylePropertySet.cpp:
+ (WebCore::StylePropertySet::getLayeredShorthandValue):
+ * css/StyleResolver.cpp:
+ (WebCore::StyleResolver::appendAuthorStyleSheets):
+ (WebCore::StyleResolver::keyframeStylesForAnimation):
+ (WebCore::StyleResolver::styleRulesForElement):
+ (WebCore::StyleResolver::pseudoStyleRulesForElement):
+ (WebCore::StyleResolver::resolveVariables):
+ (WebCore::StyleResolver::applyProperty):
+ (WebCore::StyleResolver::loadPendingSVGDocuments):
+ (WebCore::StyleResolver::loadPendingShaders):
+ * css/StyleResolver.h:
+ * css/StyleRule.cpp:
+ (WebCore::StyleRule::splitIntoMultipleRulesWithMaximumSelectorComponentCount):
+ (WebCore::StyleRuleGroup::StyleRuleGroup):
+ (WebCore::StyleRuleMedia::StyleRuleMedia):
+ (WebCore::StyleRuleSupports::StyleRuleSupports):
+ (WebCore::StyleRuleRegion::StyleRuleRegion):
+ * css/StyleRule.h:
+ (WebCore::StyleRule::parserAdoptSelectorVector):
+ (WebCore::StyleRulePage::parserAdoptSelectorVector):
+ (WebCore::StyleRuleGroup::childRules):
+ (WebCore::StyleRuleMedia::create):
+ (WebCore::StyleRuleSupports::create):
+ (WebCore::StyleRuleRegion::create):
+ (WebCore::StyleRuleHost::create):
+ (WebCore::StyleRuleHost::StyleRuleHost):
+ * css/StyleScopeResolver.h:
+ * css/StyleSheetContents.cpp:
+ (WebCore::StyleSheetContents::parserAppendRule):
+ (WebCore::childRulesHaveFailedOrCanceledSubresources):
+ * css/StyleSheetContents.h:
+ (WebCore::StyleSheetContents::childRules):
+ (WebCore::StyleSheetContents::importRules):
+ * css/StyleSheetList.cpp:
+ (WebCore::StyleSheetList::styleSheets):
+ (WebCore::StyleSheetList::item):
+ * css/StyleSheetList.h:
+ * css/WebKitCSSKeyframesRule.h:
+ (WebCore::StyleRuleKeyframes::keyframes):
+ * dom/CheckedRadioButtons.h:
+ * dom/ClientRectList.h:
+ * dom/ContainerNode.h:
+ (WebCore::ChildNodesLazySnapshot::nextNode):
+ (WebCore::ChildNodesLazySnapshot::takeSnapshot):
+ * dom/CrossThreadTask.h:
+ * dom/Document.cpp:
+ (WebCore::Document::webkitCancelFullScreen):
+ (WebCore::Document::webkitExitFullscreen):
+ (WebCore::Document::fullScreenChangeDelayTimerFired):
+ (WebCore::Document::didAssociateFormControlsTimerFired):
+ * dom/Document.h:
+ * dom/DocumentMarkerController.cpp:
+ (WebCore::DocumentMarkerController::removeMarkers):
+ * dom/DocumentMarkerController.h:
+ * dom/DocumentStyleSheetCollection.cpp:
+ (WebCore::DocumentStyleSheetCollection::injectedUserStyleSheets):
+ (WebCore::DocumentStyleSheetCollection::injectedAuthorStyleSheets):
+ (WebCore::DocumentStyleSheetCollection::collectActiveStyleSheets):
+ (WebCore::DocumentStyleSheetCollection::analyzeStyleSheetChange):
+ (WebCore::styleSheetsUseRemUnits):
+ (WebCore::filterEnabledNonemptyCSSStyleSheets):
+ (WebCore::collectActiveCSSStyleSheetsFromSeamlessParents):
+ (WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets):
+ * dom/DocumentStyleSheetCollection.h:
+ * dom/Element.cpp:
+ (WebCore::Element::attrNodeList):
+ (WebCore::Element::webkitGetRegionFlowRanges):
+ * dom/Element.h:
+ * dom/EventListenerMap.h:
+ * dom/EventSender.h:
+ (WebCore::EventSender::timerFired):
+ * dom/IdTargetObserverRegistry.h:
+ * dom/MutationCallback.h:
+ * dom/MutationObserver.cpp:
+ (WebCore::MutationObserver::takeRecords):
+ (WebCore::MutationObserver::deliver):
+ (WebCore::MutationObserver::deliverAllMutations):
+ * dom/MutationObserver.h:
+ * dom/MutationObserverRegistration.h:
+ * dom/NamedFlowCollection.cpp:
+ (WebCore::NamedFlowCollection::namedFlows):
+ * dom/NamedFlowCollection.h:
+ * dom/Node.cpp:
+ (WebCore::Node::didMoveToNewDocument):
+ (WebCore::Node::mutationObserverRegistry):
+ (WebCore::Node::registerMutationObserver):
+ (WebCore::Node::unregisterMutationObserver):
+ (WebCore::Node::notifyMutationObserversNodeWillDetach):
+ * dom/Node.h:
+ * dom/NodeRareData.h:
+ * dom/Range.cpp:
+ (WebCore::Range::processContents):
+ (WebCore::Range::processNodes):
+ (WebCore::Range::processAncestorsAndTheirSiblings):
+ * dom/Range.h:
+ * dom/ScopedEventQueue.h:
+ * dom/ScriptExecutionContext.cpp:
+ (WebCore::ScriptExecutionContext::reportException):
+ * dom/ScriptExecutionContext.h:
+ * dom/ScriptedAnimationController.h:
+ * editing/ApplyStyleCommand.cpp:
+ (WebCore::ApplyStyleCommand::applyRelativeFontStyleChange):
+ * editing/BreakBlockquoteCommand.cpp:
+ (WebCore::BreakBlockquoteCommand::doApply):
+ * editing/CompositeEditCommand.cpp:
+ (WebCore::CompositeEditCommand::removeChildrenInRange):
+ (WebCore::CompositeEditCommand::deleteInsignificantText):
+ (WebCore::CompositeEditCommand::cloneParagraphUnderNewElement):
+ * editing/CompositeEditCommand.h:
+ * editing/EditingStyle.cpp:
+ (WebCore::htmlElementEquivalents):
+ (WebCore::EditingStyle::conflictsWithImplicitStyleOfElement):
+ (WebCore::htmlAttributeEquivalents):
+ (WebCore::EditingStyle::conflictsWithImplicitStyleOfAttributes):
+ (WebCore::EditingStyle::extractConflictingImplicitStyleOfAttributes):
+ (WebCore::EditingStyle::elementIsStyledSpanOrHTMLEquivalent):
+ (WebCore::EditingStyle::mergeInlineAndImplicitStyleOfElement):
+ (WebCore::styleFromMatchedRulesForElement):
+ * editing/Editor.cpp:
+ (WebCore::Editor::countMatchesForText):
+ * editing/Editor.h:
+ * editing/InsertParagraphSeparatorCommand.cpp:
+ (WebCore::InsertParagraphSeparatorCommand::getAncestorsInsideBlock):
+ (WebCore::InsertParagraphSeparatorCommand::cloneHierarchyUnderNewBlock):
+ (WebCore::InsertParagraphSeparatorCommand::doApply):
+ * editing/InsertParagraphSeparatorCommand.h:
+ * editing/MergeIdenticalElementsCommand.cpp:
+ (WebCore::MergeIdenticalElementsCommand::doApply):
+ (WebCore::MergeIdenticalElementsCommand::doUnapply):
+ * editing/RemoveNodePreservingChildrenCommand.cpp:
+ (WebCore::RemoveNodePreservingChildrenCommand::doApply):
+ * editing/ReplaceSelectionCommand.cpp:
+ (WebCore::ReplacementFragment::removeUnrenderedNodes):
+ * editing/SimplifyMarkupCommand.cpp:
+ (WebCore::SimplifyMarkupCommand::doApply):
+ (WebCore::SimplifyMarkupCommand::pruneSubsequentAncestorsToRemove):
+ * editing/SimplifyMarkupCommand.h:
+ * editing/SpellChecker.h:
+ * editing/SplitElementCommand.cpp:
+ (WebCore::SplitElementCommand::executeApply):
+ (WebCore::SplitElementCommand::doUnapply):
+ * editing/WrapContentsInDummySpanCommand.cpp:
+ (WebCore::WrapContentsInDummySpanCommand::executeApply):
+ (WebCore::WrapContentsInDummySpanCommand::doUnapply):
+ * editing/mac/AlternativeTextUIController.h:
+ * fileapi/FileList.h:
+ * history/BackForwardList.h:
+ * history/HistoryItem.cpp:
+ (WebCore::HistoryItem::setRedirectURLs):
+ * history/HistoryItem.h:
+ * history/mac/HistoryItemMac.mm:
+ (WebCore::HistoryItem::setTransientProperty):
+ * html/FormController.h:
+ * html/HTMLAnchorElement.cpp:
+ * html/HTMLCollection.cpp:
+ (WebCore::HTMLCollection::append):
+ * html/HTMLCollection.h:
+ * html/HTMLFormControlElement.cpp:
+ (WebCore::HTMLFormControlElement::checkValidity):
+ * html/HTMLFormControlElement.h:
+ * html/HTMLFormElement.cpp:
+ (WebCore::HTMLFormElement::validateInteractively):
+ (WebCore::HTMLFormElement::checkValidity):
+ (WebCore::HTMLFormElement::checkInvalidControlsAndCollectUnhandled):
+ * html/HTMLFormElement.h:
+ * html/HTMLMediaElement.cpp:
+ (WebCore::HTMLMediaElement::updateActiveTextTrackCues):
+ (WebCore::HTMLMediaElement::platformTextTracks):
+ (WebCore::HTMLMediaElement::configureTextTrackGroup):
+ * html/HTMLMediaElement.h:
+ * html/HTMLPlugInImageElement.cpp:
+ * html/HTMLSelectElement.cpp:
+ (WebCore::HTMLSelectElement::setLength):
+ * html/MediaController.cpp:
+ (MediaController::asyncEventTimerFired):
+ * html/MediaController.h:
+ * html/MediaFragmentURIParser.h:
+ * html/ValidationMessage.h:
+ * html/canvas/WebGLFramebuffer.h:
+ * html/canvas/WebGLRenderingContext.cpp:
+ (WebCore::WebGLRenderingContext::getAttachedShaders):
+ * html/canvas/WebGLRenderingContext.h:
+ * html/canvas/WebGLTexture.h:
+ * html/parser/BackgroundHTMLParser.cpp:
+ (WebCore::BackgroundHTMLParser::BackgroundHTMLParser):
+ * html/parser/BackgroundHTMLParser.h:
+ (WebCore::BackgroundHTMLParser::create):
+ * html/parser/HTMLDocumentParser.cpp:
+ (WebCore::HTMLDocumentParser::startBackgroundParser):
+ * html/parser/HTMLDocumentParser.h:
+ * html/parser/HTMLMetaCharsetParser.h:
+ * html/parser/HTMLPreloadScanner.cpp:
+ (WebCore::TokenPreloadScanner::scan):
+ (WebCore::TokenPreloadScanner::scanCommon):
+ * html/parser/HTMLResourcePreloader.h:
+ * html/parser/XSSAuditor.h:
+ * html/shadow/ContentDistributor.cpp:
+ (WebCore::ContentDistributor::ensureInsertionPointList):
+ (WebCore::ContentDistributor::distribute):
+ (WebCore::ContentDistributor::invalidate):
+ * html/shadow/ContentDistributor.h:
+ * html/shadow/MediaControlElements.cpp:
+ (WebCore::MediaControlClosedCaptionsTrackListElement::rebuildTrackListMenu):
+ (WebCore::MediaControlTextTrackContainerElement::updateDisplay):
+ * html/shadow/MediaControlElements.h:
+ * html/track/InbandGenericTextTrack.h:
+ * html/track/InbandWebVTTTextTrack.cpp:
+ (WebCore::InbandWebVTTTextTrack::newCuesParsed):
+ * html/track/LoadableTextTrack.cpp:
+ (WebCore::LoadableTextTrack::newCuesAvailable):
+ (WebCore::LoadableTextTrack::newRegionsAvailable):
+ * html/track/TextTrackCueList.h:
+ * html/track/TextTrackList.cpp:
+ (TextTrackList::invalidateTrackIndexesAfterTrack):
+ (TextTrackList::remove):
+ (TextTrackList::contains):
+ * html/track/TextTrackList.h:
+ * html/track/TrackListBase.cpp:
+ (TrackListBase::asyncEventTimerFired):
+ * html/track/TrackListBase.h:
+ * html/track/WebVTTParser.cpp:
+ (WebCore::WebVTTParser::getNewCues):
+ (WebCore::WebVTTParser::getNewRegions):
+ * html/track/WebVTTParser.h:
+ * inspector/ConsoleMessage.cpp:
+ (WebCore::ConsoleMessage::addToFrontend):
+ * inspector/ContentSearchUtils.cpp:
+ (WebCore::ContentSearchUtils::getRegularExpressionMatchesByLines):
+ (WebCore::ContentSearchUtils::lineEndings):
+ (WebCore::ContentSearchUtils::searchInTextByLines):
+ * inspector/ContentSearchUtils.h:
+ * inspector/DOMPatchSupport.cpp:
+ (WebCore::DOMPatchSupport::patchNode):
+ (WebCore::DOMPatchSupport::diff):
+ (WebCore::DOMPatchSupport::innerPatchChildren):
+ * inspector/DOMPatchSupport.h:
+ * inspector/InjectedScript.cpp:
+ (WebCore::InjectedScript::getProperties):
+ (WebCore::InjectedScript::getInternalProperties):
+ (WebCore::InjectedScript::wrapCallFrames):
+ * inspector/InjectedScript.h:
+ * inspector/InjectedScriptHost.h:
+ * inspector/InspectorAgent.cpp:
+ (WebCore::InspectorAgent::enable):
+ * inspector/InspectorApplicationCacheAgent.cpp:
+ (WebCore::InspectorApplicationCacheAgent::getFramesWithManifests):
+ (WebCore::InspectorApplicationCacheAgent::buildArrayForApplicationCacheResources):
+ * inspector/InspectorApplicationCacheAgent.h:
+ * inspector/InspectorBaseAgent.h:
+ * inspector/InspectorCSSAgent.cpp:
+ (WebCore::SelectorProfile::toInspectorObject):
+ (WebCore::UpdateRegionLayoutTask::onTimer):
+ (WebCore::InspectorCSSAgent::getMatchedStylesForNode):
+ (WebCore::InspectorCSSAgent::getComputedStyleForNode):
+ (WebCore::InspectorCSSAgent::getAllStyleSheets):
+ (WebCore::InspectorCSSAgent::getSupportedCSSProperties):
+ (WebCore::InspectorCSSAgent::getNamedFlowCollection):
+ (WebCore::InspectorCSSAgent::buildArrayForRuleList):
+ (WebCore::InspectorCSSAgent::buildArrayForMatchedRuleList):
+ (WebCore::InspectorCSSAgent::buildArrayForRegions):
+ (WebCore::InspectorCSSAgent::buildObjectForNamedFlow):
+ * inspector/InspectorCSSAgent.h:
+ * inspector/InspectorConsoleAgent.h:
+ * inspector/InspectorDOMAgent.cpp:
+ (WebCore::RevalidateStyleAttributeTask::onTimer):
+ (WebCore::InspectorDOMAgent::pushChildNodesToFrontend):
+ (WebCore::InspectorDOMAgent::pushNodePathToFrontend):
+ (WebCore::InspectorDOMAgent::getEventListenersForNode):
+ (WebCore::InspectorDOMAgent::performSearch):
+ (WebCore::InspectorDOMAgent::getSearchResults):
+ (WebCore::InspectorDOMAgent::getAttributes):
+ (WebCore::InspectorDOMAgent::buildObjectForNode):
+ (WebCore::InspectorDOMAgent::buildArrayForElementAttributes):
+ (WebCore::InspectorDOMAgent::buildArrayForContainerChildren):
+ (WebCore::InspectorDOMAgent::styleAttributeInvalidated):
+ * inspector/InspectorDOMAgent.h:
+ * inspector/InspectorDOMStorageAgent.cpp:
+ (WebCore::InspectorDOMStorageAgent::getDOMStorageItems):
+ * inspector/InspectorDOMStorageAgent.h:
+ * inspector/InspectorDatabaseAgent.cpp:
+ (WebCore::InspectorDatabaseAgent::getDatabaseTableNames):
+ * inspector/InspectorDatabaseAgent.h:
+ * inspector/InspectorDebuggerAgent.cpp:
+ (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
+ (WebCore::InspectorDebuggerAgent::searchInContent):
+ (WebCore::InspectorDebuggerAgent::setScriptSource):
+ (WebCore::InspectorDebuggerAgent::currentCallFrames):
+ * inspector/InspectorDebuggerAgent.h:
+ * inspector/InspectorHeapProfilerAgent.cpp:
+ (WebCore::InspectorHeapProfilerAgent::getProfileHeaders):
+ * inspector/InspectorHeapProfilerAgent.h:
+ * inspector/InspectorHistory.h:
+ * inspector/InspectorIndexedDBAgent.cpp:
+ * inspector/InspectorLayerTreeAgent.cpp:
+ (WebCore::InspectorLayerTreeAgent::layersForNode):
+ (WebCore::InspectorLayerTreeAgent::gatherLayersUsingRenderObjectHierarchy):
+ (WebCore::InspectorLayerTreeAgent::gatherLayersUsingRenderLayerHierarchy):
+ * inspector/InspectorLayerTreeAgent.h:
+ * inspector/InspectorMemoryAgent.h:
+ * inspector/InspectorPageAgent.cpp:
+ (WebCore::buildArrayForCookies):
+ (WebCore::InspectorPageAgent::getCookies):
+ (WebCore::InspectorPageAgent::searchInResource):
+ (WebCore::InspectorPageAgent::searchInResources):
+ (WebCore::InspectorPageAgent::buildObjectForFrameTree):
+ * inspector/InspectorPageAgent.h:
+ * inspector/InspectorProfilerAgent.cpp:
+ (WebCore::InspectorProfilerAgent::getProfileHeaders):
+ * inspector/InspectorProfilerAgent.h:
+ * inspector/InspectorResourceAgent.h:
+ * inspector/InspectorRuntimeAgent.cpp:
+ (WebCore::InspectorRuntimeAgent::getProperties):
+ * inspector/InspectorRuntimeAgent.h:
+ * inspector/InspectorState.h:
+ * inspector/InspectorStyleSheet.cpp:
+ (WebCore::asCSSRuleList):
+ (WebCore::InspectorStyle::buildArrayForComputedStyle):
+ (WebCore::InspectorStyle::styleWithProperties):
+ (WebCore::selectorsFromSource):
+ (WebCore::InspectorStyleSheet::buildObjectForSelectorList):
+ (WebCore::InspectorStyleSheet::buildObjectForRule):
+ (WebCore::InspectorStyleSheet::lineEndings):
+ (WebCore::InspectorStyleSheet::buildArrayForRuleList):
+ (WebCore::InspectorStyleSheetForInlineStyle::lineEndings):
+ * inspector/InspectorStyleSheet.h:
+ * inspector/InspectorValues.cpp:
+ (WebCore::InspectorArrayBase::writeJSON):
+ * inspector/InspectorValues.h:
+ * inspector/PageRuntimeAgent.cpp:
+ (WebCore::PageRuntimeAgent::reportExecutionContextCreation):
+ * inspector/ScriptCallStack.cpp:
+ (WebCore::ScriptCallStack::buildInspectorArray):
+ * inspector/ScriptCallStack.h:
+ * loader/CrossOriginPreflightResultCache.h:
+ * loader/DocumentLoader.cpp:
+ (WebCore::cancelAll):
+ (WebCore::setAllDefersLoading):
+ (WebCore::DocumentLoader::getSubresources):
+ * loader/DocumentLoader.h:
+ * loader/FormState.h:
+ * loader/FormSubmission.cpp:
+ (WebCore::FormSubmission::create):
+ * loader/ProgressTracker.h:
+ * loader/ResourceLoadScheduler.h:
+ * loader/TextTrackLoader.cpp:
+ (WebCore::TextTrackLoader::getNewCues):
+ (WebCore::TextTrackLoader::getNewRegions):
+ * loader/TextTrackLoader.h:
+ * loader/WorkerThreadableLoader.cpp:
+ (WebCore::workerGlobalScopeDidReceiveData):
+ (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveData):
+ * loader/appcache/ApplicationCache.cpp:
+ (WebCore::ApplicationCache::removeResource):
+ (WebCore::ApplicationCache::dump):
+ * loader/appcache/ApplicationCache.h:
+ * loader/appcache/ApplicationCacheStorage.cpp:
+ (WebCore::ApplicationCacheStorage::getOriginsWithCache):
+ * loader/archive/Archive.cpp:
+ (WebCore::Archive::clearAllSubframeArchives):
+ (WebCore::Archive::clearAllSubframeArchivesImpl):
+ * loader/archive/Archive.h:
+ (WebCore::Archive::subresources):
+ (WebCore::Archive::subframeArchives):
+ * loader/archive/ArchiveResourceCollection.cpp:
+ (WebCore::ArchiveResourceCollection::addAllResources):
+ * loader/archive/ArchiveResourceCollection.h:
+ * loader/archive/cf/LegacyWebArchive.cpp:
+ (WebCore::LegacyWebArchive::createPropertyListRepresentation):
+ (WebCore::LegacyWebArchive::create):
+ (WebCore::LegacyWebArchive::createFromSelection):
+ * loader/archive/cf/LegacyWebArchive.h:
+ * loader/archive/mhtml/MHTMLParser.h:
+ * loader/cache/CachedResource.h:
+ * loader/cache/CachedResourceLoader.h:
+ * loader/cache/MemoryCache.h:
+ * loader/icon/IconDatabase.cpp:
+ (WebCore::IconDatabase::notifyPendingLoadDecisions):
+ * loader/icon/IconDatabase.h:
+ * page/CaptionUserPreferencesMediaAF.cpp:
+ (WebCore::CaptionUserPreferencesMediaAF::sortedTrackListForMenu):
+ * page/CaptionUserPreferencesMediaAF.h:
+ * page/ChromeClient.h:
+ (WebCore::ChromeClient::didAssociateFormControls):
+ * page/Console.h:
+ * page/ContentSecurityPolicy.h:
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::getMatchedCSSRules):
+ * page/DeviceController.cpp:
+ (WebCore::DeviceController::dispatchDeviceEvent):
+ (WebCore::DeviceController::fireDeviceEvent):
+ * page/DeviceController.h:
+ * page/EditorClient.h:
+ * page/EventHandler.cpp:
+ (WebCore::EventHandler::handleTouchEvent):
+ * page/EventHandler.h:
+ * page/FrameView.cpp:
+ (WebCore::FrameView::serviceScriptedAnimations):
+ * page/Page.cpp:
+ (WebCore::Page::findStringMatchingRanges):
+ * page/Page.h:
+ * page/PageGroup.h:
+ * page/Performance.cpp:
+ (WebCore::Performance::webkitGetEntriesByType):
+ (WebCore::Performance::webkitGetEntriesByName):
+ * page/Performance.h:
+ * page/PerformanceEntryList.cpp:
+ (WebCore::PerformanceEntryList::appendAll):
+ * page/PerformanceEntryList.h:
+ * page/SecurityOriginHash.h:
+ * page/SecurityPolicy.cpp:
+ * page/SpeechInputResult.h:
+ * page/animation/AnimationController.cpp:
+ (WebCore::AnimationControllerPrivate::fireEventsAndUpdateStyle):
+ * page/animation/AnimationControllerPrivate.h:
+ * page/animation/CSSPropertyAnimation.cpp:
+ (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
+ * page/animation/CompositeAnimation.h:
+ * page/scrolling/ScrollingStateNode.cpp:
+ (WebCore::ScrollingStateNode::appendChild):
+ * page/scrolling/ScrollingStateNode.h:
+ (WebCore::ScrollingStateNode::children):
+ * page/scrolling/ScrollingThread.cpp:
+ (WebCore::ScrollingThread::dispatchFunctionsFromScrollingThread):
+ * page/scrolling/ScrollingThread.h:
+ * page/scrolling/ScrollingTree.cpp:
+ (WebCore::ScrollingTree::updateTreeFromStateNode):
+ * page/scrolling/ScrollingTreeNode.cpp:
+ (WebCore::ScrollingTreeNode::appendChild):
+ * page/scrolling/ScrollingTreeNode.h:
+ * page/scrolling/mac/ScrollingCoordinatorMac.mm:
+ (WebCore::ScrollingCoordinatorMac::syncChildPositions):
+ * platform/CrossThreadCopier.cpp:
+ * platform/CrossThreadCopier.h:
+ * platform/DragData.h:
+ * platform/MainThreadTask.h:
+ * platform/PODFreeListArena.h:
+ (WebCore::PODFreeListArena::freeObject):
+ (WebCore::PODFreeListArena::allocate):
+ * platform/PODIntervalTree.h:
+ * platform/PODRedBlackTree.h:
+ (WebCore::PODRedBlackTree::PODRedBlackTree):
+ * platform/PlatformSpeechSynthesizer.cpp:
+ (WebCore::PlatformSpeechSynthesizer::voiceList):
+ * platform/PlatformSpeechSynthesizer.h:
+ * platform/RunLoop.h:
+ * platform/ScrollView.cpp:
+ (WebCore::ScrollView::frameRectsChanged):
+ (WebCore::ScrollView::clipRectChanged):
+ (WebCore::ScrollView::setParentVisible):
+ (WebCore::ScrollView::show):
+ (WebCore::ScrollView::hide):
+ * platform/ScrollView.h:
+ * platform/SharedBuffer.h:
+ * platform/Supplementable.h:
+ (WebCore::Supplement::provideTo):
+ (WebCore::Supplementable::provideSupplement):
+ * platform/URL.cpp:
+ (WebCore::findHostnamesInMailToURL):
+ (WebCore::encodeHostnames):
+ * platform/audio/AudioBus.h:
+ * platform/audio/AudioDSPKernelProcessor.h:
+ * platform/audio/AudioResampler.h:
+ * platform/audio/DynamicsCompressor.h:
+ * platform/audio/DynamicsCompressorKernel.h:
+ * platform/audio/HRTFDatabase.h:
+ * platform/audio/HRTFKernel.h:
+ * platform/audio/MultiChannelResampler.h:
+ * platform/audio/Reverb.h:
+ * platform/audio/ReverbConvolver.h:
+ * platform/cf/SharedBufferCF.cpp:
+ (WebCore::SharedBuffer::copyBufferAndClear):
+ (WebCore::SharedBuffer::copySomeDataFromDataArray):
+ * platform/graphics/FloatPolygon.cpp:
+ (WebCore::FloatPolygon::FloatPolygon):
+ * platform/graphics/FloatPolygon.h:
+ * platform/graphics/FontCache.cpp:
+ (WebCore::FontCache::getCachedFontData):
+ (WebCore::FontCache::purgeInactiveFontData):
+ * platform/graphics/GlyphMetricsMap.h:
+ (WebCore::::locatePageSlowCase):
+ * platform/graphics/GlyphPageTreeNode.h:
+ * platform/graphics/GraphicsContext3D.h:
+ * platform/graphics/GraphicsLayer.cpp:
+ * platform/graphics/GraphicsLayer.h:
+ * platform/graphics/PlatformTextTrackMenu.h:
+ * platform/graphics/SimpleFontData.h:
+ * platform/graphics/WidthCache.h:
+ * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h:
+ * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
+ (WebCore::MediaPlayerPrivateAVFoundation::processNewAndRemovedTextTracks):
+ * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::processLegacyClosedCaptionsTracks):
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::processMediaSelectionOptions):
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::setFilterAnimationKeyframes):
+ (WebCore::GraphicsLayerCA::fetchCloneLayers):
+ * platform/graphics/ca/GraphicsLayerCA.h:
+ * platform/graphics/ca/PlatformCAAnimation.h:
+ * platform/graphics/ca/PlatformCALayer.h:
+ * platform/graphics/ca/mac/LayerPool.h:
+ * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
+ (PlatformCAAnimation::setValues):
+ * platform/graphics/ca/mac/TileController.h:
+ * platform/graphics/cg/SubimageCacheWithTimer.h:
+ * platform/graphics/filters/CustomFilterParameterList.h:
+ * platform/graphics/filters/FilterEffect.h:
+ * platform/graphics/filters/FilterOperations.h:
+ (WebCore::FilterOperations::operations):
+ * platform/graphics/gpu/Texture.cpp:
+ (WebCore::Texture::Texture):
+ (WebCore::Texture::create):
+ * platform/graphics/gpu/Texture.h:
+ * platform/graphics/mac/ComplexTextController.h:
+ * platform/graphics/mac/SimpleFontDataCoreText.cpp:
+ (WebCore::SimpleFontData::getCFStringAttributes):
+ * platform/graphics/transforms/TransformOperations.h:
+ (WebCore::TransformOperations::operations):
+ * platform/ios/PasteboardIOS.mm:
+ (WebCore::documentFragmentWithRTF):
+ * platform/mac/PlatformSpeechSynthesizerMac.mm:
+ (-[WebSpeechSynthesisWrapper speakUtterance:WebCore::]):
+ * platform/mediastream/MediaStreamDescriptor.h:
+ * platform/mediastream/MediaStreamSource.h:
+ * platform/mediastream/RTCConfiguration.h:
+ * platform/network/BlobRegistryImpl.h:
+ * platform/network/HTTPHeaderMap.h:
+ * platform/network/ResourceResponseBase.cpp:
+ (WebCore::ResourceResponseBase::parseCacheControlDirectives):
+ (WebCore::parseCacheHeader):
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::clientCerts):
+ (WebCore::ResourceHandle::createCFURLConnection):
+ * platform/text/cf/HyphenationCF.cpp:
+ (WebCore::::createValueForNullKey):
+ (WebCore::::createValueForKey):
+ (WebCore::cfLocaleCache):
+ * plugins/PluginMainThreadScheduler.h:
+ * rendering/HitTestResult.h:
+ * rendering/InlineFlowBox.h:
+ * rendering/RenderBlock.cpp:
+ (WebCore::RenderBlock::paintContinuationOutlines):
+ (WebCore::RenderBlock::removeFromTrackedRendererMaps):
+ * rendering/RenderBlock.h:
+ * rendering/RenderButton.h:
+ * rendering/RenderCounter.cpp:
+ * rendering/RenderGrid.cpp:
+ (WebCore::RenderGrid::GridIterator::GridIterator):
+ * rendering/RenderGrid.h:
+ * rendering/RenderLayer.cpp:
+ (WebCore::RenderLayer::updateDescendantsAreContiguousInStackingOrder):
+ (WebCore::RenderLayer::rebuildZOrderLists):
+ (WebCore::RenderLayer::collectLayers):
+ * rendering/RenderLayer.h:
+ * rendering/RenderNamedFlowThread.cpp:
+ (WebCore::RenderNamedFlowThread::getRanges):
+ * rendering/RenderNamedFlowThread.h:
+ * rendering/RenderRegion.cpp:
+ (WebCore::RenderRegion::getRanges):
+ * rendering/RenderRegion.h:
+ * rendering/RenderView.cpp:
+ (WebCore::RenderView::selectionBounds):
+ (WebCore::RenderView::setSelection):
+ * rendering/RootInlineBox.h:
+ * rendering/shapes/PolygonShape.cpp:
+ (WebCore::computeShapePaddingBounds):
+ (WebCore::computeShapeMarginBounds):
+ * rendering/shapes/PolygonShape.h:
+ (WebCore::PolygonShape::PolygonShape):
+ * rendering/shapes/Shape.cpp:
+ (WebCore::createPolygonShape):
+ (WebCore::Shape::createShape):
+ * rendering/shapes/ShapeInfo.h:
+ * rendering/shapes/ShapeInterval.h:
+ * rendering/style/QuotesData.cpp:
+ (WebCore::QuotesData::create):
+ (WebCore::QuotesData::QuotesData):
+ * rendering/style/QuotesData.h:
+ * rendering/style/RenderStyle.cpp:
+ (WebCore::requireTransformOrigin):
+ (WebCore::RenderStyle::applyTransform):
+ * rendering/style/StyleGridData.h:
+ * rendering/svg/RenderSVGResourceGradient.h:
+ * rendering/svg/RenderSVGResourcePattern.h:
+ * rendering/svg/SVGResourcesCache.h:
+ * storage/StorageEventDispatcher.cpp:
+ (WebCore::StorageEventDispatcher::dispatchSessionStorageEvents):
+ (WebCore::StorageEventDispatcher::dispatchLocalStorageEvents):
+ (WebCore::StorageEventDispatcher::dispatchSessionStorageEventsToFrames):
+ (WebCore::StorageEventDispatcher::dispatchLocalStorageEventsToFrames):
+ * storage/StorageEventDispatcher.h:
+ * storage/StorageNamespaceImpl.h:
+ * storage/StorageThread.h:
+ * storage/StorageTracker.cpp:
+ (WebCore::StorageTracker::origins):
+ * storage/StorageTracker.h:
+ * svg/SVGAnimatedPath.cpp:
+ (WebCore::SVGAnimatedPathAnimator::startAnimValAnimation):
+ * svg/SVGAnimatedTypeAnimator.cpp:
+ (WebCore::SVGElementAnimatedProperties::SVGElementAnimatedProperties):
+ (WebCore::SVGAnimatedTypeAnimator::findAnimatedPropertiesForAttributeName):
+ * svg/SVGAnimatedTypeAnimator.h:
+ * svg/SVGDocumentExtensions.cpp:
+ (WebCore::SVGDocumentExtensions::startAnimations):
+ (WebCore::SVGDocumentExtensions::dispatchSVGLoadEventToOutermostSVGElements):
+ (WebCore::SVGDocumentExtensions::addPendingResource):
+ (WebCore::SVGDocumentExtensions::isElementPendingResources):
+ (WebCore::SVGDocumentExtensions::removeElementFromPendingResources):
+ (WebCore::SVGDocumentExtensions::setOfElementsReferencingTarget):
+ (WebCore::SVGDocumentExtensions::addElementReferencingTarget):
+ (WebCore::SVGDocumentExtensions::rebuildAllElementReferencesForTarget):
+ * svg/SVGDocumentExtensions.h:
+ * svg/SVGFontElement.h:
+ * svg/SVGGlyphMap.h:
+ * svg/SVGMarkerElement.cpp:
+ (WebCore::SVGMarkerElement::orientTypeAnimated):
+ * svg/SVGMarkerElement.h:
+ * svg/SVGPathSegList.h:
+ * svg/animation/SMILTimeContainer.h:
+ * svg/graphics/SVGImageCache.h:
+ * svg/graphics/filters/SVGFilterBuilder.h:
+ (WebCore::SVGFilterBuilder::addBuiltinEffects):
+ * svg/properties/SVGAnimatedEnumerationPropertyTearOff.h:
+ (WebCore::SVGAnimatedEnumerationPropertyTearOff::create):
+ * svg/properties/SVGAnimatedListPropertyTearOff.h:
+ (WebCore::SVGAnimatedListPropertyTearOff::create):
+ * svg/properties/SVGAnimatedPropertyTearOff.h:
+ (WebCore::SVGAnimatedPropertyTearOff::create):
+ * svg/properties/SVGAnimatedStaticPropertyTearOff.h:
+ (WebCore::SVGAnimatedStaticPropertyTearOff::create):
+ * svg/properties/SVGAttributeToPropertyMap.cpp:
+ (WebCore::SVGAttributeToPropertyMap::animatedPropertiesForAttribute):
+ * svg/properties/SVGAttributeToPropertyMap.h:
+ * svg/properties/SVGStaticListPropertyTearOff.h:
+ (WebCore::SVGStaticListPropertyTearOff::create):
+ * svg/properties/SVGTransformListPropertyTearOff.h:
+ (WebCore::SVGTransformListPropertyTearOff::create):
+ (WebCore::SVGTransformListPropertyTearOff::createSVGTransformFromMatrix):
+ (WebCore::SVGTransformListPropertyTearOff::consolidate):
+ * workers/DefaultSharedWorkerRepository.h:
+ * workers/WorkerMessagingProxy.h:
+ * xml/XMLHttpRequestProgressEventThrottle.cpp:
+ (WebCore::XMLHttpRequestProgressEventThrottle::dispatchDeferredEvents):
+ * xml/XMLHttpRequestProgressEventThrottle.h:
+ * xml/XPathNodeSet.cpp:
+ (WebCore::XPath::NodeSet::sort):
+ (WebCore::XPath::NodeSet::traversalSort):
+ * xml/XSLStyleSheet.h:
+ * xml/parser/XMLDocumentParserLibxml2.cpp:
+
2013-10-18 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
Cleaning warning messages from StyleResolveTree
diff --git a/Source/WebCore/Modules/encryptedmedia/MediaKeySession.h b/Source/WebCore/Modules/encryptedmedia/MediaKeySession.h
index 72b8b38..dbe2080 100644
--- a/Source/WebCore/Modules/encryptedmedia/MediaKeySession.h
+++ b/Source/WebCore/Modules/encryptedmedia/MediaKeySession.h
@@ -95,7 +95,7 @@
Deque<PendingKeyRequest> m_pendingKeyRequests;
Timer<MediaKeySession> m_keyRequestTimer;
- Deque<RefPtr<Uint8Array> > m_pendingKeys;
+ Deque<RefPtr<Uint8Array>> m_pendingKeys;
Timer<MediaKeySession> m_addKeyTimer;
private:
diff --git a/Source/WebCore/Modules/encryptedmedia/MediaKeys.h b/Source/WebCore/Modules/encryptedmedia/MediaKeys.h
index bee7910..d8ef93d 100644
--- a/Source/WebCore/Modules/encryptedmedia/MediaKeys.h
+++ b/Source/WebCore/Modules/encryptedmedia/MediaKeys.h
@@ -64,7 +64,7 @@
MediaKeys(const String& keySystem, PassOwnPtr<CDM>);
- Vector<RefPtr<MediaKeySession> > m_sessions;
+ Vector<RefPtr<MediaKeySession>> m_sessions;
HTMLMediaElement* m_mediaElement;
String m_keySystem;
diff --git a/Source/WebCore/Modules/geolocation/Geolocation.h b/Source/WebCore/Modules/geolocation/Geolocation.h
index 03af449..5564c11 100644
--- a/Source/WebCore/Modules/geolocation/Geolocation.h
+++ b/Source/WebCore/Modules/geolocation/Geolocation.h
@@ -109,8 +109,8 @@
bool m_useCachedPosition;
};
- typedef Vector<RefPtr<GeoNotifier> > GeoNotifierVector;
- typedef HashSet<RefPtr<GeoNotifier> > GeoNotifierSet;
+ typedef Vector<RefPtr<GeoNotifier>> GeoNotifierVector;
+ typedef HashSet<RefPtr<GeoNotifier>> GeoNotifierSet;
class Watchers {
public:
@@ -123,7 +123,7 @@
bool isEmpty() const;
void getNotifiersVector(GeoNotifierVector&) const;
private:
- typedef HashMap<int, RefPtr<GeoNotifier> > IdToNotifierMap;
+ typedef HashMap<int, RefPtr<GeoNotifier>> IdToNotifierMap;
typedef HashMap<RefPtr<GeoNotifier>, int> NotifierToIdMap;
IdToNotifierMap m_idToNotifierMap;
NotifierToIdMap m_notifierToIdMap;
diff --git a/Source/WebCore/Modules/geolocation/GeolocationController.cpp b/Source/WebCore/Modules/geolocation/GeolocationController.cpp
index fca4563..7c73ec9 100644
--- a/Source/WebCore/Modules/geolocation/GeolocationController.cpp
+++ b/Source/WebCore/Modules/geolocation/GeolocationController.cpp
@@ -107,7 +107,7 @@
return;
}
m_lastPosition = position;
- Vector<RefPtr<Geolocation> > observersVector;
+ Vector<RefPtr<Geolocation>> observersVector;
copyToVector(m_observers, observersVector);
for (size_t i = 0; i < observersVector.size(); ++i)
observersVector[i]->positionChanged();
@@ -115,7 +115,7 @@
void GeolocationController::errorOccurred(GeolocationError* error)
{
- Vector<RefPtr<Geolocation> > observersVector;
+ Vector<RefPtr<Geolocation>> observersVector;
copyToVector(m_observers, observersVector);
for (size_t i = 0; i < observersVector.size(); ++i)
observersVector[i]->setError(error);
diff --git a/Source/WebCore/Modules/geolocation/GeolocationController.h b/Source/WebCore/Modules/geolocation/GeolocationController.h
index c4689ac..6941b75 100644
--- a/Source/WebCore/Modules/geolocation/GeolocationController.h
+++ b/Source/WebCore/Modules/geolocation/GeolocationController.h
@@ -71,7 +71,7 @@
Page* m_page;
RefPtr<GeolocationPosition> m_lastPosition;
- typedef HashSet<RefPtr<Geolocation> > ObserversSet;
+ typedef HashSet<RefPtr<Geolocation>> ObserversSet;
// All observers; both those requesting high accuracy and those not.
ObserversSet m_observers;
ObserversSet m_highAccuracyObservers;
diff --git a/Source/WebCore/Modules/indexeddb/IDBCallbacks.h b/Source/WebCore/Modules/indexeddb/IDBCallbacks.h
index 9daa3f1..aba771b 100644
--- a/Source/WebCore/Modules/indexeddb/IDBCallbacks.h
+++ b/Source/WebCore/Modules/indexeddb/IDBCallbacks.h
@@ -66,7 +66,7 @@
// From IDBCursor.advance()/continue()
virtual void onSuccess(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer>) = 0;
// From IDBCursor.advance()/continue()
- virtual void onSuccessWithPrefetch(const Vector<RefPtr<IDBKey> >& keys, const Vector<RefPtr<IDBKey> >& primaryKeys, const Vector<RefPtr<SharedBuffer> >& values) = 0;
+ virtual void onSuccessWithPrefetch(const Vector<RefPtr<IDBKey>>& keys, const Vector<RefPtr<IDBKey>>& primaryKeys, const Vector<RefPtr<SharedBuffer>>& values) = 0;
// From IDBFactory.open()/deleteDatabase()
virtual void onBlocked(uint64_t /* existingVersion */) { ASSERT_NOT_REACHED(); }
// From IDBFactory.open()
diff --git a/Source/WebCore/Modules/indexeddb/IDBDatabase.h b/Source/WebCore/Modules/indexeddb/IDBDatabase.h
index 9025311..bd9255f 100644
--- a/Source/WebCore/Modules/indexeddb/IDBDatabase.h
+++ b/Source/WebCore/Modules/indexeddb/IDBDatabase.h
@@ -131,7 +131,7 @@
// Keep track of the versionchange events waiting to be fired on this
// database so that we can cancel them if the database closes.
- Vector<RefPtr<Event> > m_enqueuedEvents;
+ Vector<RefPtr<Event>> m_enqueuedEvents;
RefPtr<IDBDatabaseCallbacks> m_databaseCallbacks;
};
diff --git a/Source/WebCore/Modules/indexeddb/IDBDatabaseBackendInterface.h b/Source/WebCore/Modules/indexeddb/IDBDatabaseBackendInterface.h
index f46d583..9f3369c 100644
--- a/Source/WebCore/Modules/indexeddb/IDBDatabaseBackendInterface.h
+++ b/Source/WebCore/Modules/indexeddb/IDBDatabaseBackendInterface.h
@@ -79,7 +79,7 @@
static const int64_t MinimumIndexId = 30;
- typedef Vector<RefPtr<IDBKey> > IndexKeys;
+ typedef Vector<RefPtr<IDBKey>> IndexKeys;
virtual void get(int64_t transactionId, int64_t objectStoreId, int64_t indexId, PassRefPtr<IDBKeyRange>, bool keyOnly, PassRefPtr<IDBCallbacks>) = 0;
// Note that 'value' may be consumed/adopted by this call.
diff --git a/Source/WebCore/Modules/indexeddb/IDBEventDispatcher.cpp b/Source/WebCore/Modules/indexeddb/IDBEventDispatcher.cpp
index 7263467..116f7d5 100644
--- a/Source/WebCore/Modules/indexeddb/IDBEventDispatcher.cpp
+++ b/Source/WebCore/Modules/indexeddb/IDBEventDispatcher.cpp
@@ -36,7 +36,7 @@
namespace WebCore {
-bool IDBEventDispatcher::dispatch(Event* event, Vector<RefPtr<EventTarget> >& eventTargets)
+bool IDBEventDispatcher::dispatch(Event* event, Vector<RefPtr<EventTarget>>& eventTargets)
{
size_t size = eventTargets.size();
ASSERT(size);
diff --git a/Source/WebCore/Modules/indexeddb/IDBEventDispatcher.h b/Source/WebCore/Modules/indexeddb/IDBEventDispatcher.h
index 00bf154..1d263b5 100644
--- a/Source/WebCore/Modules/indexeddb/IDBEventDispatcher.h
+++ b/Source/WebCore/Modules/indexeddb/IDBEventDispatcher.h
@@ -41,7 +41,7 @@
class IDBEventDispatcher {
public:
- static bool dispatch(Event*, Vector<RefPtr<EventTarget> >&); // The target first and then its ancestors in order of how the event bubbles.
+ static bool dispatch(Event*, Vector<RefPtr<EventTarget>>&); // The target first and then its ancestors in order of how the event bubbles.
private:
IDBEventDispatcher();
diff --git a/Source/WebCore/Modules/indexeddb/IDBKey.h b/Source/WebCore/Modules/indexeddb/IDBKey.h
index 05bebcb..90b62d5 100644
--- a/Source/WebCore/Modules/indexeddb/IDBKey.h
+++ b/Source/WebCore/Modules/indexeddb/IDBKey.h
@@ -37,7 +37,7 @@
class IDBKey : public RefCounted<IDBKey> {
public:
- typedef Vector<RefPtr<IDBKey> > KeyArray;
+ typedef Vector<RefPtr<IDBKey>> KeyArray;
static PassRefPtr<IDBKey> createInvalid()
{
diff --git a/Source/WebCore/Modules/indexeddb/IDBObjectStore.h b/Source/WebCore/Modules/indexeddb/IDBObjectStore.h
index c995a54..108cb00 100644
--- a/Source/WebCore/Modules/indexeddb/IDBObjectStore.h
+++ b/Source/WebCore/Modules/indexeddb/IDBObjectStore.h
@@ -102,7 +102,7 @@
IDBObjectStoreMetadata metadata() const { return m_metadata; }
void setMetadata(const IDBObjectStoreMetadata& metadata) { m_metadata = metadata; }
- typedef Vector<RefPtr<IDBKey> > IndexKeys;
+ typedef Vector<RefPtr<IDBKey>> IndexKeys;
typedef HashMap<String, IndexKeys> IndexKeyMap;
IDBDatabaseBackendInterface* backendDB() const;
@@ -120,7 +120,7 @@
RefPtr<IDBTransaction> m_transaction;
bool m_deleted;
- typedef HashMap<String, RefPtr<IDBIndex> > IDBIndexMap;
+ typedef HashMap<String, RefPtr<IDBIndex>> IDBIndexMap;
IDBIndexMap m_indexMap;
};
diff --git a/Source/WebCore/Modules/indexeddb/IDBPendingTransactionMonitor.cpp b/Source/WebCore/Modules/indexeddb/IDBPendingTransactionMonitor.cpp
index 553af3f..a9f6916 100644
--- a/Source/WebCore/Modules/indexeddb/IDBPendingTransactionMonitor.cpp
+++ b/Source/WebCore/Modules/indexeddb/IDBPendingTransactionMonitor.cpp
@@ -34,7 +34,7 @@
namespace WebCore {
-typedef Vector<RefPtr<IDBTransaction> > TransactionList;
+typedef Vector<RefPtr<IDBTransaction>> TransactionList;
static ThreadSpecific<TransactionList>& transactions()
{
// FIXME: Move the Vector to ScriptExecutionContext to avoid dealing with
diff --git a/Source/WebCore/Modules/indexeddb/IDBRequest.cpp b/Source/WebCore/Modules/indexeddb/IDBRequest.cpp
index 93ae92b..e4d041b 100644
--- a/Source/WebCore/Modules/indexeddb/IDBRequest.cpp
+++ b/Source/WebCore/Modules/indexeddb/IDBRequest.cpp
@@ -451,7 +451,7 @@
m_enqueuedEvents.remove(i);
}
- Vector<RefPtr<EventTarget> > targets;
+ Vector<RefPtr<EventTarget>> targets;
targets.append(this);
if (m_transaction && !m_preventPropagation) {
targets.append(m_transaction);
diff --git a/Source/WebCore/Modules/indexeddb/IDBRequest.h b/Source/WebCore/Modules/indexeddb/IDBRequest.h
index 25f2835..9bc21ce 100644
--- a/Source/WebCore/Modules/indexeddb/IDBRequest.h
+++ b/Source/WebCore/Modules/indexeddb/IDBRequest.h
@@ -91,7 +91,7 @@
virtual void onSuccess(int64_t);
virtual void onSuccess();
virtual void onSuccess(PassRefPtr<IDBKey>, PassRefPtr<IDBKey> primaryKey, PassRefPtr<SharedBuffer>);
- virtual void onSuccessWithPrefetch(const Vector<RefPtr<IDBKey> >&, const Vector<RefPtr<IDBKey> >&, const Vector<RefPtr<SharedBuffer> >&) { ASSERT_NOT_REACHED(); } // Not implemented. Callback should not reach the renderer side.
+ virtual void onSuccessWithPrefetch(const Vector<RefPtr<IDBKey>>&, const Vector<RefPtr<IDBKey>>&, const Vector<RefPtr<SharedBuffer>>&) { ASSERT_NOT_REACHED(); } // Not implemented. Callback should not reach the renderer side.
// ActiveDOMObject
virtual bool hasPendingActivity() const OVERRIDE;
@@ -144,7 +144,7 @@
const IDBDatabaseBackendInterface::TaskType m_taskType;
bool m_hasPendingActivity;
- Vector<RefPtr<Event> > m_enqueuedEvents;
+ Vector<RefPtr<Event>> m_enqueuedEvents;
// Only used if the result type will be a cursor.
IndexedDB::CursorType m_cursorType;
diff --git a/Source/WebCore/Modules/indexeddb/IDBTransaction.cpp b/Source/WebCore/Modules/indexeddb/IDBTransaction.cpp
index ec01f19..788f631 100644
--- a/Source/WebCore/Modules/indexeddb/IDBTransaction.cpp
+++ b/Source/WebCore/Modules/indexeddb/IDBTransaction.cpp
@@ -380,7 +380,7 @@
(*it)->transactionFinished();
m_deletedObjectStores.clear();
- Vector<RefPtr<EventTarget> > targets;
+ Vector<RefPtr<EventTarget>> targets;
targets.append(this);
targets.append(db());
diff --git a/Source/WebCore/Modules/indexeddb/IDBTransaction.h b/Source/WebCore/Modules/indexeddb/IDBTransaction.h
index 78a91dd..a4e8af0 100644
--- a/Source/WebCore/Modules/indexeddb/IDBTransaction.h
+++ b/Source/WebCore/Modules/indexeddb/IDBTransaction.h
@@ -152,12 +152,12 @@
RefPtr<DOMError> m_error;
String m_errorMessage;
- ListHashSet<RefPtr<IDBRequest> > m_requestList;
+ ListHashSet<RefPtr<IDBRequest>> m_requestList;
- typedef HashMap<String, RefPtr<IDBObjectStore> > IDBObjectStoreMap;
+ typedef HashMap<String, RefPtr<IDBObjectStore>> IDBObjectStoreMap;
IDBObjectStoreMap m_objectStoreMap;
- typedef HashSet<RefPtr<IDBObjectStore> > IDBObjectStoreSet;
+ typedef HashSet<RefPtr<IDBObjectStore>> IDBObjectStoreSet;
IDBObjectStoreSet m_deletedObjectStores;
typedef HashMap<RefPtr<IDBObjectStore>, IDBObjectStoreMetadata> IDBObjectStoreMetadataMap;
diff --git a/Source/WebCore/Modules/mediacontrols/MediaControlsHost.cpp b/Source/WebCore/Modules/mediacontrols/MediaControlsHost.cpp
index ea29c51..8de80c1 100644
--- a/Source/WebCore/Modules/mediacontrols/MediaControlsHost.cpp
+++ b/Source/WebCore/Modules/mediacontrols/MediaControlsHost.cpp
@@ -73,14 +73,14 @@
{
}
-Vector<RefPtr<TextTrack> > MediaControlsHost::sortedTrackListForMenu(TextTrackList* trackList)
+Vector<RefPtr<TextTrack>> MediaControlsHost::sortedTrackListForMenu(TextTrackList* trackList)
{
if (!trackList)
- return Vector<RefPtr<TextTrack> >();
+ return Vector<RefPtr<TextTrack>>();
Page* page = m_mediaElement->document().page();
if (!page)
- return Vector<RefPtr<TextTrack> >();
+ return Vector<RefPtr<TextTrack>>();
CaptionUserPreferences* captionPreferences = page->group().captionPreferences();
return captionPreferences->sortedTrackListForMenu(trackList);
diff --git a/Source/WebCore/Modules/mediacontrols/MediaControlsHost.h b/Source/WebCore/Modules/mediacontrols/MediaControlsHost.h
index fca8bf6..01478a3 100644
--- a/Source/WebCore/Modules/mediacontrols/MediaControlsHost.h
+++ b/Source/WebCore/Modules/mediacontrols/MediaControlsHost.h
@@ -50,7 +50,7 @@
static const AtomicString& forcedOnlyKeyword();
static const AtomicString& alwaysOnKeyword();
- Vector<RefPtr<TextTrack> > sortedTrackListForMenu(TextTrackList*);
+ Vector<RefPtr<TextTrack>> sortedTrackListForMenu(TextTrackList*);
String displayNameForTrack(TextTrack*);
TextTrack* captionMenuOffItem();
TextTrack* captionMenuAutomaticItem();
diff --git a/Source/WebCore/Modules/mediasource/MediaSource.cpp b/Source/WebCore/Modules/mediasource/MediaSource.cpp
index 6598466..f1b85e8 100644
--- a/Source/WebCore/Modules/mediasource/MediaSource.cpp
+++ b/Source/WebCore/Modules/mediasource/MediaSource.cpp
@@ -174,9 +174,9 @@
scheduleEvent(eventNames().sourcecloseEvent);
}
-Vector<RefPtr<TimeRanges> > MediaSource::activeRanges() const
+Vector<RefPtr<TimeRanges>> MediaSource::activeRanges() const
{
- Vector<RefPtr<TimeRanges> > activeRanges(m_activeSourceBuffers->length());
+ Vector<RefPtr<TimeRanges>> activeRanges(m_activeSourceBuffers->length());
for (size_t i = 0; i < m_activeSourceBuffers->length(); ++i)
activeRanges[i] = m_activeSourceBuffers->item(i)->buffered(ASSERT_NO_EXCEPTION);
diff --git a/Source/WebCore/Modules/mediasource/MediaSource.h b/Source/WebCore/Modules/mediasource/MediaSource.h
index 8d6384e..f7ce8c1 100644
--- a/Source/WebCore/Modules/mediasource/MediaSource.h
+++ b/Source/WebCore/Modules/mediasource/MediaSource.h
@@ -64,7 +64,7 @@
// MediaSourceBase interface
virtual void onReadyStateChange(const AtomicString&, const AtomicString&) OVERRIDE;
- virtual Vector<RefPtr<TimeRanges> > activeRanges() const OVERRIDE;
+ virtual Vector<RefPtr<TimeRanges>> activeRanges() const OVERRIDE;
RefPtr<SourceBufferList> m_sourceBuffers;
RefPtr<SourceBufferList> m_activeSourceBuffers;
diff --git a/Source/WebCore/Modules/mediasource/MediaSourceBase.cpp b/Source/WebCore/Modules/mediasource/MediaSourceBase.cpp
index f1500fd..f457d18 100644
--- a/Source/WebCore/Modules/mediasource/MediaSourceBase.cpp
+++ b/Source/WebCore/Modules/mediasource/MediaSourceBase.cpp
@@ -103,7 +103,7 @@
{
// Implements MediaSource algorithm for HTMLMediaElement.buffered.
// https://dvcs.w3.org/hg/html-media/raw-file/default/media-source/media-source.html#htmlmediaelement-extensions
- Vector<RefPtr<TimeRanges> > ranges = activeRanges();
+ Vector<RefPtr<TimeRanges>> ranges = activeRanges();
// 1. If activeSourceBuffers.length equals 0 then return an empty TimeRanges object and abort these steps.
if (ranges.isEmpty())
diff --git a/Source/WebCore/Modules/mediasource/MediaSourceBase.h b/Source/WebCore/Modules/mediasource/MediaSourceBase.h
index 5be5c9b..b50ab3b 100644
--- a/Source/WebCore/Modules/mediasource/MediaSourceBase.h
+++ b/Source/WebCore/Modules/mediasource/MediaSourceBase.h
@@ -95,7 +95,7 @@
explicit MediaSourceBase(ScriptExecutionContext*);
virtual void onReadyStateChange(const AtomicString& oldState, const AtomicString& newState) = 0;
- virtual Vector<RefPtr<TimeRanges> > activeRanges() const = 0;
+ virtual Vector<RefPtr<TimeRanges>> activeRanges() const = 0;
PassOwnPtr<SourceBufferPrivate> createSourceBufferPrivate(const String& type, const MediaSourcePrivate::CodecsArray&, ExceptionCode&);
void scheduleEvent(const AtomicString& eventName);
diff --git a/Source/WebCore/Modules/mediasource/MediaSourceRegistry.cpp b/Source/WebCore/Modules/mediasource/MediaSourceRegistry.cpp
index a67ec0f..fdbe52a 100644
--- a/Source/WebCore/Modules/mediasource/MediaSourceRegistry.cpp
+++ b/Source/WebCore/Modules/mediasource/MediaSourceRegistry.cpp
@@ -59,7 +59,7 @@
void MediaSourceRegistry::unregisterURL(const URL& url)
{
ASSERT(isMainThread());
- HashMap<String, RefPtr<MediaSourceBase> >::iterator iter = m_mediaSources.find(url.string());
+ HashMap<String, RefPtr<MediaSourceBase>>::iterator iter = m_mediaSources.find(url.string());
if (iter == m_mediaSources.end())
return;
diff --git a/Source/WebCore/Modules/mediasource/MediaSourceRegistry.h b/Source/WebCore/Modules/mediasource/MediaSourceRegistry.h
index 78d27e0..09d36e7 100644
--- a/Source/WebCore/Modules/mediasource/MediaSourceRegistry.h
+++ b/Source/WebCore/Modules/mediasource/MediaSourceRegistry.h
@@ -55,7 +55,7 @@
private:
MediaSourceRegistry();
- HashMap<String, RefPtr<MediaSourceBase> > m_mediaSources;
+ HashMap<String, RefPtr<MediaSourceBase>> m_mediaSources;
};
} // namespace WebCore
diff --git a/Source/WebCore/Modules/mediasource/SourceBufferList.h b/Source/WebCore/Modules/mediasource/SourceBufferList.h
index 0905137..944ad7e 100644
--- a/Source/WebCore/Modules/mediasource/SourceBufferList.h
+++ b/Source/WebCore/Modules/mediasource/SourceBufferList.h
@@ -77,7 +77,7 @@
ScriptExecutionContext* m_scriptExecutionContext;
GenericEventQueue m_asyncEventQueue;
- Vector<RefPtr<SourceBuffer> > m_list;
+ Vector<RefPtr<SourceBuffer>> m_list;
};
} // namespace WebCore
diff --git a/Source/WebCore/Modules/mediasource/WebKitMediaSource.cpp b/Source/WebCore/Modules/mediasource/WebKitMediaSource.cpp
index e9de23f..8f61bf3 100644
--- a/Source/WebCore/Modules/mediasource/WebKitMediaSource.cpp
+++ b/Source/WebCore/Modules/mediasource/WebKitMediaSource.cpp
@@ -166,9 +166,9 @@
}
}
-Vector<RefPtr<TimeRanges> > WebKitMediaSource::activeRanges() const
+Vector<RefPtr<TimeRanges>> WebKitMediaSource::activeRanges() const
{
- Vector<RefPtr<TimeRanges> > activeRanges(m_activeSourceBuffers->length());
+ Vector<RefPtr<TimeRanges>> activeRanges(m_activeSourceBuffers->length());
for (size_t i = 0; i < m_activeSourceBuffers->length(); ++i)
activeRanges[i] = m_activeSourceBuffers->item(i)->buffered(ASSERT_NO_EXCEPTION);
diff --git a/Source/WebCore/Modules/mediasource/WebKitMediaSource.h b/Source/WebCore/Modules/mediasource/WebKitMediaSource.h
index 687f23b..c0d2205 100644
--- a/Source/WebCore/Modules/mediasource/WebKitMediaSource.h
+++ b/Source/WebCore/Modules/mediasource/WebKitMediaSource.h
@@ -64,7 +64,7 @@
// MediaSourceBase interface
virtual void onReadyStateChange(const AtomicString&, const AtomicString&) OVERRIDE;
- virtual Vector<RefPtr<TimeRanges> > activeRanges() const OVERRIDE;
+ virtual Vector<RefPtr<TimeRanges>> activeRanges() const OVERRIDE;
GenericEventQueue m_asyncEventQueue;
RefPtr<WebKitSourceBufferList> m_sourceBuffers;
diff --git a/Source/WebCore/Modules/mediasource/WebKitSourceBufferList.h b/Source/WebCore/Modules/mediasource/WebKitSourceBufferList.h
index 18a5640..a3eb5e7 100644
--- a/Source/WebCore/Modules/mediasource/WebKitSourceBufferList.h
+++ b/Source/WebCore/Modules/mediasource/WebKitSourceBufferList.h
@@ -77,7 +77,7 @@
ScriptExecutionContext* m_scriptExecutionContext;
GenericEventQueue m_asyncEventQueue;
- Vector<RefPtr<WebKitSourceBuffer> > m_list;
+ Vector<RefPtr<WebKitSourceBuffer>> m_list;
};
} // namespace WebCore
diff --git a/Source/WebCore/Modules/mediastream/MediaStream.cpp b/Source/WebCore/Modules/mediastream/MediaStream.cpp
index 9424999..7e7e938 100644
--- a/Source/WebCore/Modules/mediastream/MediaStream.cpp
+++ b/Source/WebCore/Modules/mediastream/MediaStream.cpp
@@ -331,10 +331,10 @@
void MediaStream::scheduledEventTimerFired(Timer<MediaStream>*)
{
- Vector<RefPtr<Event> > events;
+ Vector<RefPtr<Event>> events;
events.swap(m_scheduledEvents);
- Vector<RefPtr<Event> >::iterator it = events.begin();
+ Vector<RefPtr<Event>>::iterator it = events.begin();
for (; it != events.end(); ++it)
dispatchEvent((*it).release());
diff --git a/Source/WebCore/Modules/mediastream/MediaStream.h b/Source/WebCore/Modules/mediastream/MediaStream.h
index b428c77..fc43391 100644
--- a/Source/WebCore/Modules/mediastream/MediaStream.h
+++ b/Source/WebCore/Modules/mediastream/MediaStream.h
@@ -111,7 +111,7 @@
Vector<RefPtr<Event>> m_scheduledEvents;
};
-typedef Vector<RefPtr<MediaStream> > MediaStreamVector;
+typedef Vector<RefPtr<MediaStream>> MediaStreamVector;
} // namespace WebCore
diff --git a/Source/WebCore/Modules/mediastream/MediaStreamRegistry.h b/Source/WebCore/Modules/mediastream/MediaStreamRegistry.h
index e46c2b2..f304467 100644
--- a/Source/WebCore/Modules/mediastream/MediaStreamRegistry.h
+++ b/Source/WebCore/Modules/mediastream/MediaStreamRegistry.h
@@ -50,7 +50,7 @@
MediaStreamDescriptor* lookupMediaStreamDescriptor(const String& url);
private:
- HashMap<String, RefPtr<MediaStreamDescriptor> > m_streamDescriptors;
+ HashMap<String, RefPtr<MediaStreamDescriptor>> m_streamDescriptors;
};
} // namespace WebCore
diff --git a/Source/WebCore/Modules/mediastream/MediaStreamTrack.h b/Source/WebCore/Modules/mediastream/MediaStreamTrack.h
index b5dabd0..3a4482e 100644
--- a/Source/WebCore/Modules/mediastream/MediaStreamTrack.h
+++ b/Source/WebCore/Modules/mediastream/MediaStreamTrack.h
@@ -130,7 +130,7 @@
bool m_eventDispatchScheduled;
};
-typedef Vector<RefPtr<MediaStreamTrack> > MediaStreamTrackVector;
+typedef Vector<RefPtr<MediaStreamTrack>> MediaStreamTrackVector;
} // namespace WebCore
diff --git a/Source/WebCore/Modules/mediastream/RTCDTMFSender.cpp b/Source/WebCore/Modules/mediastream/RTCDTMFSender.cpp
index d61a165..d365c5e 100644
--- a/Source/WebCore/Modules/mediastream/RTCDTMFSender.cpp
+++ b/Source/WebCore/Modules/mediastream/RTCDTMFSender.cpp
@@ -147,10 +147,10 @@
if (m_stopped)
return;
- Vector<RefPtr<Event> > events;
+ Vector<RefPtr<Event>> events;
events.swap(m_scheduledEvents);
- Vector<RefPtr<Event> >::iterator it = events.begin();
+ Vector<RefPtr<Event>>::iterator it = events.begin();
for (; it != events.end(); ++it)
dispatchEvent((*it).release());
}
diff --git a/Source/WebCore/Modules/mediastream/RTCDTMFSender.h b/Source/WebCore/Modules/mediastream/RTCDTMFSender.h
index 6b7b04b8..b5f11f4 100644
--- a/Source/WebCore/Modules/mediastream/RTCDTMFSender.h
+++ b/Source/WebCore/Modules/mediastream/RTCDTMFSender.h
@@ -90,7 +90,7 @@
bool m_stopped;
Timer<RTCDTMFSender> m_scheduledEventTimer;
- Vector<RefPtr<Event> > m_scheduledEvents;
+ Vector<RefPtr<Event>> m_scheduledEvents;
};
} // namespace WebCore
diff --git a/Source/WebCore/Modules/mediastream/RTCDataChannel.cpp b/Source/WebCore/Modules/mediastream/RTCDataChannel.cpp
index 97c6415..a1e0b56 100644
--- a/Source/WebCore/Modules/mediastream/RTCDataChannel.cpp
+++ b/Source/WebCore/Modules/mediastream/RTCDataChannel.cpp
@@ -306,10 +306,10 @@
if (m_stopped)
return;
- Vector<RefPtr<Event> > events;
+ Vector<RefPtr<Event>> events;
events.swap(m_scheduledEvents);
- Vector<RefPtr<Event> >::iterator it = events.begin();
+ Vector<RefPtr<Event>>::iterator it = events.begin();
for (; it != events.end(); ++it)
dispatchEvent((*it).release());
diff --git a/Source/WebCore/Modules/mediastream/RTCDataChannel.h b/Source/WebCore/Modules/mediastream/RTCDataChannel.h
index 51017f8..fe19e8e 100644
--- a/Source/WebCore/Modules/mediastream/RTCDataChannel.h
+++ b/Source/WebCore/Modules/mediastream/RTCDataChannel.h
@@ -115,7 +115,7 @@
BinaryType m_binaryType;
Timer<RTCDataChannel> m_scheduledEventTimer;
- Vector<RefPtr<Event> > m_scheduledEvents;
+ Vector<RefPtr<Event>> m_scheduledEvents;
};
} // namespace WebCore
diff --git a/Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp b/Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp
index 051e0dd..0c768d3 100644
--- a/Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp
+++ b/Source/WebCore/Modules/mediastream/RTCPeerConnection.cpp
@@ -595,7 +595,7 @@
m_iceConnectionState = IceConnectionStateClosed;
m_signalingState = SignalingStateClosed;
- Vector<RefPtr<RTCDataChannel> >::iterator i = m_dataChannels.begin();
+ Vector<RefPtr<RTCDataChannel>>::iterator i = m_dataChannels.begin();
for (; i != m_dataChannels.end(); ++i)
(*i)->stop();
}
@@ -634,10 +634,10 @@
if (m_stopped)
return;
- Vector<RefPtr<Event> > events;
+ Vector<RefPtr<Event>> events;
events.swap(m_scheduledEvents);
- Vector<RefPtr<Event> >::iterator it = events.begin();
+ Vector<RefPtr<Event>>::iterator it = events.begin();
for (; it != events.end(); ++it)
dispatchEvent((*it).release());
diff --git a/Source/WebCore/Modules/mediastream/RTCPeerConnection.h b/Source/WebCore/Modules/mediastream/RTCPeerConnection.h
index 496e2f0..2c77ac5 100644
--- a/Source/WebCore/Modules/mediastream/RTCPeerConnection.h
+++ b/Source/WebCore/Modules/mediastream/RTCPeerConnection.h
@@ -152,12 +152,12 @@
MediaStreamVector m_localStreams;
MediaStreamVector m_remoteStreams;
- Vector<RefPtr<RTCDataChannel> > m_dataChannels;
+ Vector<RefPtr<RTCDataChannel>> m_dataChannels;
OwnPtr<RTCPeerConnectionHandler> m_peerHandler;
Timer<RTCPeerConnection> m_scheduledEventTimer;
- Vector<RefPtr<Event> > m_scheduledEvents;
+ Vector<RefPtr<Event>> m_scheduledEvents;
bool m_stopped;
};
diff --git a/Source/WebCore/Modules/mediastream/RTCStatsResponse.h b/Source/WebCore/Modules/mediastream/RTCStatsResponse.h
index d8a41f5..d9e0cd6 100644
--- a/Source/WebCore/Modules/mediastream/RTCStatsResponse.h
+++ b/Source/WebCore/Modules/mediastream/RTCStatsResponse.h
@@ -44,7 +44,7 @@
public:
static PassRefPtr<RTCStatsResponse> create();
- const Vector<RefPtr<RTCStatsReport> >& result() const { return m_result; };
+ const Vector<RefPtr<RTCStatsReport>>& result() const { return m_result; };
PassRefPtr<RTCStatsReport> namedItem(const AtomicString&);
bool canGetItemsForName(const AtomicString&);
@@ -54,7 +54,7 @@
private:
RTCStatsResponse();
- Vector<RefPtr<RTCStatsReport> > m_result;
+ Vector<RefPtr<RTCStatsReport>> m_result;
HashMap<String, int> m_idmap;
};
diff --git a/Source/WebCore/Modules/notifications/Notification.h b/Source/WebCore/Modules/notifications/Notification.h
index 45673eb..f6ff6cf 100644
--- a/Source/WebCore/Modules/notifications/Notification.h
+++ b/Source/WebCore/Modules/notifications/Notification.h
@@ -181,7 +181,7 @@
RefPtr<NotificationCenter> m_notificationCenter;
#if ENABLE(NOTIFICATIONS)
- OwnPtr<Timer<Notification> > m_taskTimer;
+ OwnPtr<Timer<Notification>> m_taskTimer;
#endif
};
diff --git a/Source/WebCore/Modules/notifications/NotificationCenter.h b/Source/WebCore/Modules/notifications/NotificationCenter.h
index 58d0832..e7cd26c 100644
--- a/Source/WebCore/Modules/notifications/NotificationCenter.h
+++ b/Source/WebCore/Modules/notifications/NotificationCenter.h
@@ -93,7 +93,7 @@
void requestTimedOut(NotificationRequestCallback*);
NotificationClient* m_client;
- HashSet<RefPtr<NotificationRequestCallback> > m_callbacks;
+ HashSet<RefPtr<NotificationRequestCallback>> m_callbacks;
};
} // namespace WebCore
diff --git a/Source/WebCore/Modules/speech/SpeechSynthesis.cpp b/Source/WebCore/Modules/speech/SpeechSynthesis.cpp
index bad82da..e45632a 100644
--- a/Source/WebCore/Modules/speech/SpeechSynthesis.cpp
+++ b/Source/WebCore/Modules/speech/SpeechSynthesis.cpp
@@ -61,7 +61,7 @@
m_voiceList.clear();
}
-const Vector<RefPtr<SpeechSynthesisVoice> >& SpeechSynthesis::getVoices()
+const Vector<RefPtr<SpeechSynthesisVoice>>& SpeechSynthesis::getVoices()
{
if (m_voiceList.size())
return m_voiceList;
@@ -70,7 +70,7 @@
m_platformSpeechSynthesizer = PlatformSpeechSynthesizer::create(this);
// If the voiceList is empty, that's the cue to get the voices from the platform again.
- const Vector<RefPtr<PlatformSpeechSynthesisVoice> >& platformVoices = m_platformSpeechSynthesizer->voiceList();
+ const Vector<RefPtr<PlatformSpeechSynthesisVoice>>& platformVoices = m_platformSpeechSynthesizer->voiceList();
size_t voiceCount = platformVoices.size();
for (size_t k = 0; k < voiceCount; k++)
m_voiceList.append(SpeechSynthesisVoice::create(platformVoices[k]));
diff --git a/Source/WebCore/Modules/speech/SpeechSynthesis.h b/Source/WebCore/Modules/speech/SpeechSynthesis.h
index 5393dfe..9c787a0 100644
--- a/Source/WebCore/Modules/speech/SpeechSynthesis.h
+++ b/Source/WebCore/Modules/speech/SpeechSynthesis.h
@@ -55,7 +55,7 @@
void pause();
void resume();
- const Vector<RefPtr<SpeechSynthesisVoice> >& getVoices();
+ const Vector<RefPtr<SpeechSynthesisVoice>>& getVoices();
// Used in testing to use a mock platform synthesizer
void setPlatformSynthesizer(PassOwnPtr<PlatformSpeechSynthesizer>);
@@ -77,9 +77,9 @@
void fireEvent(const AtomicString& type, SpeechSynthesisUtterance*, unsigned long charIndex, const String& name);
OwnPtr<PlatformSpeechSynthesizer> m_platformSpeechSynthesizer;
- Vector<RefPtr<SpeechSynthesisVoice> > m_voiceList;
+ Vector<RefPtr<SpeechSynthesisVoice>> m_voiceList;
SpeechSynthesisUtterance* m_currentSpeechUtterance;
- Deque<RefPtr<SpeechSynthesisUtterance> > m_utteranceQueue;
+ Deque<RefPtr<SpeechSynthesisUtterance>> m_utteranceQueue;
bool m_isPaused;
};
diff --git a/Source/WebCore/Modules/webaudio/AudioBuffer.h b/Source/WebCore/Modules/webaudio/AudioBuffer.h
index 1ca6766..d52c028 100644
--- a/Source/WebCore/Modules/webaudio/AudioBuffer.h
+++ b/Source/WebCore/Modules/webaudio/AudioBuffer.h
@@ -78,7 +78,7 @@
float m_sampleRate;
size_t m_length;
- Vector<RefPtr<Float32Array> > m_channels;
+ Vector<RefPtr<Float32Array>> m_channels;
};
} // namespace WebCore
diff --git a/Source/WebCore/Modules/webaudio/AudioNode.h b/Source/WebCore/Modules/webaudio/AudioNode.h
index 64eae2b..ba66342 100644
--- a/Source/WebCore/Modules/webaudio/AudioNode.h
+++ b/Source/WebCore/Modules/webaudio/AudioNode.h
@@ -201,8 +201,8 @@
NodeType m_nodeType;
RefPtr<AudioContext> m_context;
float m_sampleRate;
- Vector<OwnPtr<AudioNodeInput> > m_inputs;
- Vector<OwnPtr<AudioNodeOutput> > m_outputs;
+ Vector<OwnPtr<AudioNodeInput>> m_inputs;
+ Vector<OwnPtr<AudioNodeOutput>> m_outputs;
double m_lastProcessingTime;
double m_lastNonSilentTime;
diff --git a/Source/WebCore/Modules/webaudio/AudioNodeOutput.h b/Source/WebCore/Modules/webaudio/AudioNodeOutput.h
index aff475f..ece31e4 100644
--- a/Source/WebCore/Modules/webaudio/AudioNodeOutput.h
+++ b/Source/WebCore/Modules/webaudio/AudioNodeOutput.h
@@ -144,8 +144,8 @@
unsigned m_renderingFanOutCount;
unsigned m_renderingParamFanOutCount;
- HashSet<RefPtr<AudioParam> > m_params;
- typedef HashSet<RefPtr<AudioParam> >::iterator ParamsIterator;
+ HashSet<RefPtr<AudioParam>> m_params;
+ typedef HashSet<RefPtr<AudioParam>>::iterator ParamsIterator;
};
} // namespace WebCore
diff --git a/Source/WebCore/Modules/webaudio/MediaStreamAudioSource.cpp b/Source/WebCore/Modules/webaudio/MediaStreamAudioSource.cpp
index ea4f27c..11f4965 100644
--- a/Source/WebCore/Modules/webaudio/MediaStreamAudioSource.cpp
+++ b/Source/WebCore/Modules/webaudio/MediaStreamAudioSource.cpp
@@ -82,14 +82,14 @@
void MediaStreamAudioSource::setAudioFormat(size_t numberOfChannels, float sampleRate)
{
MutexLocker locker(m_audioConsumersLock);
- for (Vector<RefPtr<AudioDestinationConsumer> >::iterator it = m_audioConsumers.begin(); it != m_audioConsumers.end(); ++it)
+ for (Vector<RefPtr<AudioDestinationConsumer>>::iterator it = m_audioConsumers.begin(); it != m_audioConsumers.end(); ++it)
(*it)->setFormat(numberOfChannels, sampleRate);
}
void MediaStreamAudioSource::consumeAudio(AudioBus* bus, size_t numberOfFrames)
{
MutexLocker locker(m_audioConsumersLock);
- for (Vector<RefPtr<AudioDestinationConsumer> >::iterator it = m_audioConsumers.begin(); it != m_audioConsumers.end(); ++it)
+ for (Vector<RefPtr<AudioDestinationConsumer>>::iterator it = m_audioConsumers.begin(); it != m_audioConsumers.end(); ++it)
(*it)->consumeAudio(bus, numberOfFrames);
}
diff --git a/Source/WebCore/Modules/webaudio/PeriodicWave.h b/Source/WebCore/Modules/webaudio/PeriodicWave.h
index 1243d90..e448506 100644
--- a/Source/WebCore/Modules/webaudio/PeriodicWave.h
+++ b/Source/WebCore/Modules/webaudio/PeriodicWave.h
@@ -89,7 +89,7 @@
// Creates tables based on numberOfComponents Fourier coefficients.
void createBandLimitedTables(const float* real, const float* imag, unsigned numberOfComponents);
- Vector<OwnPtr<AudioFloatArray> > m_bandLimitedTables;
+ Vector<OwnPtr<AudioFloatArray>> m_bandLimitedTables;
};
} // namespace WebCore
diff --git a/Source/WebCore/Modules/webaudio/ScriptProcessorNode.h b/Source/WebCore/Modules/webaudio/ScriptProcessorNode.h
index 8853cef..23d0a1b 100644
--- a/Source/WebCore/Modules/webaudio/ScriptProcessorNode.h
+++ b/Source/WebCore/Modules/webaudio/ScriptProcessorNode.h
@@ -82,8 +82,8 @@
void swapBuffers() { m_doubleBufferIndex = 1 - m_doubleBufferIndex; }
unsigned m_doubleBufferIndex;
unsigned m_doubleBufferIndexForEvent;
- Vector<RefPtr<AudioBuffer> > m_inputBuffers;
- Vector<RefPtr<AudioBuffer> > m_outputBuffers;
+ Vector<RefPtr<AudioBuffer>> m_inputBuffers;
+ Vector<RefPtr<AudioBuffer>> m_outputBuffers;
size_t m_bufferSize;
unsigned m_bufferReadWriteIndex;
diff --git a/Source/WebCore/Modules/webdatabase/AbstractDatabaseServer.h b/Source/WebCore/Modules/webdatabase/AbstractDatabaseServer.h
index fdbdc57..56c7425 100644
--- a/Source/WebCore/Modules/webdatabase/AbstractDatabaseServer.h
+++ b/Source/WebCore/Modules/webdatabase/AbstractDatabaseServer.h
@@ -62,7 +62,7 @@
bool setVersionInNewDatabase, DatabaseError&, String& errorMessage, OpenAttempt = FirstTryToOpenDatabase) = 0;
virtual bool hasEntryForOrigin(SecurityOrigin*) = 0;
- virtual void origins(Vector<RefPtr<SecurityOrigin> >& result) = 0;
+ virtual void origins(Vector<RefPtr<SecurityOrigin>>& result) = 0;
virtual bool databaseNamesForOrigin(SecurityOrigin*, Vector<String>& result) = 0;
virtual DatabaseDetails detailsForNameAndOrigin(const String&, SecurityOrigin*) = 0;
diff --git a/Source/WebCore/Modules/webdatabase/DatabaseBackend.h b/Source/WebCore/Modules/webdatabase/DatabaseBackend.h
index a3b0abe..8506e73 100644
--- a/Source/WebCore/Modules/webdatabase/DatabaseBackend.h
+++ b/Source/WebCore/Modules/webdatabase/DatabaseBackend.h
@@ -72,7 +72,7 @@
void scheduleTransaction();
- Deque<RefPtr<SQLTransactionBackend> > m_transactionQueue;
+ Deque<RefPtr<SQLTransactionBackend>> m_transactionQueue;
Mutex m_transactionInProgressMutex;
bool m_transactionInProgress;
bool m_isTransactionQueueEnabled;
diff --git a/Source/WebCore/Modules/webdatabase/DatabaseManager.cpp b/Source/WebCore/Modules/webdatabase/DatabaseManager.cpp
index afcea14..75fd13a 100644
--- a/Source/WebCore/Modules/webdatabase/DatabaseManager.cpp
+++ b/Source/WebCore/Modules/webdatabase/DatabaseManager.cpp
@@ -359,7 +359,7 @@
return m_server->hasEntryForOrigin(origin);
}
-void DatabaseManager::origins(Vector<RefPtr<SecurityOrigin> >& result)
+void DatabaseManager::origins(Vector<RefPtr<SecurityOrigin>>& result)
{
m_server->origins(result);
}
diff --git a/Source/WebCore/Modules/webdatabase/DatabaseManager.h b/Source/WebCore/Modules/webdatabase/DatabaseManager.h
index f864e0b..384131c 100644
--- a/Source/WebCore/Modules/webdatabase/DatabaseManager.h
+++ b/Source/WebCore/Modules/webdatabase/DatabaseManager.h
@@ -90,7 +90,7 @@
String fullPathForDatabase(SecurityOrigin*, const String& name, bool createIfDoesNotExist = true);
bool hasEntryForOrigin(SecurityOrigin*);
- void origins(Vector<RefPtr<SecurityOrigin> >& result);
+ void origins(Vector<RefPtr<SecurityOrigin>>& result);
bool databaseNamesForOrigin(SecurityOrigin*, Vector<String>& result);
DatabaseDetails detailsForNameAndOrigin(const String&, SecurityOrigin*);
diff --git a/Source/WebCore/Modules/webdatabase/DatabaseServer.cpp b/Source/WebCore/Modules/webdatabase/DatabaseServer.cpp
index 9d92709..7f2cb3f 100644
--- a/Source/WebCore/Modules/webdatabase/DatabaseServer.cpp
+++ b/Source/WebCore/Modules/webdatabase/DatabaseServer.cpp
@@ -67,7 +67,7 @@
return DatabaseTracker::tracker().hasEntryForOrigin(origin);
}
-void DatabaseServer::origins(Vector<RefPtr<SecurityOrigin> >& result)
+void DatabaseServer::origins(Vector<RefPtr<SecurityOrigin>>& result)
{
DatabaseTracker::tracker().origins(result);
}
diff --git a/Source/WebCore/Modules/webdatabase/DatabaseServer.h b/Source/WebCore/Modules/webdatabase/DatabaseServer.h
index 6a868bd..7cf9c9c 100644
--- a/Source/WebCore/Modules/webdatabase/DatabaseServer.h
+++ b/Source/WebCore/Modules/webdatabase/DatabaseServer.h
@@ -50,7 +50,7 @@
bool setVersionInNewDatabase, DatabaseError&, String& errorMessage, OpenAttempt);
virtual bool hasEntryForOrigin(SecurityOrigin*);
- virtual void origins(Vector<RefPtr<SecurityOrigin> >& result);
+ virtual void origins(Vector<RefPtr<SecurityOrigin>>& result);
virtual bool databaseNamesForOrigin(SecurityOrigin*, Vector<String>& result);
virtual DatabaseDetails detailsForNameAndOrigin(const String&, SecurityOrigin*);
diff --git a/Source/WebCore/Modules/webdatabase/DatabaseThread.h b/Source/WebCore/Modules/webdatabase/DatabaseThread.h
index b578278..4b202ee 100644
--- a/Source/WebCore/Modules/webdatabase/DatabaseThread.h
+++ b/Source/WebCore/Modules/webdatabase/DatabaseThread.h
@@ -82,7 +82,7 @@
MessageQueue<DatabaseTask> m_queue;
// This set keeps track of the open databases that have been used on this thread.
- typedef HashSet<RefPtr<DatabaseBackend> > DatabaseSet;
+ typedef HashSet<RefPtr<DatabaseBackend>> DatabaseSet;
DatabaseSet m_openDatabaseSet;
OwnPtr<SQLTransactionClient> m_transactionClient;
diff --git a/Source/WebCore/Modules/webdatabase/DatabaseTracker.cpp b/Source/WebCore/Modules/webdatabase/DatabaseTracker.cpp
index ccde53d..21f9dd6 100644
--- a/Source/WebCore/Modules/webdatabase/DatabaseTracker.cpp
+++ b/Source/WebCore/Modules/webdatabase/DatabaseTracker.cpp
@@ -301,7 +301,7 @@
void DatabaseTracker::interruptAllDatabasesForContext(const DatabaseBackendContext* context)
{
- Vector<RefPtr<DatabaseBackendBase> > openDatabases;
+ Vector<RefPtr<DatabaseBackendBase>> openDatabases;
{
MutexLocker openDatabaseMapLock(m_openDatabaseMapGuard);
@@ -323,8 +323,8 @@
}
}
- Vector<RefPtr<DatabaseBackendBase> >::const_iterator openDatabasesEndIt = openDatabases.end();
- for (Vector<RefPtr<DatabaseBackendBase> >::const_iterator openDatabasesIt = openDatabases.begin(); openDatabasesIt != openDatabasesEndIt; ++openDatabasesIt)
+ Vector<RefPtr<DatabaseBackendBase>>::const_iterator openDatabasesEndIt = openDatabases.end();
+ for (Vector<RefPtr<DatabaseBackendBase>>::const_iterator openDatabasesIt = openDatabases.begin(); openDatabasesIt != openDatabasesEndIt; ++openDatabasesIt)
(*openDatabasesIt)->interrupt();
}
@@ -385,7 +385,7 @@
return fullPathForDatabaseNoLock(origin, name, createIfNotExists).isolatedCopy();
}
-void DatabaseTracker::origins(Vector<RefPtr<SecurityOrigin> >& originsResult)
+void DatabaseTracker::origins(Vector<RefPtr<SecurityOrigin>>& originsResult)
{
MutexLocker lockDatabase(m_databaseGuard);
@@ -625,7 +625,7 @@
}
}
-void DatabaseTracker::getOpenDatabases(SecurityOrigin* origin, const String& name, HashSet<RefPtr<DatabaseBackendBase> >* databases)
+void DatabaseTracker::getOpenDatabases(SecurityOrigin* origin, const String& name, HashSet<RefPtr<DatabaseBackendBase>>* databases)
{
MutexLocker openDatabaseMapLock(m_openDatabaseMapGuard);
if (!m_openDatabaseMap)
@@ -810,7 +810,7 @@
void DatabaseTracker::deleteAllDatabases()
{
- Vector<RefPtr<SecurityOrigin> > originsCopy;
+ Vector<RefPtr<SecurityOrigin>> originsCopy;
origins(originsCopy);
for (unsigned i = 0; i < originsCopy.size(); ++i)
@@ -1089,7 +1089,7 @@
}
#endif
- Vector<RefPtr<DatabaseBackendBase> > deletedDatabases;
+ Vector<RefPtr<DatabaseBackendBase>> deletedDatabases;
// Make sure not to hold the any locks when calling
// Database::markAsDeletedAndClose(), since that can cause a deadlock
@@ -1130,7 +1130,7 @@
return mutex;
}
-typedef Vector<pair<RefPtr<SecurityOrigin>, String> > NotificationQueue;
+typedef Vector<pair<RefPtr<SecurityOrigin>, String>> NotificationQueue;
static NotificationQueue& notificationQueue()
{
diff --git a/Source/WebCore/Modules/webdatabase/DatabaseTracker.h b/Source/WebCore/Modules/webdatabase/DatabaseTracker.h
index 80e3f09..3523740 100644
--- a/Source/WebCore/Modules/webdatabase/DatabaseTracker.h
+++ b/Source/WebCore/Modules/webdatabase/DatabaseTracker.h
@@ -70,7 +70,7 @@
void addOpenDatabase(DatabaseBackendBase*);
void removeOpenDatabase(DatabaseBackendBase*);
- void getOpenDatabases(SecurityOrigin*, const String& name, HashSet<RefPtr<DatabaseBackendBase> >* databases);
+ void getOpenDatabases(SecurityOrigin*, const String& name, HashSet<RefPtr<DatabaseBackendBase>>* databases);
unsigned long long getMaxSizeForDatabase(const DatabaseBackendBase*);
@@ -85,7 +85,7 @@
void setDatabaseDirectoryPath(const String&);
String databaseDirectoryPath() const;
- void origins(Vector<RefPtr<SecurityOrigin> >& result);
+ void origins(Vector<RefPtr<SecurityOrigin>>& result);
bool databaseNamesForOrigin(SecurityOrigin*, Vector<String>& result);
DatabaseDetails detailsForNameAndOrigin(const String&, SecurityOrigin*);
@@ -144,7 +144,7 @@
Mutex m_databaseGuard;
SQLiteDatabase m_database;
- typedef HashMap<String, RefPtr<OriginLock> > OriginLockMap;
+ typedef HashMap<String, RefPtr<OriginLock>> OriginLockMap;
OriginLockMap m_originLockMap;
String m_databaseDirectoryPath;
@@ -156,7 +156,7 @@
CreateSet m_beingCreated;
typedef HashSet<String> NameSet;
HashMap<RefPtr<SecurityOrigin>, NameSet*> m_beingDeleted;
- HashSet<RefPtr<SecurityOrigin> > m_originsBeingDeleted;
+ HashSet<RefPtr<SecurityOrigin>> m_originsBeingDeleted;
bool isDeletingDatabaseOrOriginFor(SecurityOrigin*, const String& name);
void recordCreatingDatabase(SecurityOrigin*, const String& name);
void doneCreatingDatabase(SecurityOrigin*, const String& name);
diff --git a/Source/WebCore/Modules/webdatabase/SQLStatementBackend.cpp b/Source/WebCore/Modules/webdatabase/SQLStatementBackend.cpp
index 77924be..3873e22 100644
--- a/Source/WebCore/Modules/webdatabase/SQLStatementBackend.cpp
+++ b/Source/WebCore/Modules/webdatabase/SQLStatementBackend.cpp
@@ -46,7 +46,7 @@
//
// At birth (in SQLTransactionBackend::executeSQL()):
// =================================================
-// SQLTransactionBackend // Deque<RefPtr<SQLStatementBackend> > m_statementQueue points to ...
+// SQLTransactionBackend // Deque<RefPtr<SQLStatementBackend>> m_statementQueue points to ...
// --> SQLStatementBackend // OwnPtr<SQLStatement> m_frontend points to ...
// --> SQLStatement
//
diff --git a/Source/WebCore/Modules/webdatabase/SQLTransactionBackend.cpp b/Source/WebCore/Modules/webdatabase/SQLTransactionBackend.cpp
index aa2b645..568be97 100644
--- a/Source/WebCore/Modules/webdatabase/SQLTransactionBackend.cpp
+++ b/Source/WebCore/Modules/webdatabase/SQLTransactionBackend.cpp
@@ -237,7 +237,7 @@
//
// At birth (in DatabaseBackend::runTransaction()):
// ====================================================
-// DatabaseBackend // Deque<RefPtr<SQLTransactionBackend> > m_transactionQueue points to ...
+// DatabaseBackend // Deque<RefPtr<SQLTransactionBackend>> m_transactionQueue points to ...
// --> SQLTransactionBackend // RefPtr<SQLTransaction> m_frontend points to ...
// --> SQLTransaction // RefPtr<SQLTransactionBackend> m_backend points to ...
// --> SQLTransactionBackend // which is a circular reference.
diff --git a/Source/WebCore/Modules/webdatabase/SQLTransactionBackend.h b/Source/WebCore/Modules/webdatabase/SQLTransactionBackend.h
index 12a5009..6efc751 100644
--- a/Source/WebCore/Modules/webdatabase/SQLTransactionBackend.h
+++ b/Source/WebCore/Modules/webdatabase/SQLTransactionBackend.h
@@ -129,7 +129,7 @@
bool m_hasVersionMismatch;
Mutex m_statementMutex;
- Deque<RefPtr<SQLStatementBackend> > m_statementQueue;
+ Deque<RefPtr<SQLStatementBackend>> m_statementQueue;
OwnPtr<SQLiteTransaction> m_sqliteTransaction;
RefPtr<OriginLock> m_originLock;
diff --git a/Source/WebCore/Modules/webdatabase/SQLTransactionCoordinator.cpp b/Source/WebCore/Modules/webdatabase/SQLTransactionCoordinator.cpp
index 63c30fa..bbb45a8 100644
--- a/Source/WebCore/Modules/webdatabase/SQLTransactionCoordinator.cpp
+++ b/Source/WebCore/Modules/webdatabase/SQLTransactionCoordinator.cpp
@@ -130,7 +130,7 @@
// transaction is interrupted?" at the top of SQLTransactionBackend.cpp.
if (info.activeWriteTransaction)
info.activeWriteTransaction->notifyDatabaseThreadIsShuttingDown();
- for (HashSet<RefPtr<SQLTransactionBackend> >::iterator activeReadTransactionsIterator =
+ for (HashSet<RefPtr<SQLTransactionBackend>>::iterator activeReadTransactionsIterator =
info.activeReadTransactions.begin();
activeReadTransactionsIterator != info.activeReadTransactions.end();
++activeReadTransactionsIterator) {
diff --git a/Source/WebCore/Modules/webdatabase/SQLTransactionCoordinator.h b/Source/WebCore/Modules/webdatabase/SQLTransactionCoordinator.h
index b4ce4ec..ce87e05 100644
--- a/Source/WebCore/Modules/webdatabase/SQLTransactionCoordinator.h
+++ b/Source/WebCore/Modules/webdatabase/SQLTransactionCoordinator.h
@@ -52,10 +52,10 @@
void releaseLock(SQLTransactionBackend*);
void shutdown();
private:
- typedef Deque<RefPtr<SQLTransactionBackend> > TransactionsQueue;
+ typedef Deque<RefPtr<SQLTransactionBackend>> TransactionsQueue;
struct CoordinationInfo {
TransactionsQueue pendingTransactions;
- HashSet<RefPtr<SQLTransactionBackend> > activeReadTransactions;
+ HashSet<RefPtr<SQLTransactionBackend>> activeReadTransactions;
RefPtr<SQLTransactionBackend> activeWriteTransaction;
};
// Maps database names to information about pending transactions
diff --git a/Source/WebCore/Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp b/Source/WebCore/Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp
index a3367b0..6ed3ca2 100644
--- a/Source/WebCore/Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp
+++ b/Source/WebCore/Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp
@@ -170,7 +170,7 @@
processPendingTasks();
}
-void ThreadableWebSocketChannelClientWrapper::didReceiveBinaryData(PassOwnPtr<Vector<char> > binaryData)
+void ThreadableWebSocketChannelClientWrapper::didReceiveBinaryData(PassOwnPtr<Vector<char>> binaryData)
{
m_pendingTasks.append(createCallbackTask(&didReceiveBinaryDataCallback, this, binaryData));
if (!m_suspended)
@@ -232,9 +232,9 @@
m_context->postTask(createCallbackTask(&ThreadableWebSocketChannelClientWrapper::processPendingTasksCallback, this));
return;
}
- Vector<OwnPtr<ScriptExecutionContext::Task> > tasks;
+ Vector<OwnPtr<ScriptExecutionContext::Task>> tasks;
tasks.swap(m_pendingTasks);
- for (Vector<OwnPtr<ScriptExecutionContext::Task> >::const_iterator iter = tasks.begin(); iter != tasks.end(); ++iter)
+ for (Vector<OwnPtr<ScriptExecutionContext::Task>>::const_iterator iter = tasks.begin(); iter != tasks.end(); ++iter)
(*iter)->performTask(0);
}
@@ -252,7 +252,7 @@
wrapper->m_client->didReceiveMessage(message);
}
-void ThreadableWebSocketChannelClientWrapper::didReceiveBinaryDataCallback(ScriptExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> wrapper, PassOwnPtr<Vector<char> > binaryData)
+void ThreadableWebSocketChannelClientWrapper::didReceiveBinaryDataCallback(ScriptExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> wrapper, PassOwnPtr<Vector<char>> binaryData)
{
ASSERT_UNUSED(context, !context);
if (wrapper->m_client)
diff --git a/Source/WebCore/Modules/websockets/ThreadableWebSocketChannelClientWrapper.h b/Source/WebCore/Modules/websockets/ThreadableWebSocketChannelClientWrapper.h
index c6f33a5..d364c65 100644
--- a/Source/WebCore/Modules/websockets/ThreadableWebSocketChannelClientWrapper.h
+++ b/Source/WebCore/Modules/websockets/ThreadableWebSocketChannelClientWrapper.h
@@ -80,7 +80,7 @@
void didConnect();
void didReceiveMessage(const String& message);
- void didReceiveBinaryData(PassOwnPtr<Vector<char> >);
+ void didReceiveBinaryData(PassOwnPtr<Vector<char>>);
void didUpdateBufferedAmount(unsigned long bufferedAmount);
void didStartClosingHandshake();
void didClose(unsigned long unhandledBufferedAmount, WebSocketChannelClient::ClosingHandshakeCompletionStatus, unsigned short code, const String& reason);
@@ -96,7 +96,7 @@
static void didConnectCallback(ScriptExecutionContext*, PassRefPtr<ThreadableWebSocketChannelClientWrapper>);
static void didReceiveMessageCallback(ScriptExecutionContext*, PassRefPtr<ThreadableWebSocketChannelClientWrapper>, const String& message);
- static void didReceiveBinaryDataCallback(ScriptExecutionContext*, PassRefPtr<ThreadableWebSocketChannelClientWrapper>, PassOwnPtr<Vector<char> >);
+ static void didReceiveBinaryDataCallback(ScriptExecutionContext*, PassRefPtr<ThreadableWebSocketChannelClientWrapper>, PassOwnPtr<Vector<char>>);
static void didUpdateBufferedAmountCallback(ScriptExecutionContext*, PassRefPtr<ThreadableWebSocketChannelClientWrapper>, unsigned long bufferedAmount);
static void didStartClosingHandshakeCallback(ScriptExecutionContext*, PassRefPtr<ThreadableWebSocketChannelClientWrapper>);
static void didCloseCallback(ScriptExecutionContext*, PassRefPtr<ThreadableWebSocketChannelClientWrapper>, unsigned long unhandledBufferedAmount, WebSocketChannelClient::ClosingHandshakeCompletionStatus, unsigned short code, const String& reason);
@@ -114,7 +114,7 @@
ThreadableWebSocketChannel::SendResult m_sendRequestResult;
unsigned long m_bufferedAmount;
bool m_suspended;
- Vector<OwnPtr<ScriptExecutionContext::Task> > m_pendingTasks;
+ Vector<OwnPtr<ScriptExecutionContext::Task>> m_pendingTasks;
};
} // namespace WebCore
diff --git a/Source/WebCore/Modules/websockets/WebSocket.cpp b/Source/WebCore/Modules/websockets/WebSocket.cpp
index 33cef5e..9a15391 100644
--- a/Source/WebCore/Modules/websockets/WebSocket.cpp
+++ b/Source/WebCore/Modules/websockets/WebSocket.cpp
@@ -518,7 +518,7 @@
dispatchEvent(MessageEvent::create(msg, SecurityOrigin::create(m_url)->toString()));
}
-void WebSocket::didReceiveBinaryData(PassOwnPtr<Vector<char> > binaryData)
+void WebSocket::didReceiveBinaryData(PassOwnPtr<Vector<char>> binaryData)
{
LOG(Network, "WebSocket %p didReceiveBinaryData() %lu byte binary message", this, static_cast<unsigned long>(binaryData->size()));
switch (m_binaryType) {
diff --git a/Source/WebCore/Modules/websockets/WebSocket.h b/Source/WebCore/Modules/websockets/WebSocket.h
index 2b2f977..96ac5b5 100644
--- a/Source/WebCore/Modules/websockets/WebSocket.h
+++ b/Source/WebCore/Modules/websockets/WebSocket.h
@@ -106,7 +106,7 @@
// WebSocketChannelClient functions.
virtual void didConnect() OVERRIDE;
virtual void didReceiveMessage(const String& message) OVERRIDE;
- virtual void didReceiveBinaryData(PassOwnPtr<Vector<char> >) OVERRIDE;
+ virtual void didReceiveBinaryData(PassOwnPtr<Vector<char>>) OVERRIDE;
virtual void didReceiveMessageError() OVERRIDE;
virtual void didUpdateBufferedAmount(unsigned long bufferedAmount) OVERRIDE;
virtual void didStartClosingHandshake() OVERRIDE;
diff --git a/Source/WebCore/Modules/websockets/WebSocketChannel.cpp b/Source/WebCore/Modules/websockets/WebSocketChannel.cpp
index a932b3c..649f97e 100644
--- a/Source/WebCore/Modules/websockets/WebSocketChannel.cpp
+++ b/Source/WebCore/Modules/websockets/WebSocketChannel.cpp
@@ -577,7 +577,7 @@
// make sure that the member variables are in a consistent state before
// the handler is invoked.
// Vector<char>::swap() is used here to clear m_continuousFrameData.
- OwnPtr<Vector<char> > continuousFrameData = adoptPtr(new Vector<char>);
+ OwnPtr<Vector<char>> continuousFrameData = adoptPtr(new Vector<char>);
m_continuousFrameData.swap(*continuousFrameData);
m_hasContinuousFrame = false;
if (m_continuousFrameOpCode == WebSocketFrame::OpCodeText) {
@@ -618,7 +618,7 @@
case WebSocketFrame::OpCodeBinary:
if (frame.final) {
- OwnPtr<Vector<char> > binaryData = adoptPtr(new Vector<char>(frame.payloadLength));
+ OwnPtr<Vector<char>> binaryData = adoptPtr(new Vector<char>(frame.payloadLength));
memcpy(binaryData->data(), frame.payload, frame.payloadLength);
skipBuffer(frameEnd - m_buffer.data());
m_client->didReceiveBinaryData(binaryData.release());
diff --git a/Source/WebCore/Modules/websockets/WebSocketChannel.h b/Source/WebCore/Modules/websockets/WebSocketChannel.h
index 3964647..a653a4f 100644
--- a/Source/WebCore/Modules/websockets/WebSocketChannel.h
+++ b/Source/WebCore/Modules/websockets/WebSocketChannel.h
@@ -215,7 +215,7 @@
unsigned short m_closeEventCode;
String m_closeEventReason;
- Deque<OwnPtr<QueuedFrame> > m_outgoingFrameQueue;
+ Deque<OwnPtr<QueuedFrame>> m_outgoingFrameQueue;
OutgoingFrameQueueStatus m_outgoingFrameQueueStatus;
#if ENABLE(BLOB)
diff --git a/Source/WebCore/Modules/websockets/WebSocketChannelClient.h b/Source/WebCore/Modules/websockets/WebSocketChannelClient.h
index 31d1892..46641c0 100644
--- a/Source/WebCore/Modules/websockets/WebSocketChannelClient.h
+++ b/Source/WebCore/Modules/websockets/WebSocketChannelClient.h
@@ -44,7 +44,7 @@
virtual ~WebSocketChannelClient() { }
virtual void didConnect() { }
virtual void didReceiveMessage(const String&) { }
- virtual void didReceiveBinaryData(PassOwnPtr<Vector<char> >) { }
+ virtual void didReceiveBinaryData(PassOwnPtr<Vector<char>>) { }
virtual void didReceiveMessageError() { }
virtual void didUpdateBufferedAmount(unsigned long /* bufferedAmount */) { }
virtual void didStartClosingHandshake() { }
diff --git a/Source/WebCore/Modules/websockets/WebSocketExtensionDispatcher.h b/Source/WebCore/Modules/websockets/WebSocketExtensionDispatcher.h
index 35cd769..2430017 100644
--- a/Source/WebCore/Modules/websockets/WebSocketExtensionDispatcher.h
+++ b/Source/WebCore/Modules/websockets/WebSocketExtensionDispatcher.h
@@ -58,7 +58,7 @@
void appendAcceptedExtension(const String& extensionToken, HashMap<String, String>& extensionParameters);
void fail(const String& reason);
- Vector<OwnPtr<WebSocketExtensionProcessor> > m_processors;
+ Vector<OwnPtr<WebSocketExtensionProcessor>> m_processors;
StringBuilder m_acceptedExtensionsBuilder;
String m_failureReason;
};
diff --git a/Source/WebCore/Modules/websockets/WorkerThreadableWebSocketChannel.cpp b/Source/WebCore/Modules/websockets/WorkerThreadableWebSocketChannel.cpp
index b6ba2d6..eb6ac57 100644
--- a/Source/WebCore/Modules/websockets/WorkerThreadableWebSocketChannel.cpp
+++ b/Source/WebCore/Modules/websockets/WorkerThreadableWebSocketChannel.cpp
@@ -283,13 +283,13 @@
m_loaderProxy.postTaskForModeToWorkerGlobalScope(createCallbackTask(&workerGlobalScopeDidReceiveMessage, m_workerClientWrapper, message), m_taskMode);
}
-static void workerGlobalScopeDidReceiveBinaryData(ScriptExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, PassOwnPtr<Vector<char> > binaryData)
+static void workerGlobalScopeDidReceiveBinaryData(ScriptExecutionContext* context, PassRefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, PassOwnPtr<Vector<char>> binaryData)
{
ASSERT_UNUSED(context, context->isWorkerGlobalScope());
workerClientWrapper->didReceiveBinaryData(binaryData);
}
-void WorkerThreadableWebSocketChannel::Peer::didReceiveBinaryData(PassOwnPtr<Vector<char> > binaryData)
+void WorkerThreadableWebSocketChannel::Peer::didReceiveBinaryData(PassOwnPtr<Vector<char>> binaryData)
{
ASSERT(isMainThread());
m_loaderProxy.postTaskForModeToWorkerGlobalScope(createCallbackTask(&workerGlobalScopeDidReceiveBinaryData, m_workerClientWrapper, binaryData), m_taskMode);
@@ -454,7 +454,7 @@
peer->send(message);
}
-void WorkerThreadableWebSocketChannel::mainThreadSendArrayBuffer(ScriptExecutionContext* context, Peer* peer, PassOwnPtr<Vector<char> > data)
+void WorkerThreadableWebSocketChannel::mainThreadSendArrayBuffer(ScriptExecutionContext* context, Peer* peer, PassOwnPtr<Vector<char>> data)
{
ASSERT(isMainThread());
ASSERT_UNUSED(context, context->isDocument());
@@ -493,7 +493,7 @@
if (!m_workerClientWrapper || !m_peer)
return ThreadableWebSocketChannel::SendFail;
// ArrayBuffer isn't thread-safe, hence the content of ArrayBuffer is copied into Vector<char>.
- OwnPtr<Vector<char> > data = adoptPtr(new Vector<char>(byteLength));
+ OwnPtr<Vector<char>> data = adoptPtr(new Vector<char>(byteLength));
if (binaryData.byteLength())
memcpy(data->data(), static_cast<const char*>(binaryData.data()) + byteOffset, byteLength);
setMethodNotCompleted();
diff --git a/Source/WebCore/Modules/websockets/WorkerThreadableWebSocketChannel.h b/Source/WebCore/Modules/websockets/WorkerThreadableWebSocketChannel.h
index ff989df..fd93fdd 100644
--- a/Source/WebCore/Modules/websockets/WorkerThreadableWebSocketChannel.h
+++ b/Source/WebCore/Modules/websockets/WorkerThreadableWebSocketChannel.h
@@ -100,7 +100,7 @@
// WebSocketChannelClient functions.
virtual void didConnect() OVERRIDE;
virtual void didReceiveMessage(const String& message) OVERRIDE;
- virtual void didReceiveBinaryData(PassOwnPtr<Vector<char> >) OVERRIDE;
+ virtual void didReceiveBinaryData(PassOwnPtr<Vector<char>>) OVERRIDE;
virtual void didUpdateBufferedAmount(unsigned long bufferedAmount) OVERRIDE;
virtual void didStartClosingHandshake() OVERRIDE;
virtual void didClose(unsigned long unhandledBufferedAmount, ClosingHandshakeCompletionStatus, unsigned short code, const String& reason) OVERRIDE;
@@ -171,7 +171,7 @@
static void mainThreadConnect(ScriptExecutionContext*, Peer*, const URL&, const String& protocol);
static void mainThreadSend(ScriptExecutionContext*, Peer*, const String& message);
- static void mainThreadSendArrayBuffer(ScriptExecutionContext*, Peer*, PassOwnPtr<Vector<char> >);
+ static void mainThreadSendArrayBuffer(ScriptExecutionContext*, Peer*, PassOwnPtr<Vector<char>>);
static void mainThreadSendBlob(ScriptExecutionContext*, Peer*, const URL&, const String& type, long long size);
static void mainThreadBufferedAmount(ScriptExecutionContext*, Peer*);
static void mainThreadClose(ScriptExecutionContext*, Peer*, int code, const String& reason);
diff --git a/Source/WebCore/accessibility/AXObjectCache.cpp b/Source/WebCore/accessibility/AXObjectCache.cpp
index 89e6f4e..6b16db3 100644
--- a/Source/WebCore/accessibility/AXObjectCache.cpp
+++ b/Source/WebCore/accessibility/AXObjectCache.cpp
@@ -118,8 +118,8 @@
{
m_notificationPostTimer.stop();
- HashMap<AXID, RefPtr<AccessibilityObject> >::iterator end = m_objects.end();
- for (HashMap<AXID, RefPtr<AccessibilityObject> >::iterator it = m_objects.begin(); it != end; ++it) {
+ HashMap<AXID, RefPtr<AccessibilityObject>>::iterator end = m_objects.end();
+ for (HashMap<AXID, RefPtr<AccessibilityObject>>::iterator it = m_objects.begin(); it != end; ++it) {
AccessibilityObject* obj = (*it).value.get();
detachWrapper(obj);
obj->detach();
diff --git a/Source/WebCore/accessibility/AXObjectCache.h b/Source/WebCore/accessibility/AXObjectCache.h
index 970b1ce..b227c68 100644
--- a/Source/WebCore/accessibility/AXObjectCache.h
+++ b/Source/WebCore/accessibility/AXObjectCache.h
@@ -224,7 +224,7 @@
private:
Document& m_document;
- HashMap<AXID, RefPtr<AccessibilityObject> > m_objects;
+ HashMap<AXID, RefPtr<AccessibilityObject>> m_objects;
HashMap<RenderObject*, AXID> m_renderObjectMapping;
HashMap<Widget*, AXID> m_widgetObjectMapping;
HashMap<Node*, AXID> m_nodeObjectMapping;
@@ -236,7 +236,7 @@
HashSet<AXID> m_idsInUse;
Timer<AXObjectCache> m_notificationPostTimer;
- Vector<pair<RefPtr<AccessibilityObject>, AXNotification> > m_notificationsToPost;
+ Vector<pair<RefPtr<AccessibilityObject>, AXNotification>> m_notificationsToPost;
void notificationPostTimerFired(Timer<AXObjectCache>*);
static AccessibilityObject* focusedImageMapUIElement(HTMLAreaElement*);
diff --git a/Source/WebCore/accessibility/AccessibilityNodeObject.cpp b/Source/WebCore/accessibility/AccessibilityNodeObject.cpp
index 70901de..b4a6a09 100644
--- a/Source/WebCore/accessibility/AccessibilityNodeObject.cpp
+++ b/Source/WebCore/accessibility/AccessibilityNodeObject.cpp
@@ -1397,7 +1397,7 @@
Vector<Element*> elements;
ariaLabeledByElements(elements);
- Vector<RefPtr<AccessibilityObject> > axElements;
+ Vector<RefPtr<AccessibilityObject>> axElements;
unsigned length = elements.size();
for (unsigned k = 0; k < length; k++) {
RefPtr<AccessibilityObject> axElement = axObjectCache()->getOrCreate(elements[k]);
diff --git a/Source/WebCore/accessibility/AccessibilityObject.h b/Source/WebCore/accessibility/AccessibilityObject.h
index 7bbe6d7..a3daf55 100644
--- a/Source/WebCore/accessibility/AccessibilityObject.h
+++ b/Source/WebCore/accessibility/AccessibilityObject.h
@@ -221,14 +221,14 @@
struct AccessibilityText {
String text;
AccessibilityTextSource textSource;
- Vector<RefPtr<AccessibilityObject> > textElements;
+ Vector<RefPtr<AccessibilityObject>> textElements;
AccessibilityText(const String& t, const AccessibilityTextSource& s)
: text(t)
, textSource(s)
{ }
- AccessibilityText(const String& t, const AccessibilityTextSource& s, const Vector<RefPtr<AccessibilityObject> > elements)
+ AccessibilityText(const String& t, const AccessibilityTextSource& s, const Vector<RefPtr<AccessibilityObject>> elements)
: text(t)
, textSource(s)
, textElements(elements)
@@ -395,7 +395,7 @@
virtual void detach();
virtual bool isDetached() const;
- typedef Vector<RefPtr<AccessibilityObject> > AccessibilityChildrenVector;
+ typedef Vector<RefPtr<AccessibilityObject>> AccessibilityChildrenVector;
virtual bool isAccessibilityNodeObject() const { return false; }
virtual bool isAccessibilityRenderObject() const { return false; }
@@ -842,7 +842,7 @@
virtual int mathLineThickness() const { return 0; }
// Multiscripts components.
- typedef Vector<pair<AccessibilityObject*, AccessibilityObject*> > AccessibilityMathMultiscriptPairs;
+ typedef Vector<pair<AccessibilityObject*, AccessibilityObject*>> AccessibilityMathMultiscriptPairs;
virtual void mathPrescripts(AccessibilityMathMultiscriptPairs&) { }
virtual void mathPostscripts(AccessibilityMathMultiscriptPairs&) { }
diff --git a/Source/WebCore/bindings/js/DOMWrapperWorld.h b/Source/WebCore/bindings/js/DOMWrapperWorld.h
index b8bc2cf..ac77012 100644
--- a/Source/WebCore/bindings/js/DOMWrapperWorld.h
+++ b/Source/WebCore/bindings/js/DOMWrapperWorld.h
@@ -32,8 +32,8 @@
class JSDOMWrapper;
class ScriptController;
-typedef HashMap<void*, JSC::Weak<JSC::JSObject> > DOMObjectWrapperMap;
-typedef JSC::WeakGCMap<StringImpl*, JSC::JSString, PtrHash<StringImpl*> > JSStringCache;
+typedef HashMap<void*, JSC::Weak<JSC::JSObject>> DOMObjectWrapperMap;
+typedef JSC::WeakGCMap<StringImpl*, JSC::JSString, PtrHash<StringImpl*>> JSStringCache;
class DOMWrapperWorld : public RefCounted<DOMWrapperWorld> {
public:
diff --git a/Source/WebCore/bindings/js/JSDOMBinding.h b/Source/WebCore/bindings/js/JSDOMBinding.h
index 77b93db..97d6a5e 100644
--- a/Source/WebCore/bindings/js/JSDOMBinding.h
+++ b/Source/WebCore/bindings/js/JSDOMBinding.h
@@ -498,12 +498,12 @@
};
template <class T, class JST>
- Vector<RefPtr<T> > toRefPtrNativeArray(JSC::ExecState* exec, JSC::JSValue value, T* (*toT)(JSC::JSValue value))
+ Vector<RefPtr<T>> toRefPtrNativeArray(JSC::ExecState* exec, JSC::JSValue value, T* (*toT)(JSC::JSValue value))
{
if (!isJSArray(value))
- return Vector<RefPtr<T> >();
+ return Vector<RefPtr<T>>();
- Vector<RefPtr<T> > result;
+ Vector<RefPtr<T>> result;
JSC::JSArray* array = asArray(value);
for (size_t i = 0; i < array->length(); ++i) {
JSC::JSValue element = array->getIndex(exec, i);
@@ -511,7 +511,7 @@
result.append((*toT)(element));
else {
throwVMError(exec, createTypeError(exec, "Invalid Array element type"));
- return Vector<RefPtr<T> >();
+ return Vector<RefPtr<T>>();
}
}
return result;
diff --git a/Source/WebCore/bindings/js/JSDOMGlobalObject.h b/Source/WebCore/bindings/js/JSDOMGlobalObject.h
index 3ff82ac..6eab999 100644
--- a/Source/WebCore/bindings/js/JSDOMGlobalObject.h
+++ b/Source/WebCore/bindings/js/JSDOMGlobalObject.h
@@ -38,8 +38,8 @@
class DOMWrapperWorld;
class ScriptExecutionContext;
- typedef HashMap<const JSC::ClassInfo*, JSC::WriteBarrier<JSC::Structure> > JSDOMStructureMap;
- typedef HashMap<const JSC::ClassInfo*, JSC::WriteBarrier<JSC::JSObject> > JSDOMConstructorMap;
+ typedef HashMap<const JSC::ClassInfo*, JSC::WriteBarrier<JSC::Structure>> JSDOMStructureMap;
+ typedef HashMap<const JSC::ClassInfo*, JSC::WriteBarrier<JSC::JSObject>> JSDOMConstructorMap;
class JSDOMGlobalObject : public JSC::JSGlobalObject {
typedef JSC::JSGlobalObject Base;
diff --git a/Source/WebCore/bindings/js/JSMutationCallback.cpp b/Source/WebCore/bindings/js/JSMutationCallback.cpp
index 366259a..adabc7e 100644
--- a/Source/WebCore/bindings/js/JSMutationCallback.cpp
+++ b/Source/WebCore/bindings/js/JSMutationCallback.cpp
@@ -51,7 +51,7 @@
{
}
-void JSMutationCallback::call(const Vector<RefPtr<MutationRecord> >& mutations, MutationObserver* observer)
+void JSMutationCallback::call(const Vector<RefPtr<MutationRecord>>& mutations, MutationObserver* observer)
{
if (!canInvokeCallback())
return;
diff --git a/Source/WebCore/bindings/js/JSMutationCallback.h b/Source/WebCore/bindings/js/JSMutationCallback.h
index 82a69ed..c2236db 100644
--- a/Source/WebCore/bindings/js/JSMutationCallback.h
+++ b/Source/WebCore/bindings/js/JSMutationCallback.h
@@ -46,7 +46,7 @@
virtual ~JSMutationCallback();
- virtual void call(const Vector<RefPtr<MutationRecord> >&, MutationObserver*) OVERRIDE;
+ virtual void call(const Vector<RefPtr<MutationRecord>>&, MutationObserver*) OVERRIDE;
virtual ScriptExecutionContext* scriptExecutionContext() const OVERRIDE { return ContextDestructionObserver::scriptExecutionContext(); }
diff --git a/Source/WebCore/bindings/js/JSWebGLRenderingContextCustom.cpp b/Source/WebCore/bindings/js/JSWebGLRenderingContextCustom.cpp
index c195d01..9150fe1 100644
--- a/Source/WebCore/bindings/js/JSWebGLRenderingContextCustom.cpp
+++ b/Source/WebCore/bindings/js/JSWebGLRenderingContextCustom.cpp
@@ -249,7 +249,7 @@
WebGLProgram* program = toWebGLProgram(exec->uncheckedArgument(0));
if (!program && !exec->uncheckedArgument(0).isUndefinedOrNull())
return throwTypeError(exec);
- Vector<RefPtr<WebGLShader> > shaders;
+ Vector<RefPtr<WebGLShader>> shaders;
bool succeed = context.getAttachedShaders(program, shaders, ec);
if (ec) {
setDOMException(exec, ec);
diff --git a/Source/WebCore/bindings/js/PageScriptDebugServer.h b/Source/WebCore/bindings/js/PageScriptDebugServer.h
index 8232cd9..05b8a1a 100644
--- a/Source/WebCore/bindings/js/PageScriptDebugServer.h
+++ b/Source/WebCore/bindings/js/PageScriptDebugServer.h
@@ -54,7 +54,7 @@
virtual void recompileAllJSFunctions(Timer<ScriptDebugServer>*);
private:
- typedef HashMap<Page*, OwnPtr<ListenerSet> > PageListenersMap;
+ typedef HashMap<Page*, OwnPtr<ListenerSet>> PageListenersMap;
PageScriptDebugServer();
virtual ~PageScriptDebugServer();
diff --git a/Source/WebCore/bindings/js/ScheduledAction.h b/Source/WebCore/bindings/js/ScheduledAction.h
index 3ee21bc..e93a83a 100644
--- a/Source/WebCore/bindings/js/ScheduledAction.h
+++ b/Source/WebCore/bindings/js/ScheduledAction.h
@@ -66,7 +66,7 @@
#endif
JSC::Strong<JSC::Unknown> m_function;
- Vector<JSC::Strong<JSC::Unknown> > m_args;
+ Vector<JSC::Strong<JSC::Unknown>> m_args;
String m_code;
RefPtr<DOMWrapperWorld> m_isolatedWorld;
};
diff --git a/Source/WebCore/bindings/js/ScriptController.cpp b/Source/WebCore/bindings/js/ScriptController.cpp
index 2780831..41ad408 100644
--- a/Source/WebCore/bindings/js/ScriptController.cpp
+++ b/Source/WebCore/bindings/js/ScriptController.cpp
@@ -337,7 +337,7 @@
{
}
-void ScriptController::collectIsolatedContexts(Vector<std::pair<JSC::ExecState*, SecurityOrigin*> >& result)
+void ScriptController::collectIsolatedContexts(Vector<std::pair<JSC::ExecState*, SecurityOrigin*>>& result)
{
for (ShellMap::iterator iter = m_windowShells.begin(); iter != m_windowShells.end(); ++iter) {
JSC::ExecState* exec = iter->value->window()->globalExec();
diff --git a/Source/WebCore/bindings/js/ScriptController.h b/Source/WebCore/bindings/js/ScriptController.h
index 61b795f..366b724 100644
--- a/Source/WebCore/bindings/js/ScriptController.h
+++ b/Source/WebCore/bindings/js/ScriptController.h
@@ -57,7 +57,7 @@
class SecurityOrigin;
class Widget;
-typedef HashMap<void*, RefPtr<JSC::Bindings::RootObject> > RootObjectMap;
+typedef HashMap<void*, RefPtr<JSC::Bindings::RootObject>> RootObjectMap;
enum ReasonForCallingCanExecuteScripts {
AboutToExecuteScript,
@@ -146,7 +146,7 @@
#if ENABLE(INSPECTOR)
static void setCaptureCallStackForUncaughtExceptions(bool);
- void collectIsolatedContexts(Vector<std::pair<JSC::ExecState*, SecurityOrigin*> >&);
+ void collectIsolatedContexts(Vector<std::pair<JSC::ExecState*, SecurityOrigin*>>&);
#endif
#if PLATFORM(MAC)
diff --git a/Source/WebCore/bindings/js/ScriptDebugServer.h b/Source/WebCore/bindings/js/ScriptDebugServer.h
index d983cb3..29bf271 100644
--- a/Source/WebCore/bindings/js/ScriptDebugServer.h
+++ b/Source/WebCore/bindings/js/ScriptDebugServer.h
@@ -157,7 +157,7 @@
virtual void didReachBreakpoint(JSC::CallFrame*) OVERRIDE;
typedef Vector<ScriptBreakpoint> BreakpointsInLine;
- typedef HashMap<int, BreakpointsInLine, WTF::IntHash<int>, WTF::UnsignedWithZeroKeyHashTraits<int> > LineToBreakpointsMap;
+ typedef HashMap<int, BreakpointsInLine, WTF::IntHash<int>, WTF::UnsignedWithZeroKeyHashTraits<int>> LineToBreakpointsMap;
typedef HashMap<intptr_t, LineToBreakpointsMap> SourceIdToBreakpointsMap;
bool m_callingListeners;
diff --git a/Source/WebCore/bindings/js/ScriptProfile.cpp b/Source/WebCore/bindings/js/ScriptProfile.cpp
index 91dd3d3..45050ae 100644
--- a/Source/WebCore/bindings/js/ScriptProfile.cpp
+++ b/Source/WebCore/bindings/js/ScriptProfile.cpp
@@ -76,10 +76,10 @@
#if ENABLE(INSPECTOR)
static PassRefPtr<TypeBuilder::Profiler::CPUProfileNode> buildInspectorObjectFor(const JSC::ProfileNode* node)
{
- typedef Vector<RefPtr<JSC::ProfileNode> > ProfileNodesList;
+ typedef Vector<RefPtr<JSC::ProfileNode>> ProfileNodesList;
const ProfileNodesList& nodeChildren = node->children();
ProfileNodesList::const_iterator end = nodeChildren.end();
- RefPtr<TypeBuilder::Array<TypeBuilder::Profiler::CPUProfileNode> > children = TypeBuilder::Array<TypeBuilder::Profiler::CPUProfileNode>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::Profiler::CPUProfileNode>> children = TypeBuilder::Array<TypeBuilder::Profiler::CPUProfileNode>::create();
for (ProfileNodesList::const_iterator iter = nodeChildren.begin(); iter != end; ++iter)
children->addItem(buildInspectorObjectFor(iter->get()));
diff --git a/Source/WebCore/bindings/objc/ObjCNodeFilterCondition.h b/Source/WebCore/bindings/objc/ObjCNodeFilterCondition.h
index e136bc4..b83dbee 100644
--- a/Source/WebCore/bindings/objc/ObjCNodeFilterCondition.h
+++ b/Source/WebCore/bindings/objc/ObjCNodeFilterCondition.h
@@ -52,7 +52,7 @@
{
}
- RetainPtr<id <DOMNodeFilter> > m_filter;
+ RetainPtr<id <DOMNodeFilter>> m_filter;
};
} // namespace WebCore
diff --git a/Source/WebCore/bridge/objc/objc_class.h b/Source/WebCore/bridge/objc/objc_class.h
index 838347f..9bd2e1e 100644
--- a/Source/WebCore/bridge/objc/objc_class.h
+++ b/Source/WebCore/bridge/objc/objc_class.h
@@ -50,8 +50,8 @@
private:
ClassStructPtr _isa;
- mutable HashMap<String, OwnPtr<Method> > m_methodCache;
- mutable HashMap<String, OwnPtr<Field> > m_fieldCache;
+ mutable HashMap<String, OwnPtr<Method>> m_methodCache;
+ mutable HashMap<String, OwnPtr<Field>> m_fieldCache;
};
} // namespace Bindings
diff --git a/Source/WebCore/bridge/runtime_root.cpp b/Source/WebCore/bridge/runtime_root.cpp
index e396ccf..ba03d5d 100644
--- a/Source/WebCore/bridge/runtime_root.cpp
+++ b/Source/WebCore/bridge/runtime_root.cpp
@@ -105,8 +105,8 @@
return;
{
- HashMap<RuntimeObject*, JSC::Weak<RuntimeObject> >::iterator end = m_runtimeObjects.end();
- for (HashMap<RuntimeObject*, JSC::Weak<RuntimeObject> >::iterator it = m_runtimeObjects.begin(); it != end; ++it) {
+ HashMap<RuntimeObject*, JSC::Weak<RuntimeObject>>::iterator end = m_runtimeObjects.end();
+ for (HashMap<RuntimeObject*, JSC::Weak<RuntimeObject>>::iterator it = m_runtimeObjects.begin(); it != end; ++it) {
RuntimeObject* runtimeObject = it->value.get();
if (!runtimeObject) // Skip zombies.
continue;
diff --git a/Source/WebCore/bridge/runtime_root.h b/Source/WebCore/bridge/runtime_root.h
index f5e5d4d..57bb577 100644
--- a/Source/WebCore/bridge/runtime_root.h
+++ b/Source/WebCore/bridge/runtime_root.h
@@ -91,7 +91,7 @@
Strong<JSGlobalObject> m_globalObject;
ProtectCountSet m_protectCountSet;
- HashMap<RuntimeObject*, JSC::Weak<RuntimeObject> > m_runtimeObjects; // We use a map to implement a set.
+ HashMap<RuntimeObject*, JSC::Weak<RuntimeObject>> m_runtimeObjects; // We use a map to implement a set.
HashSet<InvalidationCallback*> m_invalidationCallbacks;
};
diff --git a/Source/WebCore/css/BasicShapeFunctions.cpp b/Source/WebCore/css/BasicShapeFunctions.cpp
index 7190745..57cda7b 100644
--- a/Source/WebCore/css/BasicShapeFunctions.cpp
+++ b/Source/WebCore/css/BasicShapeFunctions.cpp
@@ -173,7 +173,7 @@
RefPtr<BasicShapePolygon> polygon = BasicShapePolygon::create();
polygon->setWindRule(polygonValue->windRule());
- const Vector<RefPtr<CSSPrimitiveValue> >& values = polygonValue->values();
+ const Vector<RefPtr<CSSPrimitiveValue>>& values = polygonValue->values();
for (unsigned i = 0; i < values.size(); i += 2)
polygon->appendPoint(convertToLength(style, rootStyle, values.at(i).get()), convertToLength(style, rootStyle, values.at(i + 1).get()));
diff --git a/Source/WebCore/css/CSSBasicShapes.h b/Source/WebCore/css/CSSBasicShapes.h
index 7369b1a..089a849 100644
--- a/Source/WebCore/css/CSSBasicShapes.h
+++ b/Source/WebCore/css/CSSBasicShapes.h
@@ -213,7 +213,7 @@
PassRefPtr<CSSPrimitiveValue> getXAt(unsigned i) const { return m_values.at(i * 2); }
PassRefPtr<CSSPrimitiveValue> getYAt(unsigned i) const { return m_values.at(i * 2 + 1); }
- const Vector<RefPtr<CSSPrimitiveValue> >& values() const { return m_values; }
+ const Vector<RefPtr<CSSPrimitiveValue>>& values() const { return m_values; }
void setWindRule(WindRule w) { m_windRule = w; }
WindRule windRule() const { return m_windRule; }
@@ -232,7 +232,7 @@
{
}
- Vector<RefPtr<CSSPrimitiveValue> > m_values;
+ Vector<RefPtr<CSSPrimitiveValue>> m_values;
WindRule m_windRule;
};
diff --git a/Source/WebCore/css/CSSComputedStyleDeclaration.cpp b/Source/WebCore/css/CSSComputedStyleDeclaration.cpp
index b767bb9..ea66e7c4 100644
--- a/Source/WebCore/css/CSSComputedStyleDeclaration.cpp
+++ b/Source/WebCore/css/CSSComputedStyleDeclaration.cpp
@@ -949,8 +949,8 @@
RefPtr<WebKitCSSFilterValue> filterValue;
- Vector<RefPtr<FilterOperation> >::const_iterator end = filterOperations.operations().end();
- for (Vector<RefPtr<FilterOperation> >::const_iterator it = filterOperations.operations().begin(); it != end; ++it) {
+ Vector<RefPtr<FilterOperation>>::const_iterator end = filterOperations.operations().end();
+ for (Vector<RefPtr<FilterOperation>>::const_iterator it = filterOperations.operations().begin(); it != end; ++it) {
FilterOperation* filterOperation = (*it).get();
switch (filterOperation->getOperationType()) {
case FilterOperation::REFERENCE: {
diff --git a/Source/WebCore/css/CSSFontFace.h b/Source/WebCore/css/CSSFontFace.h
index 4ed946f..528ce4f 100644
--- a/Source/WebCore/css/CSSFontFace.h
+++ b/Source/WebCore/css/CSSFontFace.h
@@ -107,7 +107,7 @@
FontTraitsMask m_traitsMask;
Vector<UnicodeRange> m_ranges;
HashSet<CSSSegmentedFontFace*> m_segmentedFontFaces;
- Vector<OwnPtr<CSSFontFaceSource> > m_sources;
+ Vector<OwnPtr<CSSFontFaceSource>> m_sources;
CSSFontFaceSource* m_activeSource;
bool m_isLocalFallback;
#if ENABLE(FONT_LOAD_EVENTS)
diff --git a/Source/WebCore/css/CSSFontFaceSource.h b/Source/WebCore/css/CSSFontFaceSource.h
index 1154373..818a326 100644
--- a/Source/WebCore/css/CSSFontFaceSource.h
+++ b/Source/WebCore/css/CSSFontFaceSource.h
@@ -80,7 +80,7 @@
AtomicString m_string; // URI for remote, built-in font name for local.
CachedResourceHandle<CachedFont> m_font; // For remote fonts, a pointer to our cached resource.
CSSFontFace* m_face; // Our owning font face.
- HashMap<unsigned, RefPtr<SimpleFontData> > m_fontDataTable; // The hash key is composed of size synthetic styles.
+ HashMap<unsigned, RefPtr<SimpleFontData>> m_fontDataTable; // The hash key is composed of size synthetic styles.
#if ENABLE(SVG_FONTS)
RefPtr<SVGFontFaceElement> m_svgFontFaceElement;
diff --git a/Source/WebCore/css/CSSFontSelector.cpp b/Source/WebCore/css/CSSFontSelector.cpp
index 25934da..1a64c7a 100644
--- a/Source/WebCore/css/CSSFontSelector.cpp
+++ b/Source/WebCore/css/CSSFontSelector.cpp
@@ -298,16 +298,16 @@
if (familyName.isEmpty())
continue;
- OwnPtr<Vector<RefPtr<CSSFontFace> > >& familyFontFaces = m_fontFaces.add(familyName, nullptr).iterator->value;
+ OwnPtr<Vector<RefPtr<CSSFontFace>>>& familyFontFaces = m_fontFaces.add(familyName, nullptr).iterator->value;
if (!familyFontFaces) {
- familyFontFaces = adoptPtr(new Vector<RefPtr<CSSFontFace> >);
+ familyFontFaces = adoptPtr(new Vector<RefPtr<CSSFontFace>>);
ASSERT(!m_locallyInstalledFontFaces.contains(familyName));
Vector<unsigned> locallyInstalledFontsTraitsMasks;
fontCache()->getTraitsInFamily(familyName, locallyInstalledFontsTraitsMasks);
if (unsigned numLocallyInstalledFaces = locallyInstalledFontsTraitsMasks.size()) {
- OwnPtr<Vector<RefPtr<CSSFontFace> > > familyLocallyInstalledFaces = adoptPtr(new Vector<RefPtr<CSSFontFace> >);
+ OwnPtr<Vector<RefPtr<CSSFontFace>>> familyLocallyInstalledFaces = adoptPtr(new Vector<RefPtr<CSSFontFace>>);
for (unsigned i = 0; i < numLocallyInstalledFaces; ++i) {
RefPtr<CSSFontFace> locallyInstalledFontFace = CSSFontFace::create(static_cast<FontTraitsMask>(locallyInstalledFontsTraitsMasks[i]), 0, true);
@@ -504,13 +504,13 @@
CSSSegmentedFontFace* CSSFontSelector::getFontFace(const FontDescription& fontDescription, const AtomicString& family)
{
- Vector<RefPtr<CSSFontFace> >* familyFontFaces = m_fontFaces.get(family);
+ Vector<RefPtr<CSSFontFace>>* familyFontFaces = m_fontFaces.get(family);
if (!familyFontFaces || familyFontFaces->isEmpty())
return 0;
- OwnPtr<HashMap<unsigned, RefPtr<CSSSegmentedFontFace> > >& segmentedFontFaceCache = m_fonts.add(family, nullptr).iterator->value;
+ OwnPtr<HashMap<unsigned, RefPtr<CSSSegmentedFontFace>>>& segmentedFontFaceCache = m_fonts.add(family, nullptr).iterator->value;
if (!segmentedFontFaceCache)
- segmentedFontFaceCache = adoptPtr(new HashMap<unsigned, RefPtr<CSSSegmentedFontFace> >);
+ segmentedFontFaceCache = adoptPtr(new HashMap<unsigned, RefPtr<CSSSegmentedFontFace>>);
FontTraitsMask traitsMask = fontDescription.traitsMask();
@@ -536,7 +536,7 @@
candidateFontFaces.append(candidate);
}
- if (Vector<RefPtr<CSSFontFace> >* familyLocallyInstalledFontFaces = m_locallyInstalledFontFaces.get(family)) {
+ if (Vector<RefPtr<CSSFontFace>>* familyLocallyInstalledFontFaces = m_locallyInstalledFontFaces.get(family)) {
unsigned numLocallyInstalledFontFaces = familyLocallyInstalledFontFaces->size();
for (unsigned i = 0; i < numLocallyInstalledFontFaces; ++i) {
CSSFontFace* candidate = familyLocallyInstalledFontFaces->at(i).get();
@@ -594,7 +594,7 @@
void CSSFontSelector::beginLoadTimerFired(Timer<WebCore::CSSFontSelector>*)
{
- Vector<CachedResourceHandle<CachedFont> > fontsToBeginLoading;
+ Vector<CachedResourceHandle<CachedFont>> fontsToBeginLoading;
fontsToBeginLoading.swap(m_fontsToBeginLoading);
// CSSFontSelector could get deleted via beginLoadIfNeeded() or loadDone() unless protected.
diff --git a/Source/WebCore/css/CSSFontSelector.h b/Source/WebCore/css/CSSFontSelector.h
index 48261ea..043ff0d 100644
--- a/Source/WebCore/css/CSSFontSelector.h
+++ b/Source/WebCore/css/CSSFontSelector.h
@@ -87,12 +87,12 @@
void beginLoadTimerFired(Timer<CSSFontSelector>*);
Document* m_document;
- HashMap<String, OwnPtr<Vector<RefPtr<CSSFontFace> > >, CaseFoldingHash> m_fontFaces;
- HashMap<String, OwnPtr<Vector<RefPtr<CSSFontFace> > >, CaseFoldingHash> m_locallyInstalledFontFaces;
- HashMap<String, OwnPtr<HashMap<unsigned, RefPtr<CSSSegmentedFontFace> > >, CaseFoldingHash> m_fonts;
+ HashMap<String, OwnPtr<Vector<RefPtr<CSSFontFace>>>, CaseFoldingHash> m_fontFaces;
+ HashMap<String, OwnPtr<Vector<RefPtr<CSSFontFace>>>, CaseFoldingHash> m_locallyInstalledFontFaces;
+ HashMap<String, OwnPtr<HashMap<unsigned, RefPtr<CSSSegmentedFontFace>>>, CaseFoldingHash> m_fonts;
HashSet<FontSelectorClient*> m_clients;
- Vector<CachedResourceHandle<CachedFont> > m_fontsToBeginLoading;
+ Vector<CachedResourceHandle<CachedFont>> m_fontsToBeginLoading;
Timer<CSSFontSelector> m_beginLoadingTimer;
unsigned m_uniqueId;
diff --git a/Source/WebCore/css/CSSGroupingRule.h b/Source/WebCore/css/CSSGroupingRule.h
index b3f8e9f..507cda7 100644
--- a/Source/WebCore/css/CSSGroupingRule.h
+++ b/Source/WebCore/css/CSSGroupingRule.h
@@ -52,7 +52,7 @@
void appendCssTextForItems(StringBuilder&) const;
RefPtr<StyleRuleGroup> m_groupRule;
- mutable Vector<RefPtr<CSSRule> > m_childRuleCSSOMWrappers;
+ mutable Vector<RefPtr<CSSRule>> m_childRuleCSSOMWrappers;
mutable OwnPtr<CSSRuleList> m_ruleListCSSOMWrapper;
};
diff --git a/Source/WebCore/css/CSSImageGeneratorValue.h b/Source/WebCore/css/CSSImageGeneratorValue.h
index 21419fa..a832f8b 100644
--- a/Source/WebCore/css/CSSImageGeneratorValue.h
+++ b/Source/WebCore/css/CSSImageGeneratorValue.h
@@ -89,7 +89,7 @@
void evictCachedGeneratedImage(IntSize);
HashCountedSet<RenderElement*> m_clients;
- HashMap<IntSize, OwnPtr<CachedGeneratedImage> > m_images;
+ HashMap<IntSize, OwnPtr<CachedGeneratedImage>> m_images;
};
} // namespace WebCore
diff --git a/Source/WebCore/css/CSSParserValues.cpp b/Source/WebCore/css/CSSParserValues.cpp
index f763a12..9f4a200 100644
--- a/Source/WebCore/css/CSSParserValues.cpp
+++ b/Source/WebCore/css/CSSParserValues.cpp
@@ -177,7 +177,7 @@
}
}
-void CSSParserSelector::adoptSelectorVector(Vector<OwnPtr<CSSParserSelector> >& selectorVector)
+void CSSParserSelector::adoptSelectorVector(Vector<OwnPtr<CSSParserSelector>>& selectorVector)
{
OwnPtr<CSSSelectorList> selectorList = adoptPtr(new CSSSelectorList);
selectorList->adoptSelectorVector(selectorVector);
diff --git a/Source/WebCore/css/CSSParserValues.h b/Source/WebCore/css/CSSParserValues.h
index 450c032..ec1652e 100644
--- a/Source/WebCore/css/CSSParserValues.h
+++ b/Source/WebCore/css/CSSParserValues.h
@@ -188,7 +188,7 @@
void setRelation(CSSSelector::Relation value) { m_selector->m_relation = value; }
void setForPage() { m_selector->setForPage(); }
- void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector> >& selectorVector);
+ void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector>>& selectorVector);
CSSSelector::PseudoType pseudoType() const { return m_selector->pseudoType(); }
bool isCustomPseudoElement() const { return m_selector->isCustomPseudoElement(); }
diff --git a/Source/WebCore/css/CSSPropertySourceData.h b/Source/WebCore/css/CSSPropertySourceData.h
index 12ad884..da71beb 100644
--- a/Source/WebCore/css/CSSPropertySourceData.h
+++ b/Source/WebCore/css/CSSPropertySourceData.h
@@ -76,7 +76,7 @@
};
struct CSSRuleSourceData;
-typedef Vector<RefPtr<CSSRuleSourceData> > RuleSourceDataList;
+typedef Vector<RefPtr<CSSRuleSourceData>> RuleSourceDataList;
typedef Vector<SourceRange> SelectorRangeList;
struct CSSRuleSourceData : public RefCounted<CSSRuleSourceData> {
diff --git a/Source/WebCore/css/CSSRuleList.h b/Source/WebCore/css/CSSRuleList.h
index 0136353..4da15b4 100644
--- a/Source/WebCore/css/CSSRuleList.h
+++ b/Source/WebCore/css/CSSRuleList.h
@@ -57,7 +57,7 @@
virtual void ref() { ++m_refCount; }
virtual void deref();
- Vector<RefPtr<CSSRule> >& rules() { return m_rules; }
+ Vector<RefPtr<CSSRule>>& rules() { return m_rules; }
virtual CSSStyleSheet* styleSheet() const { return 0; }
@@ -68,7 +68,7 @@
virtual unsigned length() const { return m_rules.size(); }
virtual CSSRule* item(unsigned index) const { return index < m_rules.size() ? m_rules[index].get() : 0; }
- Vector<RefPtr<CSSRule> > m_rules;
+ Vector<RefPtr<CSSRule>> m_rules;
unsigned m_refCount;
};
diff --git a/Source/WebCore/css/CSSSegmentedFontFace.cpp b/Source/WebCore/css/CSSSegmentedFontFace.cpp
index 3fa82d3..f32832c 100644
--- a/Source/WebCore/css/CSSSegmentedFontFace.cpp
+++ b/Source/WebCore/css/CSSSegmentedFontFace.cpp
@@ -76,7 +76,7 @@
#if ENABLE(FONT_LOAD_EVENTS)
if (RuntimeEnabledFeatures::sharedFeatures().fontLoadEventsEnabled() && !isLoading()) {
- Vector<RefPtr<LoadFontCallback> > callbacks;
+ Vector<RefPtr<LoadFontCallback>> callbacks;
m_callbacks.swap(callbacks);
for (size_t index = 0; index < callbacks.size(); ++index) {
if (checkFont())
diff --git a/Source/WebCore/css/CSSSegmentedFontFace.h b/Source/WebCore/css/CSSSegmentedFontFace.h
index ec39c17..fb2b4a7 100644
--- a/Source/WebCore/css/CSSSegmentedFontFace.h
+++ b/Source/WebCore/css/CSSSegmentedFontFace.h
@@ -75,10 +75,10 @@
#endif
CSSFontSelector* m_fontSelector;
- HashMap<unsigned, RefPtr<SegmentedFontData> > m_fontDataTable;
+ HashMap<unsigned, RefPtr<SegmentedFontData>> m_fontDataTable;
Vector<RefPtr<CSSFontFace>, 1> m_fontFaces;
#if ENABLE(FONT_LOAD_EVENTS)
- Vector<RefPtr<LoadFontCallback> > m_callbacks;
+ Vector<RefPtr<LoadFontCallback>> m_callbacks;
#endif
};
diff --git a/Source/WebCore/css/CSSSelectorList.cpp b/Source/WebCore/css/CSSSelectorList.cpp
index 0017995..059c007 100644
--- a/Source/WebCore/css/CSSSelectorList.cpp
+++ b/Source/WebCore/css/CSSSelectorList.cpp
@@ -52,7 +52,7 @@
list.m_selectorArray = 0;
}
-void CSSSelectorList::adoptSelectorVector(Vector<OwnPtr<CSSParserSelector> >& selectorVector)
+void CSSSelectorList::adoptSelectorVector(Vector<OwnPtr<CSSParserSelector>>& selectorVector)
{
deleteSelectors();
size_t flattenedSize = 0;
diff --git a/Source/WebCore/css/CSSSelectorList.h b/Source/WebCore/css/CSSSelectorList.h
index 904a24f..0173401 100644
--- a/Source/WebCore/css/CSSSelectorList.h
+++ b/Source/WebCore/css/CSSSelectorList.h
@@ -41,7 +41,7 @@
~CSSSelectorList();
void adopt(CSSSelectorList& list);
- void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector> >& selectorVector);
+ void adoptSelectorVector(Vector<OwnPtr<CSSParserSelector>>& selectorVector);
void adoptSelectorArray(CSSSelector* selectors) { ASSERT(!m_selectorArray); m_selectorArray = selectors; }
bool isValid() const { return !!m_selectorArray; }
diff --git a/Source/WebCore/css/CSSStyleSheet.h b/Source/WebCore/css/CSSStyleSheet.h
index 119524b..c3bbf14 100644
--- a/Source/WebCore/css/CSSStyleSheet.h
+++ b/Source/WebCore/css/CSSStyleSheet.h
@@ -134,7 +134,7 @@
CSSImportRule* m_ownerRule;
mutable RefPtr<MediaList> m_mediaCSSOMWrapper;
- mutable Vector<RefPtr<CSSRule> > m_childRuleCSSOMWrappers;
+ mutable Vector<RefPtr<CSSRule>> m_childRuleCSSOMWrappers;
mutable OwnPtr<CSSRuleList> m_ruleListCSSOMWrapper;
};
diff --git a/Source/WebCore/css/CSSValue.h b/Source/WebCore/css/CSSValue.h
index 6799037..968f195 100644
--- a/Source/WebCore/css/CSSValue.h
+++ b/Source/WebCore/css/CSSValue.h
@@ -250,7 +250,7 @@
};
template<typename CSSValueType>
-inline bool compareCSSValueVector(const Vector<RefPtr<CSSValueType> >& firstVector, const Vector<RefPtr<CSSValueType> >& secondVector)
+inline bool compareCSSValueVector(const Vector<RefPtr<CSSValueType>>& firstVector, const Vector<RefPtr<CSSValueType>>& secondVector)
{
size_t size = firstVector.size();
if (size != secondVector.size())
diff --git a/Source/WebCore/css/CSSValuePool.h b/Source/WebCore/css/CSSValuePool.h
index bbcff77..c629277 100644
--- a/Source/WebCore/css/CSSValuePool.h
+++ b/Source/WebCore/css/CSSValuePool.h
@@ -66,7 +66,7 @@
RefPtr<CSSPrimitiveValue> m_identifierValueCache[numCSSValueKeywords];
- typedef HashMap<unsigned, RefPtr<CSSPrimitiveValue> > ColorValueCache;
+ typedef HashMap<unsigned, RefPtr<CSSPrimitiveValue>> ColorValueCache;
ColorValueCache m_colorValueCache;
RefPtr<CSSPrimitiveValue> m_colorTransparent;
RefPtr<CSSPrimitiveValue> m_colorWhite;
@@ -78,10 +78,10 @@
RefPtr<CSSPrimitiveValue> m_percentValueCache[maximumCacheableIntegerValue + 1];
RefPtr<CSSPrimitiveValue> m_numberValueCache[maximumCacheableIntegerValue + 1];
- typedef HashMap<AtomicString, RefPtr<CSSValueList> > FontFaceValueCache;
+ typedef HashMap<AtomicString, RefPtr<CSSValueList>> FontFaceValueCache;
FontFaceValueCache m_fontFaceValueCache;
- typedef HashMap<String, RefPtr<CSSPrimitiveValue> > FontFamilyValueCache;
+ typedef HashMap<String, RefPtr<CSSPrimitiveValue>> FontFamilyValueCache;
FontFamilyValueCache m_fontFamilyValueCache;
friend CSSValuePool& cssValuePool();
diff --git a/Source/WebCore/css/DocumentRuleSets.cpp b/Source/WebCore/css/DocumentRuleSets.cpp
index 92ced8a..62955ae 100644
--- a/Source/WebCore/css/DocumentRuleSets.cpp
+++ b/Source/WebCore/css/DocumentRuleSets.cpp
@@ -57,7 +57,7 @@
m_userStyle = tempUserStyle.release();
}
-void DocumentRuleSets::collectRulesFromUserStyleSheets(const Vector<RefPtr<CSSStyleSheet> >& userSheets, RuleSet& userStyle, const MediaQueryEvaluator& medium, StyleResolver& resolver)
+void DocumentRuleSets::collectRulesFromUserStyleSheets(const Vector<RefPtr<CSSStyleSheet>>& userSheets, RuleSet& userStyle, const MediaQueryEvaluator& medium, StyleResolver& resolver)
{
for (unsigned i = 0; i < userSheets.size(); ++i) {
ASSERT(userSheets[i]->contents()->isUserStyleSheet());
@@ -83,7 +83,7 @@
m_authorStyle->disableAutoShrinkToFit();
}
-void DocumentRuleSets::appendAuthorStyleSheets(unsigned firstNew, const Vector<RefPtr<CSSStyleSheet> >& styleSheets, MediaQueryEvaluator* medium, InspectorCSSOMWrappers& inspectorCSSOMWrappers, bool isViewSource, StyleResolver* resolver)
+void DocumentRuleSets::appendAuthorStyleSheets(unsigned firstNew, const Vector<RefPtr<CSSStyleSheet>>& styleSheets, MediaQueryEvaluator* medium, InspectorCSSOMWrappers& inspectorCSSOMWrappers, bool isViewSource, StyleResolver* resolver)
{
// This handles sheets added to the end of the stylesheet list only. In other cases the style resolver
// needs to be reconstructed. To handle insertions too the rule order numbers would need to be updated.
diff --git a/Source/WebCore/css/DocumentRuleSets.h b/Source/WebCore/css/DocumentRuleSets.h
index 993cd92..00a2719 100644
--- a/Source/WebCore/css/DocumentRuleSets.h
+++ b/Source/WebCore/css/DocumentRuleSets.h
@@ -53,12 +53,12 @@
void initUserStyle(DocumentStyleSheetCollection&, const MediaQueryEvaluator&, StyleResolver&);
void resetAuthorStyle();
- void appendAuthorStyleSheets(unsigned firstNew, const Vector<RefPtr<CSSStyleSheet> >&, MediaQueryEvaluator*, InspectorCSSOMWrappers&, bool isViewSource, StyleResolver*);
+ void appendAuthorStyleSheets(unsigned firstNew, const Vector<RefPtr<CSSStyleSheet>>&, MediaQueryEvaluator*, InspectorCSSOMWrappers&, bool isViewSource, StyleResolver*);
void collectFeatures(bool isViewSource, StyleScopeResolver*);
private:
- void collectRulesFromUserStyleSheets(const Vector<RefPtr<CSSStyleSheet> >&, RuleSet& userStyle, const MediaQueryEvaluator&, StyleResolver&);
+ void collectRulesFromUserStyleSheets(const Vector<RefPtr<CSSStyleSheet>>&, RuleSet& userStyle, const MediaQueryEvaluator&, StyleResolver&);
OwnPtr<RuleSet> m_authorStyle;
OwnPtr<RuleSet> m_userStyle;
RuleFeatureSet m_features;
diff --git a/Source/WebCore/css/ElementRuleCollector.cpp b/Source/WebCore/css/ElementRuleCollector.cpp
index 53e381b..3641c4e 100644
--- a/Source/WebCore/css/ElementRuleCollector.cpp
+++ b/Source/WebCore/css/ElementRuleCollector.cpp
@@ -80,7 +80,7 @@
return m_result;
}
-const Vector<RefPtr<StyleRuleBase> >& ElementRuleCollector::matchedRuleList() const
+const Vector<RefPtr<StyleRuleBase>>& ElementRuleCollector::matchedRuleList() const
{
ASSERT(m_mode == SelectorChecker::CollectingRules);
return m_matchedRuleList;
diff --git a/Source/WebCore/css/ElementRuleCollector.h b/Source/WebCore/css/ElementRuleCollector.h
index d1f418c..8636c9b 100644
--- a/Source/WebCore/css/ElementRuleCollector.h
+++ b/Source/WebCore/css/ElementRuleCollector.h
@@ -69,7 +69,7 @@
bool hasAnyMatchingRules(RuleSet*);
StyleResolver::MatchResult& matchedResult();
- const Vector<RefPtr<StyleRuleBase> >& matchedRuleList() const;
+ const Vector<RefPtr<StyleRuleBase>>& matchedRuleList() const;
private:
Document& document() { return m_state.document(); }
@@ -104,10 +104,10 @@
SelectorChecker::Mode m_mode;
bool m_canUseFastReject;
- OwnPtr<Vector<const RuleData*, 32> > m_matchedRules;
+ OwnPtr<Vector<const RuleData*, 32>> m_matchedRules;
// Output.
- Vector<RefPtr<StyleRuleBase> > m_matchedRuleList;
+ Vector<RefPtr<StyleRuleBase>> m_matchedRuleList;
StyleResolver::MatchResult m_result;
};
diff --git a/Source/WebCore/css/FontLoader.h b/Source/WebCore/css/FontLoader.h
index 8e5f317..d82df31 100644
--- a/Source/WebCore/css/FontLoader.h
+++ b/Source/WebCore/css/FontLoader.h
@@ -97,8 +97,8 @@
Document* m_document;
EventTargetData m_eventTargetData;
unsigned m_loadingCount;
- Vector<RefPtr<Event> > m_pendingEvents;
- Vector<RefPtr<VoidCallback> > m_callbacks;
+ Vector<RefPtr<Event>> m_pendingEvents;
+ Vector<RefPtr<VoidCallback>> m_callbacks;
RefPtr<Event> m_loadingDoneEvent;
};
diff --git a/Source/WebCore/css/InspectorCSSOMWrappers.cpp b/Source/WebCore/css/InspectorCSSOMWrappers.cpp
index fac2aa1..4375669 100644
--- a/Source/WebCore/css/InspectorCSSOMWrappers.cpp
+++ b/Source/WebCore/css/InspectorCSSOMWrappers.cpp
@@ -88,7 +88,7 @@
}
}
-void InspectorCSSOMWrappers::collectFromStyleSheetContents(HashSet<RefPtr<CSSStyleSheet> >& sheetWrapperSet, StyleSheetContents* styleSheet)
+void InspectorCSSOMWrappers::collectFromStyleSheetContents(HashSet<RefPtr<CSSStyleSheet>>& sheetWrapperSet, StyleSheetContents* styleSheet)
{
if (!styleSheet)
return;
@@ -97,7 +97,7 @@
collect(styleSheetWrapper.get());
}
-void InspectorCSSOMWrappers::collectFromStyleSheets(const Vector<RefPtr<CSSStyleSheet> >& sheets)
+void InspectorCSSOMWrappers::collectFromStyleSheets(const Vector<RefPtr<CSSStyleSheet>>& sheets)
{
for (unsigned i = 0; i < sheets.size(); ++i)
collect(sheets[i].get());
diff --git a/Source/WebCore/css/InspectorCSSOMWrappers.h b/Source/WebCore/css/InspectorCSSOMWrappers.h
index 3aaf78c..fc9652d 100644
--- a/Source/WebCore/css/InspectorCSSOMWrappers.h
+++ b/Source/WebCore/css/InspectorCSSOMWrappers.h
@@ -48,12 +48,12 @@
template <class ListType>
void collect(ListType*);
- void collectFromStyleSheetContents(HashSet<RefPtr<CSSStyleSheet> >& sheetWrapperSet, StyleSheetContents*);
- void collectFromStyleSheets(const Vector<RefPtr<CSSStyleSheet> >&);
+ void collectFromStyleSheetContents(HashSet<RefPtr<CSSStyleSheet>>& sheetWrapperSet, StyleSheetContents*);
+ void collectFromStyleSheets(const Vector<RefPtr<CSSStyleSheet>>&);
void collectFromDocumentStyleSheetCollection(DocumentStyleSheetCollection&);
- HashMap<StyleRule*, RefPtr<CSSStyleRule> > m_styleRuleToCSSOMWrapperMap;
- HashSet<RefPtr<CSSStyleSheet> > m_styleSheetCSSOMWrapperSet;
+ HashMap<StyleRule*, RefPtr<CSSStyleRule>> m_styleRuleToCSSOMWrapperMap;
+ HashSet<RefPtr<CSSStyleSheet>> m_styleSheetCSSOMWrapperSet;
};
} // namespace WebCore
diff --git a/Source/WebCore/css/MediaList.cpp b/Source/WebCore/css/MediaList.cpp
index 9e4e012..20f928d 100644
--- a/Source/WebCore/css/MediaList.cpp
+++ b/Source/WebCore/css/MediaList.cpp
@@ -125,7 +125,7 @@
{
CSSParser parser(CSSStrictMode);
- Vector<OwnPtr<MediaQuery> > result;
+ Vector<OwnPtr<MediaQuery>> result;
Vector<String> list;
mediaString.split(',', list);
for (unsigned i = 0; i < list.size(); ++i) {
@@ -249,7 +249,7 @@
String MediaList::item(unsigned index) const
{
- const Vector<OwnPtr<MediaQuery> >& queries = m_mediaQueries->queryVector();
+ const Vector<OwnPtr<MediaQuery>>& queries = m_mediaQueries->queryVector();
if (index < queries.size())
return queries[index]->cssText();
return String();
@@ -318,7 +318,7 @@
if (!mediaQuerySet || !document)
return;
- const Vector<OwnPtr<MediaQuery> >& mediaQueries = mediaQuerySet->queryVector();
+ const Vector<OwnPtr<MediaQuery>>& mediaQueries = mediaQuerySet->queryVector();
const size_t queryCount = mediaQueries.size();
if (!queryCount)
diff --git a/Source/WebCore/css/MediaList.h b/Source/WebCore/css/MediaList.h
index 3620340..74976df 100644
--- a/Source/WebCore/css/MediaList.h
+++ b/Source/WebCore/css/MediaList.h
@@ -58,7 +58,7 @@
void addMediaQuery(PassOwnPtr<MediaQuery>);
- const Vector<OwnPtr<MediaQuery> >& queryVector() const { return m_queries; }
+ const Vector<OwnPtr<MediaQuery>>& queryVector() const { return m_queries; }
int lastLine() const { return m_lastLine; }
void setLastLine(int lastLine) { m_lastLine = lastLine; }
@@ -74,7 +74,7 @@
unsigned m_fallbackToDescriptor : 1; // true if failed media query parsing should fallback to media description parsing.
signed m_lastLine : 31;
- Vector<OwnPtr<MediaQuery> > m_queries;
+ Vector<OwnPtr<MediaQuery>> m_queries;
};
class MediaList : public RefCounted<MediaList> {
diff --git a/Source/WebCore/css/MediaQueryEvaluator.cpp b/Source/WebCore/css/MediaQueryEvaluator.cpp
index b362b0f..e8a5477 100644
--- a/Source/WebCore/css/MediaQueryEvaluator.cpp
+++ b/Source/WebCore/css/MediaQueryEvaluator.cpp
@@ -130,7 +130,7 @@
if (!querySet)
return true;
- const Vector<OwnPtr<MediaQuery> >& queries = querySet->queryVector();
+ const Vector<OwnPtr<MediaQuery>>& queries = querySet->queryVector();
if (!queries.size())
return true; // empty query list evaluates to true
diff --git a/Source/WebCore/css/MediaQueryMatcher.h b/Source/WebCore/css/MediaQueryMatcher.h
index c6f7d77..f2ec6a5 100644
--- a/Source/WebCore/css/MediaQueryMatcher.h
+++ b/Source/WebCore/css/MediaQueryMatcher.h
@@ -73,7 +73,7 @@
String mediaType() const;
Document* m_document;
- Vector<OwnPtr<Listener> > m_listeners;
+ Vector<OwnPtr<Listener>> m_listeners;
// This value is incremented at style selector changes.
// It is used to avoid evaluating queries more then once and to make sure
diff --git a/Source/WebCore/css/PropertySetCSSStyleDeclaration.cpp b/Source/WebCore/css/PropertySetCSSStyleDeclaration.cpp
index 95e4cc3..1d802f5 100644
--- a/Source/WebCore/css/PropertySetCSSStyleDeclaration.cpp
+++ b/Source/WebCore/css/PropertySetCSSStyleDeclaration.cpp
@@ -276,7 +276,7 @@
// The map is here to maintain the object identity of the CSSValues over multiple invocations.
// FIXME: It is likely that the identity is not important for web compatibility and this code should be removed.
if (!m_cssomCSSValueClones)
- m_cssomCSSValueClones = adoptPtr(new HashMap<CSSValue*, RefPtr<CSSValue> >);
+ m_cssomCSSValueClones = adoptPtr(new HashMap<CSSValue*, RefPtr<CSSValue>>);
RefPtr<CSSValue>& clonedValue = m_cssomCSSValueClones->add(internalValue, RefPtr<CSSValue>()).iterator->value;
if (!clonedValue)
diff --git a/Source/WebCore/css/PropertySetCSSStyleDeclaration.h b/Source/WebCore/css/PropertySetCSSStyleDeclaration.h
index d369b24..4e9939e 100644
--- a/Source/WebCore/css/PropertySetCSSStyleDeclaration.h
+++ b/Source/WebCore/css/PropertySetCSSStyleDeclaration.h
@@ -78,7 +78,7 @@
virtual void didMutate(MutationType) { }
MutableStylePropertySet* m_propertySet;
- OwnPtr<HashMap<CSSValue*, RefPtr<CSSValue> > > m_cssomCSSValueClones;
+ OwnPtr<HashMap<CSSValue*, RefPtr<CSSValue>>> m_cssomCSSValueClones;
};
class StyleRuleCSSStyleDeclaration : public PropertySetCSSStyleDeclaration
diff --git a/Source/WebCore/css/RuleSet.cpp b/Source/WebCore/css/RuleSet.cpp
index f66a3b4..c2752d9 100644
--- a/Source/WebCore/css/RuleSet.cpp
+++ b/Source/WebCore/css/RuleSet.cpp
@@ -171,7 +171,7 @@
{
if (!key)
return;
- OwnPtr<Vector<RuleData> >& rules = map.add(key, nullptr).iterator->value;
+ OwnPtr<Vector<RuleData>>& rules = map.add(key, nullptr).iterator->value;
if (!rules)
rules = adoptPtr(new Vector<RuleData>);
rules->append(ruleData);
@@ -256,7 +256,7 @@
// Collect the region rules into a rule set
// FIXME: Should this add other types of rules? (i.e. use addChildRules() directly?)
- const Vector<RefPtr<StyleRuleBase> >& childRules = regionRule->childRules();
+ const Vector<RefPtr<StyleRuleBase>>& childRules = regionRule->childRules();
AddRuleFlags addRuleFlags = hasDocumentSecurityOrigin ? RuleHasDocumentSecurityOrigin : RuleHasNoSpecialState;
addRuleFlags = static_cast<AddRuleFlags>(addRuleFlags | RuleCanUseFastCheckSelector | RuleIsInRegionRule);
for (unsigned i = 0; i < childRules.size(); ++i) {
@@ -270,7 +270,7 @@
m_regionSelectorsAndRuleSets.append(RuleSetSelectorPair(regionRule->selectorList().first(), regionRuleSet.release()));
}
-void RuleSet::addChildRules(const Vector<RefPtr<StyleRuleBase> >& rules, const MediaQueryEvaluator& medium, StyleResolver* resolver, const ContainerNode* scope, bool hasDocumentSecurityOrigin, AddRuleFlags addRuleFlags)
+void RuleSet::addChildRules(const Vector<RefPtr<StyleRuleBase>>& rules, const MediaQueryEvaluator& medium, StyleResolver* resolver, const ContainerNode* scope, bool hasDocumentSecurityOrigin, AddRuleFlags addRuleFlags)
{
for (unsigned i = 0; i < rules.size(); ++i) {
StyleRuleBase* rule = rules[i].get();
@@ -329,7 +329,7 @@
{
ASSERT(sheet);
- const Vector<RefPtr<StyleRuleImport> >& importRules = sheet->importRules();
+ const Vector<RefPtr<StyleRuleImport>>& importRules = sheet->importRules();
for (unsigned i = 0; i < importRules.size(); ++i) {
StyleRuleImport* importRule = importRules[i].get();
if (importRule->styleSheet() && (!importRule->mediaQueries() || medium.eval(importRule->mediaQueries(), resolver)))
diff --git a/Source/WebCore/css/RuleSet.h b/Source/WebCore/css/RuleSet.h
index e35a20f..75e3e17 100644
--- a/Source/WebCore/css/RuleSet.h
+++ b/Source/WebCore/css/RuleSet.h
@@ -116,7 +116,7 @@
static PassOwnPtr<RuleSet> create() { return adoptPtr(new RuleSet); }
- typedef HashMap<AtomicStringImpl*, OwnPtr<Vector<RuleData> > > AtomRuleMap;
+ typedef HashMap<AtomicStringImpl*, OwnPtr<Vector<RuleData>>> AtomRuleMap;
void addRulesFromSheet(StyleSheetContents*, const MediaQueryEvaluator&, StyleResolver* = 0, const ContainerNode* = 0);
@@ -146,7 +146,7 @@
unsigned ruleCount() const { return m_ruleCount; }
private:
- void addChildRules(const Vector<RefPtr<StyleRuleBase> >&, const MediaQueryEvaluator& medium, StyleResolver*, const ContainerNode* scope, bool hasDocumentSecurityOrigin, AddRuleFlags);
+ void addChildRules(const Vector<RefPtr<StyleRuleBase>>&, const MediaQueryEvaluator& medium, StyleResolver*, const ContainerNode* scope, bool hasDocumentSecurityOrigin, AddRuleFlags);
bool findBestRuleSetAndAdd(const CSSSelector*, RuleData&);
RuleSet();
diff --git a/Source/WebCore/css/SelectorFilter.h b/Source/WebCore/css/SelectorFilter.h
index 2918c0c..cf9c0e0 100644
--- a/Source/WebCore/css/SelectorFilter.h
+++ b/Source/WebCore/css/SelectorFilter.h
@@ -63,7 +63,7 @@
// With 100 unique strings in the filter, 2^12 slot table has false positive rate of ~0.2%.
static const unsigned bloomFilterKeyBits = 12;
- OwnPtr<BloomFilter<bloomFilterKeyBits> > m_ancestorIdentifierFilter;
+ OwnPtr<BloomFilter<bloomFilterKeyBits>> m_ancestorIdentifierFilter;
};
template <unsigned maximumIdentifierCount>
diff --git a/Source/WebCore/css/StyleInvalidationAnalysis.cpp b/Source/WebCore/css/StyleInvalidationAnalysis.cpp
index b566a77..ad3c448 100644
--- a/Source/WebCore/css/StyleInvalidationAnalysis.cpp
+++ b/Source/WebCore/css/StyleInvalidationAnalysis.cpp
@@ -74,7 +74,7 @@
// See if all rules on the sheet are scoped to some specific ids or classes.
// Then test if we actually have any of those in the tree at the moment.
- const Vector<RefPtr<StyleRuleImport> >& importRules = styleSheetContents->importRules();
+ const Vector<RefPtr<StyleRuleImport>>& importRules = styleSheetContents->importRules();
for (unsigned i = 0; i < importRules.size(); ++i) {
if (!importRules[i]->styleSheet())
continue;
@@ -82,7 +82,7 @@
if (m_dirtiesAllStyle)
return;
}
- const Vector<RefPtr<StyleRuleBase> >& rules = styleSheetContents->childRules();
+ const Vector<RefPtr<StyleRuleBase>>& rules = styleSheetContents->childRules();
for (unsigned i = 0; i < rules.size(); i++) {
StyleRuleBase* rule = rules[i].get();
if (!rule->isStyleRule()) {
diff --git a/Source/WebCore/css/StylePropertySet.cpp b/Source/WebCore/css/StylePropertySet.cpp
index f698b49..bea7d40 100644
--- a/Source/WebCore/css/StylePropertySet.cpp
+++ b/Source/WebCore/css/StylePropertySet.cpp
@@ -360,7 +360,7 @@
const unsigned size = shorthand.length();
// Begin by collecting the properties into an array.
- Vector< RefPtr<CSSValue> > values(size);
+ Vector< RefPtr<CSSValue>> values(size);
size_t numLayers = 0;
for (unsigned i = 0; i < size; ++i) {
diff --git a/Source/WebCore/css/StyleResolver.cpp b/Source/WebCore/css/StyleResolver.cpp
index a3a913e..bb42c18 100644
--- a/Source/WebCore/css/StyleResolver.cpp
+++ b/Source/WebCore/css/StyleResolver.cpp
@@ -295,7 +295,7 @@
appendAuthorStyleSheets(0, styleSheetCollection.activeAuthorStyleSheets());
}
-void StyleResolver::appendAuthorStyleSheets(unsigned firstNew, const Vector<RefPtr<CSSStyleSheet> >& styleSheets)
+void StyleResolver::appendAuthorStyleSheets(unsigned firstNew, const Vector<RefPtr<CSSStyleSheet>>& styleSheets)
{
m_ruleSets.appendAuthorStyleSheets(firstNew, styleSheets, m_medium.get(), m_inspectorCSSOMWrappers, document().isViewSource(), this);
if (document().renderView() && document().renderView()->style())
@@ -922,7 +922,7 @@
const StyleRuleKeyframes* keyframesRule = it->value.get();
// Construct and populate the style for each keyframe
- const Vector<RefPtr<StyleKeyframe> >& keyframes = keyframesRule->keyframes();
+ const Vector<RefPtr<StyleKeyframe>>& keyframes = keyframesRule->keyframes();
for (unsigned i = 0; i < keyframes.size(); ++i) {
// Apply the declaration to the style. This is a simplified version of the logic in styleForElement
initElement(e);
@@ -1457,15 +1457,15 @@
m_state.setFontDirty(false);
}
-Vector<RefPtr<StyleRuleBase> > StyleResolver::styleRulesForElement(Element* e, unsigned rulesToInclude)
+Vector<RefPtr<StyleRuleBase>> StyleResolver::styleRulesForElement(Element* e, unsigned rulesToInclude)
{
return pseudoStyleRulesForElement(e, NOPSEUDO, rulesToInclude);
}
-Vector<RefPtr<StyleRuleBase> > StyleResolver::pseudoStyleRulesForElement(Element* e, PseudoId pseudoId, unsigned rulesToInclude)
+Vector<RefPtr<StyleRuleBase>> StyleResolver::pseudoStyleRulesForElement(Element* e, PseudoId pseudoId, unsigned rulesToInclude)
{
if (!e || !e->document().haveStylesheetsLoaded())
- return Vector<RefPtr<StyleRuleBase> >();
+ return Vector<RefPtr<StyleRuleBase>>();
initElement(e);
m_state.initForStyleResolve(document(), e, 0);
@@ -2053,7 +2053,7 @@
return false;
}
-void StyleResolver::resolveVariables(CSSPropertyID id, CSSValue* value, Vector<std::pair<CSSPropertyID, String> >& knownExpressions)
+void StyleResolver::resolveVariables(CSSPropertyID id, CSSValue* value, Vector<std::pair<CSSPropertyID, String>>& knownExpressions)
{
std::pair<CSSPropertyID, String> expression(id, value->serializeResolvingVariables(*m_state.style()->variables()));
@@ -2081,7 +2081,7 @@
{
#if ENABLE(CSS_VARIABLES)
if (id != CSSPropertyVariable && hasVariableReference(value)) {
- Vector<std::pair<CSSPropertyID, String> > knownExpressions;
+ Vector<std::pair<CSSPropertyID, String>> knownExpressions;
resolveVariables(id, value, knownExpressions);
return;
}
@@ -2239,7 +2239,7 @@
}
if (value->isValueList()) {
CSSValueList* list = toCSSValueList(value);
- Vector<std::pair<String, String> > quotes;
+ Vector<std::pair<String, String>> quotes;
for (size_t i = 0; i < list->length(); i += 2) {
CSSValue* first = list->itemWithoutBoundsCheck(i);
// item() returns null if out of bounds so this is safe.
@@ -2257,7 +2257,7 @@
}
if (primitiveValue) {
if (primitiveValue->getValueID() == CSSValueNone)
- state.style()->setQuotes(QuotesData::create(Vector<std::pair<String, String> >()));
+ state.style()->setQuotes(QuotesData::create(Vector<std::pair<String, String>>()));
}
return;
// Shorthand properties.
@@ -3399,7 +3399,7 @@
return;
CachedResourceLoader* cachedResourceLoader = state.document().cachedResourceLoader();
- Vector<RefPtr<FilterOperation> >& filterOperations = state.style()->mutableFilter().operations();
+ Vector<RefPtr<FilterOperation>>& filterOperations = state.style()->mutableFilter().operations();
for (unsigned i = 0; i < filterOperations.size(); ++i) {
RefPtr<FilterOperation> filterOperation = filterOperations.at(i);
if (filterOperation->getOperationType() == FilterOperation::REFERENCE) {
@@ -3462,7 +3462,7 @@
CachedResourceLoader* cachedResourceLoader = m_state.document().cachedResourceLoader();
- Vector<RefPtr<FilterOperation> >& filterOperations = m_state.style()->mutableFilter().operations();
+ Vector<RefPtr<FilterOperation>>& filterOperations = m_state.style()->mutableFilter().operations();
for (unsigned i = 0; i < filterOperations.size(); ++i) {
RefPtr<FilterOperation> filterOperation = filterOperations.at(i);
if (filterOperation->getOperationType() == FilterOperation::CUSTOM) {
diff --git a/Source/WebCore/css/StyleResolver.h b/Source/WebCore/css/StyleResolver.h
index 7c24d49..44f3d23 100644
--- a/Source/WebCore/css/StyleResolver.h
+++ b/Source/WebCore/css/StyleResolver.h
@@ -187,7 +187,7 @@
// FIXME: It could be better to call m_ruleSets.appendAuthorStyleSheets() directly after we factor StyleRsolver further.
// https://bugs.webkit.org/show_bug.cgi?id=108890
- void appendAuthorStyleSheets(unsigned firstNew, const Vector<RefPtr<CSSStyleSheet> >&);
+ void appendAuthorStyleSheets(unsigned firstNew, const Vector<RefPtr<CSSStyleSheet>>&);
DocumentRuleSets& ruleSets() { return m_ruleSets; }
const DocumentRuleSets& ruleSets() const { return m_ruleSets; }
@@ -224,8 +224,8 @@
AllButEmptyCSSRules = UAAndUserCSSRules | AuthorCSSRules | CrossOriginCSSRules,
AllCSSRules = AllButEmptyCSSRules | EmptyCSSRules,
};
- Vector<RefPtr<StyleRuleBase> > styleRulesForElement(Element*, unsigned rulesToInclude = AllButEmptyCSSRules);
- Vector<RefPtr<StyleRuleBase> > pseudoStyleRulesForElement(Element*, PseudoId, unsigned rulesToInclude = AllButEmptyCSSRules);
+ Vector<RefPtr<StyleRuleBase>> styleRulesForElement(Element*, unsigned rulesToInclude = AllButEmptyCSSRules);
+ Vector<RefPtr<StyleRuleBase>> pseudoStyleRulesForElement(Element*, PseudoId, unsigned rulesToInclude = AllButEmptyCSSRules);
public:
void applyPropertyToStyle(CSSPropertyID, CSSValue*, RenderStyle*);
@@ -364,7 +364,7 @@
template <StyleApplicationPass pass>
void applyProperties(const StylePropertySet* properties, StyleRule*, bool isImportant, bool inheritedOnly, PropertyWhitelistType = PropertyWhitelistNone);
#if ENABLE(CSS_VARIABLES)
- void resolveVariables(CSSPropertyID, CSSValue*, Vector<std::pair<CSSPropertyID, String> >& knownExpressions);
+ void resolveVariables(CSSPropertyID, CSSValue*, Vector<std::pair<CSSPropertyID, String>>& knownExpressions);
#endif
static bool isValidRegionStyleProperty(CSSPropertyID);
#if ENABLE(VIDEO_TRACK)
@@ -381,13 +381,13 @@
DocumentRuleSets m_ruleSets;
- typedef HashMap<AtomicStringImpl*, RefPtr<StyleRuleKeyframes> > KeyframesRuleMap;
+ typedef HashMap<AtomicStringImpl*, RefPtr<StyleRuleKeyframes>> KeyframesRuleMap;
KeyframesRuleMap m_keyframesRuleMap;
public:
- typedef HashMap<CSSPropertyID, RefPtr<CSSValue> > PendingImagePropertyMap;
+ typedef HashMap<CSSPropertyID, RefPtr<CSSValue>> PendingImagePropertyMap;
#if ENABLE(CSS_FILTERS) && ENABLE(SVG)
- typedef HashMap<FilterOperation*, RefPtr<WebKitCSSSVGDocumentValue> > PendingSVGDocumentMap;
+ typedef HashMap<FilterOperation*, RefPtr<WebKitCSSSVGDocumentValue>> PendingSVGDocumentMap;
#endif
class State {
@@ -585,7 +585,7 @@
bool m_matchAuthorAndUserStyles;
RefPtr<CSSFontSelector> m_fontSelector;
- Vector<OwnPtr<MediaQueryResult> > m_viewportDependentMediaQueryResults;
+ Vector<OwnPtr<MediaQueryResult>> m_viewportDependentMediaQueryResults;
#if ENABLE(CSS_DEVICE_ADAPTATION)
RefPtr<ViewportStyleResolver> m_viewportStyleResolver;
diff --git a/Source/WebCore/css/StyleRule.cpp b/Source/WebCore/css/StyleRule.cpp
index 6f1de7d..d4a934b 100644
--- a/Source/WebCore/css/StyleRule.cpp
+++ b/Source/WebCore/css/StyleRule.cpp
@@ -267,11 +267,11 @@
return rule.release();
}
-Vector<RefPtr<StyleRule> > StyleRule::splitIntoMultipleRulesWithMaximumSelectorComponentCount(unsigned maxCount) const
+Vector<RefPtr<StyleRule>> StyleRule::splitIntoMultipleRulesWithMaximumSelectorComponentCount(unsigned maxCount) const
{
ASSERT(selectorList().componentCount() > maxCount);
- Vector<RefPtr<StyleRule> > rules;
+ Vector<RefPtr<StyleRule>> rules;
Vector<const CSSSelector*> componentsSinceLastSplit;
for (const CSSSelector* selector = selectorList().first(); selector; selector = CSSSelectorList::next(selector)) {
@@ -340,7 +340,7 @@
return static_cast<MutableStylePropertySet&>(m_properties.get());
}
-StyleRuleGroup::StyleRuleGroup(Type type, Vector<RefPtr<StyleRuleBase> >& adoptRule)
+StyleRuleGroup::StyleRuleGroup(Type type, Vector<RefPtr<StyleRuleBase>>& adoptRule)
: StyleRuleBase(type, 0)
{
m_childRules.swap(adoptRule);
@@ -365,7 +365,7 @@
}
-StyleRuleMedia::StyleRuleMedia(PassRefPtr<MediaQuerySet> media, Vector<RefPtr<StyleRuleBase> >& adoptRules)
+StyleRuleMedia::StyleRuleMedia(PassRefPtr<MediaQuerySet> media, Vector<RefPtr<StyleRuleBase>>& adoptRules)
: StyleRuleGroup(Media, adoptRules)
, m_mediaQueries(media)
{
@@ -380,7 +380,7 @@
#if ENABLE(CSS3_CONDITIONAL_RULES)
-StyleRuleSupports::StyleRuleSupports(const String& conditionText, bool conditionIsSupported, Vector<RefPtr<StyleRuleBase> >& adoptRules)
+StyleRuleSupports::StyleRuleSupports(const String& conditionText, bool conditionIsSupported, Vector<RefPtr<StyleRuleBase>>& adoptRules)
: StyleRuleGroup(Supports, adoptRules)
, m_conditionText(conditionText)
, m_conditionIsSupported(conditionIsSupported)
@@ -395,7 +395,7 @@
}
#endif
-StyleRuleRegion::StyleRuleRegion(Vector<OwnPtr<CSSParserSelector> >* selectors, Vector<RefPtr<StyleRuleBase> >& adoptRules)
+StyleRuleRegion::StyleRuleRegion(Vector<OwnPtr<CSSParserSelector>>* selectors, Vector<RefPtr<StyleRuleBase>>& adoptRules)
: StyleRuleGroup(Region, adoptRules)
{
m_selectorList.adoptSelectorVector(*selectors);
diff --git a/Source/WebCore/css/StyleRule.h b/Source/WebCore/css/StyleRule.h
index 08d8b91..0bfd0f8 100644
--- a/Source/WebCore/css/StyleRule.h
+++ b/Source/WebCore/css/StyleRule.h
@@ -129,13 +129,13 @@
const StylePropertySet& properties() const { return m_properties.get(); }
MutableStylePropertySet& mutableProperties();
- void parserAdoptSelectorVector(Vector<OwnPtr<CSSParserSelector> >& selectors) { m_selectorList.adoptSelectorVector(selectors); }
+ void parserAdoptSelectorVector(Vector<OwnPtr<CSSParserSelector>>& selectors) { m_selectorList.adoptSelectorVector(selectors); }
void wrapperAdoptSelectorList(CSSSelectorList& selectors) { m_selectorList.adopt(selectors); }
void parserAdoptSelectorArray(CSSSelector* selectors) { m_selectorList.adoptSelectorArray(selectors); }
PassRefPtr<StyleRule> copy() const { return adoptRef(new StyleRule(*this)); }
- Vector<RefPtr<StyleRule> > splitIntoMultipleRulesWithMaximumSelectorComponentCount(unsigned) const;
+ Vector<RefPtr<StyleRule>> splitIntoMultipleRulesWithMaximumSelectorComponentCount(unsigned) const;
static unsigned averageSizeInBytes();
@@ -184,7 +184,7 @@
const StylePropertySet& properties() const { return m_properties.get(); }
MutableStylePropertySet& mutableProperties();
- void parserAdoptSelectorVector(Vector<OwnPtr<CSSParserSelector> >& selectors) { m_selectorList.adoptSelectorVector(selectors); }
+ void parserAdoptSelectorVector(Vector<OwnPtr<CSSParserSelector>>& selectors) { m_selectorList.adoptSelectorVector(selectors); }
void wrapperAdoptSelectorList(CSSSelectorList& selectors) { m_selectorList.adopt(selectors); }
PassRefPtr<StyleRulePage> copy() const { return adoptRef(new StyleRulePage(*this)); }
@@ -199,22 +199,22 @@
class StyleRuleGroup : public StyleRuleBase {
public:
- const Vector<RefPtr<StyleRuleBase> >& childRules() const { return m_childRules; }
+ const Vector<RefPtr<StyleRuleBase>>& childRules() const { return m_childRules; }
void wrapperInsertRule(unsigned, PassRefPtr<StyleRuleBase>);
void wrapperRemoveRule(unsigned);
protected:
- StyleRuleGroup(Type, Vector<RefPtr<StyleRuleBase> >& adoptRule);
+ StyleRuleGroup(Type, Vector<RefPtr<StyleRuleBase>>& adoptRule);
StyleRuleGroup(const StyleRuleGroup&);
private:
- Vector<RefPtr<StyleRuleBase> > m_childRules;
+ Vector<RefPtr<StyleRuleBase>> m_childRules;
};
class StyleRuleMedia : public StyleRuleGroup {
public:
- static PassRefPtr<StyleRuleMedia> create(PassRefPtr<MediaQuerySet> media, Vector<RefPtr<StyleRuleBase> >& adoptRules)
+ static PassRefPtr<StyleRuleMedia> create(PassRefPtr<MediaQuerySet> media, Vector<RefPtr<StyleRuleBase>>& adoptRules)
{
return adoptRef(new StyleRuleMedia(media, adoptRules));
}
@@ -224,7 +224,7 @@
PassRefPtr<StyleRuleMedia> copy() const { return adoptRef(new StyleRuleMedia(*this)); }
private:
- StyleRuleMedia(PassRefPtr<MediaQuerySet>, Vector<RefPtr<StyleRuleBase> >& adoptRules);
+ StyleRuleMedia(PassRefPtr<MediaQuerySet>, Vector<RefPtr<StyleRuleBase>>& adoptRules);
StyleRuleMedia(const StyleRuleMedia&);
RefPtr<MediaQuerySet> m_mediaQueries;
@@ -233,7 +233,7 @@
#if ENABLE(CSS3_CONDITIONAL_RULES)
class StyleRuleSupports : public StyleRuleGroup {
public:
- static PassRefPtr<StyleRuleSupports> create(const String& conditionText, bool conditionIsSupported, Vector<RefPtr<StyleRuleBase> >& adoptRules)
+ static PassRefPtr<StyleRuleSupports> create(const String& conditionText, bool conditionIsSupported, Vector<RefPtr<StyleRuleBase>>& adoptRules)
{
return adoptRef(new StyleRuleSupports(conditionText, conditionIsSupported, adoptRules));
}
@@ -243,7 +243,7 @@
PassRefPtr<StyleRuleSupports> copy() const { return adoptRef(new StyleRuleSupports(*this)); }
private:
- StyleRuleSupports(const String& conditionText, bool conditionIsSupported, Vector<RefPtr<StyleRuleBase> >& adoptRules);
+ StyleRuleSupports(const String& conditionText, bool conditionIsSupported, Vector<RefPtr<StyleRuleBase>>& adoptRules);
StyleRuleSupports(const StyleRuleSupports&);
String m_conditionText;
@@ -253,7 +253,7 @@
class StyleRuleRegion : public StyleRuleGroup {
public:
- static PassRefPtr<StyleRuleRegion> create(Vector<OwnPtr<CSSParserSelector> >* selectors, Vector<RefPtr<StyleRuleBase> >& adoptRules)
+ static PassRefPtr<StyleRuleRegion> create(Vector<OwnPtr<CSSParserSelector>>* selectors, Vector<RefPtr<StyleRuleBase>>& adoptRules)
{
return adoptRef(new StyleRuleRegion(selectors, adoptRules));
}
@@ -263,7 +263,7 @@
PassRefPtr<StyleRuleRegion> copy() const { return adoptRef(new StyleRuleRegion(*this)); }
private:
- StyleRuleRegion(Vector<OwnPtr<CSSParserSelector> >*, Vector<RefPtr<StyleRuleBase> >& adoptRules);
+ StyleRuleRegion(Vector<OwnPtr<CSSParserSelector>>*, Vector<RefPtr<StyleRuleBase>>& adoptRules);
StyleRuleRegion(const StyleRuleRegion&);
CSSSelectorList m_selectorList;
@@ -272,7 +272,7 @@
#if ENABLE(SHADOW_DOM)
class StyleRuleHost : public StyleRuleGroup {
public:
- static PassRefPtr<StyleRuleHost> create(Vector<RefPtr<StyleRuleBase> >& adoptRules)
+ static PassRefPtr<StyleRuleHost> create(Vector<RefPtr<StyleRuleBase>>& adoptRules)
{
return adoptRef(new StyleRuleHost(adoptRules));
}
@@ -280,7 +280,7 @@
PassRefPtr<StyleRuleHost> copy() const { return adoptRef(new StyleRuleHost(*this)); }
private:
- StyleRuleHost(Vector<RefPtr<StyleRuleBase> >& adoptRules) : StyleRuleGroup(HostInternal, adoptRules) { }
+ StyleRuleHost(Vector<RefPtr<StyleRuleBase>>& adoptRules) : StyleRuleGroup(HostInternal, adoptRules) { }
StyleRuleHost(const StyleRuleHost& o) : StyleRuleGroup(o) { }
};
#endif
diff --git a/Source/WebCore/css/StyleScopeResolver.h b/Source/WebCore/css/StyleScopeResolver.h
index 7cf4688..4557e9e 100644
--- a/Source/WebCore/css/StyleScopeResolver.h
+++ b/Source/WebCore/css/StyleScopeResolver.h
@@ -47,7 +47,7 @@
class StyleScopeResolver {
public:
- typedef HashMap<const ContainerNode*, OwnPtr<RuleSet> > ScopedRuleSetMap;
+ typedef HashMap<const ContainerNode*, OwnPtr<RuleSet>> ScopedRuleSetMap;
struct StackFrame {
StackFrame() : m_scope(0), m_authorStyleBoundsIndex(0), m_ruleSet(0) { }
diff --git a/Source/WebCore/css/StyleSheetContents.cpp b/Source/WebCore/css/StyleSheetContents.cpp
index f55f748..b752dea 100644
--- a/Source/WebCore/css/StyleSheetContents.cpp
+++ b/Source/WebCore/css/StyleSheetContents.cpp
@@ -145,7 +145,7 @@
// NOTE: The selector list has to fit into RuleData. <http://webkit.org/b/118369>
// If we're adding a rule with a huge number of selectors, split it up into multiple rules
if (rule->isStyleRule() && toStyleRule(rule.get())->selectorList().componentCount() > RuleData::maximumSelectorComponentCount) {
- Vector<RefPtr<StyleRule> > rules = toStyleRule(rule.get())->splitIntoMultipleRulesWithMaximumSelectorComponentCount(RuleData::maximumSelectorComponentCount);
+ Vector<RefPtr<StyleRule>> rules = toStyleRule(rule.get())->splitIntoMultipleRulesWithMaximumSelectorComponentCount(RuleData::maximumSelectorComponentCount);
m_childRules.appendVector(rules);
return;
}
@@ -427,7 +427,7 @@
}
}
-static bool childRulesHaveFailedOrCanceledSubresources(const Vector<RefPtr<StyleRuleBase> >& rules)
+static bool childRulesHaveFailedOrCanceledSubresources(const Vector<RefPtr<StyleRuleBase>>& rules)
{
for (unsigned i = 0; i < rules.size(); ++i) {
const StyleRuleBase* rule = rules[i].get();
diff --git a/Source/WebCore/css/StyleSheetContents.h b/Source/WebCore/css/StyleSheetContents.h
index f9e6945..276134f 100644
--- a/Source/WebCore/css/StyleSheetContents.h
+++ b/Source/WebCore/css/StyleSheetContents.h
@@ -98,8 +98,8 @@
bool hasCharsetRule() const { return !m_encodingFromCharsetRule.isNull(); }
String encodingFromCharsetRule() const { return m_encodingFromCharsetRule; }
// Rules other than @charset and @import.
- const Vector<RefPtr<StyleRuleBase> >& childRules() const { return m_childRules; }
- const Vector<RefPtr<StyleRuleImport> >& importRules() const { return m_importRules; }
+ const Vector<RefPtr<StyleRuleBase>>& childRules() const { return m_childRules; }
+ const Vector<RefPtr<StyleRuleImport>>& importRules() const { return m_importRules; }
void notifyLoadedSheet(const CachedCSSStyleSheet*);
@@ -149,8 +149,8 @@
String m_originalURL;
String m_encodingFromCharsetRule;
- Vector<RefPtr<StyleRuleImport> > m_importRules;
- Vector<RefPtr<StyleRuleBase> > m_childRules;
+ Vector<RefPtr<StyleRuleImport>> m_importRules;
+ Vector<RefPtr<StyleRuleBase>> m_childRules;
typedef HashMap<AtomicString, AtomicString> PrefixNamespaceURIMap;
PrefixNamespaceURIMap m_namespaces;
diff --git a/Source/WebCore/css/StyleSheetList.cpp b/Source/WebCore/css/StyleSheetList.cpp
index a44f608..103e641 100644
--- a/Source/WebCore/css/StyleSheetList.cpp
+++ b/Source/WebCore/css/StyleSheetList.cpp
@@ -41,7 +41,7 @@
{
}
-inline const Vector<RefPtr<StyleSheet> >& StyleSheetList::styleSheets() const
+inline const Vector<RefPtr<StyleSheet>>& StyleSheetList::styleSheets() const
{
if (!m_document)
return m_detachedStyleSheets;
@@ -61,7 +61,7 @@
StyleSheet* StyleSheetList::item(unsigned index)
{
- const Vector<RefPtr<StyleSheet> >& sheets = styleSheets();
+ const Vector<RefPtr<StyleSheet>>& sheets = styleSheets();
return index < sheets.size() ? sheets[index].get() : 0;
}
diff --git a/Source/WebCore/css/StyleSheetList.h b/Source/WebCore/css/StyleSheetList.h
index c052841..dd273ac 100644
--- a/Source/WebCore/css/StyleSheetList.h
+++ b/Source/WebCore/css/StyleSheetList.h
@@ -48,10 +48,10 @@
private:
StyleSheetList(Document*);
- const Vector<RefPtr<StyleSheet> >& styleSheets() const;
+ const Vector<RefPtr<StyleSheet>>& styleSheets() const;
Document* m_document;
- Vector<RefPtr<StyleSheet> > m_detachedStyleSheets;
+ Vector<RefPtr<StyleSheet>> m_detachedStyleSheets;
};
} // namespace WebCore
diff --git a/Source/WebCore/css/WebKitCSSKeyframesRule.h b/Source/WebCore/css/WebKitCSSKeyframesRule.h
index 836a4e3..c364e29 100644
--- a/Source/WebCore/css/WebKitCSSKeyframesRule.h
+++ b/Source/WebCore/css/WebKitCSSKeyframesRule.h
@@ -43,7 +43,7 @@
~StyleRuleKeyframes();
- const Vector<RefPtr<StyleKeyframe> >& keyframes() const { return m_keyframes; }
+ const Vector<RefPtr<StyleKeyframe>>& keyframes() const { return m_keyframes; }
void parserAppendKeyframe(PassRefPtr<StyleKeyframe>);
void wrapperAppendKeyframe(PassRefPtr<StyleKeyframe>);
@@ -60,7 +60,7 @@
StyleRuleKeyframes();
StyleRuleKeyframes(const StyleRuleKeyframes&);
- Vector<RefPtr<StyleKeyframe> > m_keyframes;
+ Vector<RefPtr<StyleKeyframe>> m_keyframes;
AtomicString m_name;
};
@@ -91,7 +91,7 @@
WebKitCSSKeyframesRule(StyleRuleKeyframes*, CSSStyleSheet* parent);
RefPtr<StyleRuleKeyframes> m_keyframesRule;
- mutable Vector<RefPtr<WebKitCSSKeyframeRule> > m_childRuleCSSOMWrappers;
+ mutable Vector<RefPtr<WebKitCSSKeyframeRule>> m_childRuleCSSOMWrappers;
mutable OwnPtr<CSSRuleList> m_ruleListCSSOMWrapper;
};
diff --git a/Source/WebCore/dom/CheckedRadioButtons.h b/Source/WebCore/dom/CheckedRadioButtons.h
index f050faa..bb3570d 100644
--- a/Source/WebCore/dom/CheckedRadioButtons.h
+++ b/Source/WebCore/dom/CheckedRadioButtons.h
@@ -44,7 +44,7 @@
bool isInRequiredGroup(HTMLInputElement*) const;
private:
- typedef HashMap<AtomicStringImpl*, OwnPtr<RadioButtonGroup> > NameToGroupMap;
+ typedef HashMap<AtomicStringImpl*, OwnPtr<RadioButtonGroup>> NameToGroupMap;
OwnPtr<NameToGroupMap> m_nameToGroupMap;
};
diff --git a/Source/WebCore/dom/ClientRectList.h b/Source/WebCore/dom/ClientRectList.h
index 513c3bd..c421d80 100644
--- a/Source/WebCore/dom/ClientRectList.h
+++ b/Source/WebCore/dom/ClientRectList.h
@@ -49,7 +49,7 @@
ClientRectList();
explicit ClientRectList(const Vector<FloatQuad>&);
- Vector<RefPtr<ClientRect> > m_list;
+ Vector<RefPtr<ClientRect>> m_list;
};
} // namespace WebCore
diff --git a/Source/WebCore/dom/ContainerNode.h b/Source/WebCore/dom/ContainerNode.h
index 4a19777..ebf537d 100644
--- a/Source/WebCore/dom/ContainerNode.h
+++ b/Source/WebCore/dom/ContainerNode.h
@@ -271,7 +271,7 @@
m_currentNode = node->nextSibling();
return node.release();
}
- Vector<RefPtr<Node> >& nodeVector = *m_childNodes;
+ Vector<RefPtr<Node>>& nodeVector = *m_childNodes;
if (m_currentIndex >= nodeVector.size())
return 0;
return nodeVector[m_currentIndex++];
@@ -281,7 +281,7 @@
{
if (hasSnapshot())
return;
- m_childNodes = adoptPtr(new Vector<RefPtr<Node> >());
+ m_childNodes = adoptPtr(new Vector<RefPtr<Node>>());
Node* node = m_currentNode.get();
while (node) {
m_childNodes->append(node);
@@ -306,7 +306,7 @@
RefPtr<Node> m_currentNode;
unsigned m_currentIndex;
- OwnPtr<Vector<RefPtr<Node> > > m_childNodes; // Lazily instantiated.
+ OwnPtr<Vector<RefPtr<Node>>> m_childNodes; // Lazily instantiated.
ChildNodesLazySnapshot* m_nextSnapshot;
};
diff --git a/Source/WebCore/dom/CrossThreadTask.h b/Source/WebCore/dom/CrossThreadTask.h
index e280998..6cc5f84 100644
--- a/Source/WebCore/dom/CrossThreadTask.h
+++ b/Source/WebCore/dom/CrossThreadTask.h
@@ -48,11 +48,11 @@
typedef T* ParamType;
};
-template<typename T> struct CrossThreadTaskTraits<PassRefPtr<T> > {
+template<typename T> struct CrossThreadTaskTraits<PassRefPtr<T>> {
typedef PassRefPtr<T> ParamType;
};
-template<typename T> struct CrossThreadTaskTraits<PassOwnPtr<T> > {
+template<typename T> struct CrossThreadTaskTraits<PassOwnPtr<T>> {
typedef PassOwnPtr<T> ParamType;
};
diff --git a/Source/WebCore/dom/Document.cpp b/Source/WebCore/dom/Document.cpp
index 9e5f2c3..9d89433 100644
--- a/Source/WebCore/dom/Document.cpp
+++ b/Source/WebCore/dom/Document.cpp
@@ -5087,7 +5087,7 @@
// To achieve that aim, remove all the elements from the top document's stack except for the first before
// calling webkitExitFullscreen():
- Vector<RefPtr<Element> > replacementFullscreenElementStack;
+ Vector<RefPtr<Element>> replacementFullscreenElementStack;
replacementFullscreenElementStack.append(topDocument()->webkitFullscreenElement());
topDocument()->m_fullScreenElementStack.swap(replacementFullscreenElementStack);
@@ -5108,7 +5108,7 @@
// 3. Let descendants be all the doc's descendant browsing context's documents with a non-empty fullscreen
// element stack (if any), ordered so that the child of the doc is last and the document furthest
// away from the doc is first.
- Deque<RefPtr<Document> > descendants;
+ Deque<RefPtr<Document>> descendants;
for (Frame* descendant = frame() ? frame()->tree().traverseNext() : nullptr; descendant; descendant = descendant->tree().traverseNext()) {
if (descendant->document()->webkitFullscreenElement())
descendants.prepend(descendant->document());
@@ -5116,7 +5116,7 @@
// 4. For each descendant in descendants, empty descendant's fullscreen element stack, and queue a
// task to fire an event named fullscreenchange with its bubbles attribute set to true on descendant.
- for (Deque<RefPtr<Document> >::iterator i = descendants.begin(); i != descendants.end(); ++i) {
+ for (Deque<RefPtr<Document>>::iterator i = descendants.begin(); i != descendants.end(); ++i) {
(*i)->clearFullscreenElementStack();
addDocumentToFullScreenChangeEventQueue(i->get());
}
@@ -5304,9 +5304,9 @@
// document will be detached and GC'd. We protect it here to make sure we
// can finish the function successfully.
Ref<Document> protect(*this);
- Deque<RefPtr<Node> > changeQueue;
+ Deque<RefPtr<Node>> changeQueue;
m_fullScreenChangeEventTargetQueue.swap(changeQueue);
- Deque<RefPtr<Node> > errorQueue;
+ Deque<RefPtr<Node>> errorQueue;
m_fullScreenErrorEventTargetQueue.swap(errorQueue);
dispatchFullScreenChangeOrErrorEvent(changeQueue, eventNames().webkitfullscreenchangeEvent, /* shouldNotifyMediaElement */ true);
dispatchFullScreenChangeOrErrorEvent(errorQueue, eventNames().webkitfullscreenerrorEvent, /* shouldNotifyMediaElement */ false);
@@ -5940,7 +5940,7 @@
if (!frame() || !frame()->page())
return;
- Vector<RefPtr<Element> > associatedFormControls;
+ Vector<RefPtr<Element>> associatedFormControls;
copyToVector(m_associatedFormControls, associatedFormControls);
frame()->page()->chrome().client().didAssociateFormControls(associatedFormControls);
diff --git a/Source/WebCore/dom/Document.h b/Source/WebCore/dom/Document.h
index 5d47165..30f8cc2 100644
--- a/Source/WebCore/dom/Document.h
+++ b/Source/WebCore/dom/Document.h
@@ -1426,7 +1426,7 @@
bool m_annotatedRegionsDirty;
#endif
- HashMap<String, RefPtr<HTMLCanvasElement> > m_cssCanvasElements;
+ HashMap<String, RefPtr<HTMLCanvasElement>> m_cssCanvasElements;
bool m_createRenderers;
bool m_inPageCache;
@@ -1464,7 +1464,7 @@
#if ENABLE(FULLSCREEN_API)
bool m_areKeysEnabledInFullScreen;
RefPtr<Element> m_fullScreenElement;
- Vector<RefPtr<Element> > m_fullScreenElementStack;
+ Vector<RefPtr<Element>> m_fullScreenElementStack;
RenderFullScreen* m_fullScreenRenderer;
Timer<Document> m_fullScreenChangeDelayTimer;
Deque<RefPtr<Node>> m_fullScreenChangeEventTargetQueue;
@@ -1505,7 +1505,7 @@
#endif
Timer<Document> m_pendingTasksTimer;
- Vector<OwnPtr<Task> > m_pendingTasks;
+ Vector<OwnPtr<Task>> m_pendingTasks;
#if ENABLE(IOS_TEXT_AUTOSIZING)
public:
@@ -1542,7 +1542,7 @@
bool m_didDispatchViewportPropertiesChanged;
#endif
- typedef HashMap<AtomicString, OwnPtr<Locale> > LocaleIdentifierToLocaleMap;
+ typedef HashMap<AtomicString, OwnPtr<Locale>> LocaleIdentifierToLocaleMap;
LocaleIdentifierToLocaleMap m_localeCache;
#if ENABLE(TEMPLATE_ELEMENT)
@@ -1555,7 +1555,7 @@
#endif
Timer<Document> m_didAssociateFormControlsTimer;
- HashSet<RefPtr<Element> > m_associatedFormControls;
+ HashSet<RefPtr<Element>> m_associatedFormControls;
bool m_hasInjectedPlugInsScript;
bool m_renderTreeBeingDestroyed;
diff --git a/Source/WebCore/dom/DocumentMarkerController.cpp b/Source/WebCore/dom/DocumentMarkerController.cpp
index 5f98ace..01d3e36 100644
--- a/Source/WebCore/dom/DocumentMarkerController.cpp
+++ b/Source/WebCore/dom/DocumentMarkerController.cpp
@@ -412,7 +412,7 @@
return;
ASSERT(!m_markers.isEmpty());
- Vector<RefPtr<Node> > nodesWithMarkers;
+ Vector<RefPtr<Node>> nodesWithMarkers;
copyKeysToVector(m_markers, nodesWithMarkers);
unsigned size = nodesWithMarkers.size();
for (unsigned i = 0; i < size; ++i) {
diff --git a/Source/WebCore/dom/DocumentMarkerController.h b/Source/WebCore/dom/DocumentMarkerController.h
index 80b98d9..924ebbb 100644
--- a/Source/WebCore/dom/DocumentMarkerController.h
+++ b/Source/WebCore/dom/DocumentMarkerController.h
@@ -91,7 +91,7 @@
void addMarker(Node*, const DocumentMarker&);
typedef Vector<RenderedDocumentMarker> MarkerList;
- typedef HashMap<RefPtr<Node>, OwnPtr<MarkerList> > MarkerMap;
+ typedef HashMap<RefPtr<Node>, OwnPtr<MarkerList>> MarkerMap;
bool possiblyHasMarkers(DocumentMarker::MarkerTypes);
void removeMarkersFromList(MarkerMap::iterator, DocumentMarker::MarkerTypes);
diff --git a/Source/WebCore/dom/DocumentStyleSheetCollection.cpp b/Source/WebCore/dom/DocumentStyleSheetCollection.cpp
index f965244..204acb4 100644
--- a/Source/WebCore/dom/DocumentStyleSheetCollection.cpp
+++ b/Source/WebCore/dom/DocumentStyleSheetCollection.cpp
@@ -119,13 +119,13 @@
m_document.styleResolverChanged(RecalcStyleImmediately);
}
-const Vector<RefPtr<CSSStyleSheet> >& DocumentStyleSheetCollection::injectedUserStyleSheets() const
+const Vector<RefPtr<CSSStyleSheet>>& DocumentStyleSheetCollection::injectedUserStyleSheets() const
{
updateInjectedStyleSheetCache();
return m_injectedUserStyleSheets;
}
-const Vector<RefPtr<CSSStyleSheet> >& DocumentStyleSheetCollection::injectedAuthorStyleSheets() const
+const Vector<RefPtr<CSSStyleSheet>>& DocumentStyleSheetCollection::injectedAuthorStyleSheets() const
{
updateInjectedStyleSheetCache();
return m_injectedAuthorStyleSheets;
@@ -255,7 +255,7 @@
m_styleSheetCandidateNodes.remove(&node);
}
-void DocumentStyleSheetCollection::collectActiveStyleSheets(Vector<RefPtr<StyleSheet> >& sheets)
+void DocumentStyleSheetCollection::collectActiveStyleSheets(Vector<RefPtr<StyleSheet>>& sheets)
{
if (m_document.settings() && !m_document.settings()->authorAndUserStylesEnabled())
return;
@@ -348,7 +348,7 @@
}
}
-void DocumentStyleSheetCollection::analyzeStyleSheetChange(UpdateFlag updateFlag, const Vector<RefPtr<CSSStyleSheet> >& newStylesheets, StyleResolverUpdateType& styleResolverUpdateType, bool& requiresFullStyleRecalc)
+void DocumentStyleSheetCollection::analyzeStyleSheetChange(UpdateFlag updateFlag, const Vector<RefPtr<CSSStyleSheet>>& newStylesheets, StyleResolverUpdateType& styleResolverUpdateType, bool& requiresFullStyleRecalc)
{
styleResolverUpdateType = Reconstruct;
requiresFullStyleRecalc = true;
@@ -407,7 +407,7 @@
requiresFullStyleRecalc = false;
}
-static bool styleSheetsUseRemUnits(const Vector<RefPtr<CSSStyleSheet> >& sheets)
+static bool styleSheetsUseRemUnits(const Vector<RefPtr<CSSStyleSheet>>& sheets)
{
for (unsigned i = 0; i < sheets.size(); ++i) {
if (sheets[i]->contents()->usesRemUnits())
@@ -416,7 +416,7 @@
return false;
}
-static void filterEnabledNonemptyCSSStyleSheets(Vector<RefPtr<CSSStyleSheet> >& result, const Vector<RefPtr<StyleSheet> >& sheets)
+static void filterEnabledNonemptyCSSStyleSheets(Vector<RefPtr<CSSStyleSheet>>& result, const Vector<RefPtr<StyleSheet>>& sheets)
{
for (unsigned i = 0; i < sheets.size(); ++i) {
if (!sheets[i]->isCSSStyleSheet())
@@ -430,7 +430,7 @@
}
}
-static void collectActiveCSSStyleSheetsFromSeamlessParents(Vector<RefPtr<CSSStyleSheet> >& sheets, Document& document)
+static void collectActiveCSSStyleSheetsFromSeamlessParents(Vector<RefPtr<CSSStyleSheet>>& sheets, Document& document)
{
HTMLIFrameElement* seamlessParentIFrame = document.seamlessParentIFrame();
if (!seamlessParentIFrame)
@@ -452,10 +452,10 @@
if (!m_document.renderView() || !m_document.attached())
return false;
- Vector<RefPtr<StyleSheet> > activeStyleSheets;
+ Vector<RefPtr<StyleSheet>> activeStyleSheets;
collectActiveStyleSheets(activeStyleSheets);
- Vector<RefPtr<CSSStyleSheet> > activeCSSStyleSheets;
+ Vector<RefPtr<CSSStyleSheet>> activeCSSStyleSheets;
activeCSSStyleSheets.appendVector(injectedAuthorStyleSheets());
activeCSSStyleSheets.appendVector(documentAuthorStyleSheets());
collectActiveCSSStyleSheetsFromSeamlessParents(activeCSSStyleSheets, m_document);
diff --git a/Source/WebCore/dom/DocumentStyleSheetCollection.h b/Source/WebCore/dom/DocumentStyleSheetCollection.h
index 3022ece..5ec6a7b 100644
--- a/Source/WebCore/dom/DocumentStyleSheetCollection.h
+++ b/Source/WebCore/dom/DocumentStyleSheetCollection.h
@@ -118,18 +118,18 @@
void detachFromDocument();
private:
- void collectActiveStyleSheets(Vector<RefPtr<StyleSheet> >&);
+ void collectActiveStyleSheets(Vector<RefPtr<StyleSheet>>&);
enum StyleResolverUpdateType {
Reconstruct,
Reset,
Additive
};
- void analyzeStyleSheetChange(UpdateFlag, const Vector<RefPtr<CSSStyleSheet> >& newStylesheets, StyleResolverUpdateType&, bool& requiresFullStyleRecalc);
+ void analyzeStyleSheetChange(UpdateFlag, const Vector<RefPtr<CSSStyleSheet>>& newStylesheets, StyleResolverUpdateType&, bool& requiresFullStyleRecalc);
Document& m_document;
- Vector<RefPtr<StyleSheet> > m_styleSheetsForStyleSheetList;
- Vector<RefPtr<CSSStyleSheet> > m_activeAuthorStyleSheets;
+ Vector<RefPtr<StyleSheet>> m_styleSheetsForStyleSheetList;
+ Vector<RefPtr<CSSStyleSheet>> m_activeAuthorStyleSheets;
// This is a mirror of m_activeAuthorStyleSheets that gets populated on demand for activeStyleSheetsContains().
mutable OwnPtr<HashSet<const CSSStyleSheet*>> m_weakCopyOfActiveStyleSheetListForFastLookup;
diff --git a/Source/WebCore/dom/Element.cpp b/Source/WebCore/dom/Element.cpp
index dc34306..661fd39 100644
--- a/Source/WebCore/dom/Element.cpp
+++ b/Source/WebCore/dom/Element.cpp
@@ -111,8 +111,8 @@
return element.isHTMLElement() && element.document().isHTMLDocument();
}
-typedef Vector<RefPtr<Attr> > AttrNodeList;
-typedef HashMap<Element*, OwnPtr<AttrNodeList> > AttrNodeListMap;
+typedef Vector<RefPtr<Attr>> AttrNodeList;
+typedef HashMap<Element*, OwnPtr<AttrNodeList>> AttrNodeListMap;
static AttrNodeListMap& attrNodeListMap()
{
@@ -1769,7 +1769,7 @@
}
#endif
-const Vector<RefPtr<Attr> >& Element::attrNodeList()
+const Vector<RefPtr<Attr>>& Element::attrNodeList()
{
ASSERT(hasSyntheticAttrChildNodes());
return *attrNodeListForElement(this);
@@ -2759,11 +2759,11 @@
return undefinedState;
}
-Vector<RefPtr<Range> > Element::webkitGetRegionFlowRanges() const
+Vector<RefPtr<Range>> Element::webkitGetRegionFlowRanges() const
{
document().updateLayoutIgnorePendingStylesheets();
- Vector<RefPtr<Range> > rangeObjects;
+ Vector<RefPtr<Range>> rangeObjects;
if (document().cssRegionsEnabled() && renderer() && renderer()->isRenderNamedFlowFragmentContainer()) {
RenderNamedFlowFragment* region = toRenderBlockFlow(renderer())->renderNamedFlowFragment();
if (region->isValid())
diff --git a/Source/WebCore/dom/Element.h b/Source/WebCore/dom/Element.h
index e45cb04..1be0037 100644
--- a/Source/WebCore/dom/Element.h
+++ b/Source/WebCore/dom/Element.h
@@ -236,7 +236,7 @@
PassRefPtr<Attr> attrIfExists(const QualifiedName&);
PassRefPtr<Attr> ensureAttr(const QualifiedName&);
- const Vector<RefPtr<Attr> >& attrNodeList();
+ const Vector<RefPtr<Attr>>& attrNodeList();
virtual CSSStyleDeclaration* style();
@@ -523,7 +523,7 @@
virtual bool shouldMoveToFlowThread(const RenderStyle&) const;
const AtomicString& webkitRegionOverset() const;
- Vector<RefPtr<Range> > webkitGetRegionFlowRanges() const;
+ Vector<RefPtr<Range>> webkitGetRegionFlowRanges() const;
#endif
bool hasID() const;
diff --git a/Source/WebCore/dom/EventListenerMap.h b/Source/WebCore/dom/EventListenerMap.h
index 80a51cf..03a1db4 100644
--- a/Source/WebCore/dom/EventListenerMap.h
+++ b/Source/WebCore/dom/EventListenerMap.h
@@ -68,7 +68,7 @@
void assertNoActiveIterators();
- Vector<std::pair<AtomicString, OwnPtr<EventListenerVector> >, 2> m_entries;
+ Vector<std::pair<AtomicString, OwnPtr<EventListenerVector>>, 2> m_entries;
#ifndef NDEBUG
int m_activeIteratorCount;
diff --git a/Source/WebCore/dom/EventSender.h b/Source/WebCore/dom/EventSender.h
index 646034c..829250b 100644
--- a/Source/WebCore/dom/EventSender.h
+++ b/Source/WebCore/dom/EventSender.h
@@ -49,10 +49,10 @@
#endif
private:
- void timerFired(Timer<EventSender<T> >*) { dispatchPendingEvents(); }
+ void timerFired(Timer<EventSender<T>>*) { dispatchPendingEvents(); }
AtomicString m_eventType;
- Timer<EventSender<T> > m_timer;
+ Timer<EventSender<T>> m_timer;
Vector<T*> m_dispatchSoonList;
Vector<T*> m_dispatchingList;
};
diff --git a/Source/WebCore/dom/IdTargetObserverRegistry.h b/Source/WebCore/dom/IdTargetObserverRegistry.h
index ba74a2b..29c40f7 100644
--- a/Source/WebCore/dom/IdTargetObserverRegistry.h
+++ b/Source/WebCore/dom/IdTargetObserverRegistry.h
@@ -51,7 +51,7 @@
void notifyObserversInternal(const AtomicStringImpl& id);
typedef HashSet<IdTargetObserver*> ObserverSet;
- typedef HashMap<const AtomicStringImpl*, OwnPtr<ObserverSet> > IdToObserverSetMap;
+ typedef HashMap<const AtomicStringImpl*, OwnPtr<ObserverSet>> IdToObserverSetMap;
IdToObserverSetMap m_registry;
ObserverSet* m_notifyingObserversInSet;
};
diff --git a/Source/WebCore/dom/MutationCallback.h b/Source/WebCore/dom/MutationCallback.h
index a60ce8b..e698a59 100644
--- a/Source/WebCore/dom/MutationCallback.h
+++ b/Source/WebCore/dom/MutationCallback.h
@@ -44,7 +44,7 @@
public:
virtual ~MutationCallback() { }
- virtual void call(const Vector<RefPtr<MutationRecord> >&, MutationObserver*) = 0;
+ virtual void call(const Vector<RefPtr<MutationRecord>>&, MutationObserver*) = 0;
virtual ScriptExecutionContext* scriptExecutionContext() const = 0;
};
diff --git a/Source/WebCore/dom/MutationObserver.cpp b/Source/WebCore/dom/MutationObserver.cpp
index 1ff26b1..663581e 100644
--- a/Source/WebCore/dom/MutationObserver.cpp
+++ b/Source/WebCore/dom/MutationObserver.cpp
@@ -110,9 +110,9 @@
node->registerMutationObserver(this, options, attributeFilter);
}
-Vector<RefPtr<MutationRecord> > MutationObserver::takeRecords()
+Vector<RefPtr<MutationRecord>> MutationObserver::takeRecords()
{
- Vector<RefPtr<MutationRecord> > records;
+ Vector<RefPtr<MutationRecord>> records;
records.swap(m_records);
return records;
}
@@ -137,7 +137,7 @@
m_registrations.remove(registration);
}
-typedef HashSet<RefPtr<MutationObserver> > MutationObserverSet;
+typedef HashSet<RefPtr<MutationObserver>> MutationObserverSet;
static MutationObserverSet& activeMutationObservers()
{
@@ -194,7 +194,7 @@
if (m_records.isEmpty())
return;
- Vector<RefPtr<MutationRecord> > records;
+ Vector<RefPtr<MutationRecord>> records;
records.swap(m_records);
m_callback->call(records, this);
@@ -209,7 +209,7 @@
deliveryInProgress = true;
if (!suspendedMutationObservers().isEmpty()) {
- Vector<RefPtr<MutationObserver> > suspended;
+ Vector<RefPtr<MutationObserver>> suspended;
copyToVector(suspendedMutationObservers(), suspended);
for (size_t i = 0; i < suspended.size(); ++i) {
if (!suspended[i]->canDeliver())
@@ -221,7 +221,7 @@
}
while (!activeMutationObservers().isEmpty()) {
- Vector<RefPtr<MutationObserver> > observers;
+ Vector<RefPtr<MutationObserver>> observers;
copyToVector(activeMutationObservers(), observers);
activeMutationObservers().clear();
std::sort(observers.begin(), observers.end(), [](const RefPtr<MutationObserver>& lhs, const RefPtr<MutationObserver>& rhs) {
diff --git a/Source/WebCore/dom/MutationObserver.h b/Source/WebCore/dom/MutationObserver.h
index 6d31277..d35294a 100644
--- a/Source/WebCore/dom/MutationObserver.h
+++ b/Source/WebCore/dom/MutationObserver.h
@@ -78,7 +78,7 @@
~MutationObserver();
void observe(Node*, const Dictionary&, ExceptionCode&);
- Vector<RefPtr<MutationRecord> > takeRecords();
+ Vector<RefPtr<MutationRecord>> takeRecords();
void disconnect();
void observationStarted(MutationObserverRegistration*);
void observationEnded(MutationObserverRegistration*);
@@ -97,7 +97,7 @@
static bool validateOptions(MutationObserverOptions);
RefPtr<MutationCallback> m_callback;
- Vector<RefPtr<MutationRecord> > m_records;
+ Vector<RefPtr<MutationRecord>> m_records;
HashSet<MutationObserverRegistration*> m_registrations;
unsigned m_priority;
};
diff --git a/Source/WebCore/dom/MutationObserverRegistration.h b/Source/WebCore/dom/MutationObserverRegistration.h
index 5a14a59..5af6c35 100644
--- a/Source/WebCore/dom/MutationObserverRegistration.h
+++ b/Source/WebCore/dom/MutationObserverRegistration.h
@@ -66,7 +66,7 @@
RefPtr<MutationObserver> m_observer;
Node* m_registrationNode;
RefPtr<Node> m_registrationNodeKeepAlive;
- typedef HashSet<RefPtr<Node> > NodeHashSet;
+ typedef HashSet<RefPtr<Node>> NodeHashSet;
OwnPtr<NodeHashSet> m_transientRegistrationNodes;
MutationObserverOptions m_options;
diff --git a/Source/WebCore/dom/NamedFlowCollection.cpp b/Source/WebCore/dom/NamedFlowCollection.cpp
index f9c073d..289b9a8 100644
--- a/Source/WebCore/dom/NamedFlowCollection.cpp
+++ b/Source/WebCore/dom/NamedFlowCollection.cpp
@@ -45,9 +45,9 @@
{
}
-Vector<RefPtr<WebKitNamedFlow> > NamedFlowCollection::namedFlows()
+Vector<RefPtr<WebKitNamedFlow>> NamedFlowCollection::namedFlows()
{
- Vector<RefPtr<WebKitNamedFlow> > namedFlows;
+ Vector<RefPtr<WebKitNamedFlow>> namedFlows;
for (NamedFlowSet::iterator it = m_namedFlows.begin(); it != m_namedFlows.end(); ++it) {
if ((*it)->flowState() == WebKitNamedFlow::FlowStateNull)
diff --git a/Source/WebCore/dom/NamedFlowCollection.h b/Source/WebCore/dom/NamedFlowCollection.h
index b02404c..0bb0649 100644
--- a/Source/WebCore/dom/NamedFlowCollection.h
+++ b/Source/WebCore/dom/NamedFlowCollection.h
@@ -47,7 +47,7 @@
public:
static PassRefPtr<NamedFlowCollection> create(Document* doc) { return adoptRef(new NamedFlowCollection(doc)); }
- Vector<RefPtr<WebKitNamedFlow> > namedFlows();
+ Vector<RefPtr<WebKitNamedFlow>> namedFlows();
WebKitNamedFlow* flowByName(const String&);
PassRefPtr<WebKitNamedFlow> ensureFlowWithName(const String&);
diff --git a/Source/WebCore/dom/Node.cpp b/Source/WebCore/dom/Node.cpp
index ff3b392..50c8237 100644
--- a/Source/WebCore/dom/Node.cpp
+++ b/Source/WebCore/dom/Node.cpp
@@ -1820,7 +1820,7 @@
}
}
- if (Vector<OwnPtr<MutationObserverRegistration> >* registry = mutationObserverRegistry()) {
+ if (Vector<OwnPtr<MutationObserverRegistration>>* registry = mutationObserverRegistry()) {
for (size_t i = 0; i < registry->size(); ++i) {
document().addMutationObserverTypes(registry->at(i)->mutationTypes());
}
@@ -1872,7 +1872,7 @@
return tryRemoveEventListener(this, eventType, listener, useCapture);
}
-typedef HashMap<Node*, OwnPtr<EventTargetData> > EventTargetDataMap;
+typedef HashMap<Node*, OwnPtr<EventTargetData>> EventTargetDataMap;
static EventTargetDataMap& eventTargetDataMap()
{
@@ -1900,7 +1900,7 @@
eventTargetDataMap().remove(this);
}
-Vector<OwnPtr<MutationObserverRegistration> >* Node::mutationObserverRegistry()
+Vector<OwnPtr<MutationObserverRegistration>>* Node::mutationObserverRegistry()
{
if (!hasRareData())
return 0;
@@ -1950,7 +1950,7 @@
void Node::registerMutationObserver(MutationObserver* observer, MutationObserverOptions options, const HashSet<AtomicString>& attributeFilter)
{
MutationObserverRegistration* registration = 0;
- Vector<OwnPtr<MutationObserverRegistration> >& registry = ensureRareData().ensureMutationObserverData().registry;
+ Vector<OwnPtr<MutationObserverRegistration>>& registry = ensureRareData().ensureMutationObserverData().registry;
for (size_t i = 0; i < registry.size(); ++i) {
if (registry[i]->observer() == observer) {
registration = registry[i].get();
@@ -1968,7 +1968,7 @@
void Node::unregisterMutationObserver(MutationObserverRegistration* registration)
{
- Vector<OwnPtr<MutationObserverRegistration> >* registry = mutationObserverRegistry();
+ Vector<OwnPtr<MutationObserverRegistration>>* registry = mutationObserverRegistry();
ASSERT(registry);
if (!registry)
return;
@@ -2003,7 +2003,7 @@
return;
for (Node* node = parentNode(); node; node = node->parentNode()) {
- if (Vector<OwnPtr<MutationObserverRegistration> >* registry = node->mutationObserverRegistry()) {
+ if (Vector<OwnPtr<MutationObserverRegistration>>* registry = node->mutationObserverRegistry()) {
const size_t size = registry->size();
for (size_t i = 0; i < size; ++i)
registry->at(i)->observedSubtreeNodeWillDetach(this);
diff --git a/Source/WebCore/dom/Node.h b/Source/WebCore/dom/Node.h
index aa5fd07c..daa0d9b 100644
--- a/Source/WebCore/dom/Node.h
+++ b/Source/WebCore/dom/Node.h
@@ -672,7 +672,7 @@
void trackForDebugging();
- Vector<OwnPtr<MutationObserverRegistration> >* mutationObserverRegistry();
+ Vector<OwnPtr<MutationObserverRegistration>>* mutationObserverRegistry();
HashSet<MutationObserverRegistration*>* transientMutationObserverRegistry();
mutable uint32_t m_nodeFlags;
diff --git a/Source/WebCore/dom/NodeRareData.h b/Source/WebCore/dom/NodeRareData.h
index 259eefe..afc76fe 100644
--- a/Source/WebCore/dom/NodeRareData.h
+++ b/Source/WebCore/dom/NodeRareData.h
@@ -82,8 +82,8 @@
static const bool safeToCompareToEmptyOrDeleted = DefaultHash<StringType>::Hash::safeToCompareToEmptyOrDeleted;
};
- typedef HashMap<std::pair<unsigned char, AtomicString>, LiveNodeListBase*, NodeListCacheMapEntryHash<AtomicString> > NodeListAtomicNameCacheMap;
- typedef HashMap<std::pair<unsigned char, String>, LiveNodeListBase*, NodeListCacheMapEntryHash<String> > NodeListNameCacheMap;
+ typedef HashMap<std::pair<unsigned char, AtomicString>, LiveNodeListBase*, NodeListCacheMapEntryHash<AtomicString>> NodeListAtomicNameCacheMap;
+ typedef HashMap<std::pair<unsigned char, String>, LiveNodeListBase*, NodeListCacheMapEntryHash<String>> NodeListNameCacheMap;
typedef HashMap<QualifiedName, TagNodeList*> TagNodeListCacheNS;
template<typename T>
@@ -239,7 +239,7 @@
class NodeMutationObserverData {
WTF_MAKE_NONCOPYABLE(NodeMutationObserverData); WTF_MAKE_FAST_ALLOCATED;
public:
- Vector<OwnPtr<MutationObserverRegistration> > registry;
+ Vector<OwnPtr<MutationObserverRegistration>> registry;
HashSet<MutationObserverRegistration*> transientRegistry;
static PassOwnPtr<NodeMutationObserverData> create() { return adoptPtr(new NodeMutationObserverData); }
diff --git a/Source/WebCore/dom/Range.cpp b/Source/WebCore/dom/Range.cpp
index 59a0662..6aef7ea 100644
--- a/Source/WebCore/dom/Range.cpp
+++ b/Source/WebCore/dom/Range.cpp
@@ -670,7 +670,7 @@
PassRefPtr<DocumentFragment> Range::processContents(ActionType action, ExceptionCode& ec)
{
- typedef Vector<RefPtr<Node> > NodeVector;
+ typedef Vector<RefPtr<Node>> NodeVector;
RefPtr<DocumentFragment> fragment;
if (action == Extract || action == Clone)
@@ -851,7 +851,7 @@
return result.release();
}
-void Range::processNodes(ActionType action, Vector<RefPtr<Node> >& nodes, PassRefPtr<Node> oldContainer, PassRefPtr<Node> newContainer, ExceptionCode& ec)
+void Range::processNodes(ActionType action, Vector<RefPtr<Node>>& nodes, PassRefPtr<Node> oldContainer, PassRefPtr<Node> newContainer, ExceptionCode& ec)
{
for (unsigned i = 0; i < nodes.size(); i++) {
switch (action) {
@@ -870,15 +870,15 @@
PassRefPtr<Node> Range::processAncestorsAndTheirSiblings(ActionType action, Node* container, ContentsProcessDirection direction, PassRefPtr<Node> passedClonedContainer, Node* commonRoot, ExceptionCode& ec)
{
- typedef Vector<RefPtr<Node> > NodeVector;
+ typedef Vector<RefPtr<Node>> NodeVector;
RefPtr<Node> clonedContainer = passedClonedContainer;
- Vector<RefPtr<Node> > ancestors;
+ Vector<RefPtr<Node>> ancestors;
for (ContainerNode* n = container->parentNode(); n && n != commonRoot; n = n->parentNode())
ancestors.append(n);
RefPtr<Node> firstChildInAncestorToProcess = direction == ProcessContentsForward ? container->nextSibling() : container->previousSibling();
- for (Vector<RefPtr<Node> >::const_iterator it = ancestors.begin(); it != ancestors.end(); ++it) {
+ for (Vector<RefPtr<Node>>::const_iterator it = ancestors.begin(); it != ancestors.end(); ++it) {
RefPtr<Node> ancestor = *it;
if (action == Extract || action == Clone) {
if (RefPtr<Node> clonedAncestor = ancestor->cloneNode(false)) { // Might have been removed already during mutation event.
diff --git a/Source/WebCore/dom/Range.h b/Source/WebCore/dom/Range.h
index 5d7bf31..8b778fa 100644
--- a/Source/WebCore/dom/Range.h
+++ b/Source/WebCore/dom/Range.h
@@ -165,7 +165,7 @@
enum ActionType { Delete, Extract, Clone };
PassRefPtr<DocumentFragment> processContents(ActionType, ExceptionCode&);
static PassRefPtr<Node> processContentsBetweenOffsets(ActionType, PassRefPtr<DocumentFragment>, Node*, unsigned startOffset, unsigned endOffset, ExceptionCode&);
- static void processNodes(ActionType, Vector<RefPtr<Node> >&, PassRefPtr<Node> oldContainer, PassRefPtr<Node> newContainer, ExceptionCode&);
+ static void processNodes(ActionType, Vector<RefPtr<Node>>&, PassRefPtr<Node> oldContainer, PassRefPtr<Node> newContainer, ExceptionCode&);
enum ContentsProcessDirection { ProcessContentsForward, ProcessContentsBackward };
static PassRefPtr<Node> processAncestorsAndTheirSiblings(ActionType, Node* container, ContentsProcessDirection, PassRefPtr<Node> clonedContainer, Node* commonRoot, ExceptionCode&);
diff --git a/Source/WebCore/dom/ScopedEventQueue.h b/Source/WebCore/dom/ScopedEventQueue.h
index 021238b..ee63e9c 100644
--- a/Source/WebCore/dom/ScopedEventQueue.h
+++ b/Source/WebCore/dom/ScopedEventQueue.h
@@ -57,7 +57,7 @@
static void initialize();
void dispatchEvent(PassRefPtr<Event>) const;
- Vector<RefPtr<Event> > m_queuedEvents;
+ Vector<RefPtr<Event>> m_queuedEvents;
unsigned m_scopingLevel;
static ScopedEventQueue* s_instance;
diff --git a/Source/WebCore/dom/ScriptExecutionContext.cpp b/Source/WebCore/dom/ScriptExecutionContext.cpp
index f748ac9..c9020fe 100644
--- a/Source/WebCore/dom/ScriptExecutionContext.cpp
+++ b/Source/WebCore/dom/ScriptExecutionContext.cpp
@@ -294,7 +294,7 @@
{
if (m_inDispatchErrorEvent) {
if (!m_pendingExceptions)
- m_pendingExceptions = adoptPtr(new Vector<OwnPtr<PendingException> >());
+ m_pendingExceptions = adoptPtr(new Vector<OwnPtr<PendingException>>());
m_pendingExceptions->append(adoptPtr(new PendingException(errorMessage, lineNumber, columnNumber, sourceURL, callStack)));
return;
}
diff --git a/Source/WebCore/dom/ScriptExecutionContext.h b/Source/WebCore/dom/ScriptExecutionContext.h
index 8748688..87b27dd 100644
--- a/Source/WebCore/dom/ScriptExecutionContext.h
+++ b/Source/WebCore/dom/ScriptExecutionContext.h
@@ -199,7 +199,7 @@
bool m_inDispatchErrorEvent;
class PendingException;
- OwnPtr<Vector<OwnPtr<PendingException> > > m_pendingExceptions;
+ OwnPtr<Vector<OwnPtr<PendingException>>> m_pendingExceptions;
bool m_activeDOMObjectsAreSuspended;
ActiveDOMObject::ReasonForSuspension m_reasonForSuspendingActiveDOMObjects;
diff --git a/Source/WebCore/dom/ScriptedAnimationController.h b/Source/WebCore/dom/ScriptedAnimationController.h
index 4e6a105..c2e3d72 100644
--- a/Source/WebCore/dom/ScriptedAnimationController.h
+++ b/Source/WebCore/dom/ScriptedAnimationController.h
@@ -72,7 +72,7 @@
private:
ScriptedAnimationController(Document*, PlatformDisplayID);
- typedef Vector<RefPtr<RequestAnimationFrameCallback> > CallbackList;
+ typedef Vector<RefPtr<RequestAnimationFrameCallback>> CallbackList;
CallbackList m_callbacks;
Document* m_document;
diff --git a/Source/WebCore/editing/ApplyStyleCommand.cpp b/Source/WebCore/editing/ApplyStyleCommand.cpp
index fa3f7b6..8c63925 100644
--- a/Source/WebCore/editing/ApplyStyleCommand.cpp
+++ b/Source/WebCore/editing/ApplyStyleCommand.cpp
@@ -379,7 +379,7 @@
startingFontSizes.set(node, computedFontSize(node));
// These spans were added by us. If empty after font size changes, they can be removed.
- Vector<RefPtr<HTMLElement> > unstyledSpans;
+ Vector<RefPtr<HTMLElement>> unstyledSpans;
Node* lastStyledNode = 0;
for (Node* node = startNode; node != beyondEnd; node = NodeTraversal::next(node)) {
diff --git a/Source/WebCore/editing/BreakBlockquoteCommand.cpp b/Source/WebCore/editing/BreakBlockquoteCommand.cpp
index 7b8a6c6..484bae3 100644
--- a/Source/WebCore/editing/BreakBlockquoteCommand.cpp
+++ b/Source/WebCore/editing/BreakBlockquoteCommand.cpp
@@ -127,7 +127,7 @@
}
// Build up list of ancestors in between the start node and the top blockquote.
- Vector<RefPtr<Element> > ancestors;
+ Vector<RefPtr<Element>> ancestors;
for (Element* node = startNode->parentElement(); node && node != topBlockquote; node = node->parentElement())
ancestors.append(node);
diff --git a/Source/WebCore/editing/CompositeEditCommand.cpp b/Source/WebCore/editing/CompositeEditCommand.cpp
index 33906d2..26ab24d 100644
--- a/Source/WebCore/editing/CompositeEditCommand.cpp
+++ b/Source/WebCore/editing/CompositeEditCommand.cpp
@@ -385,7 +385,7 @@
void CompositeEditCommand::removeChildrenInRange(PassRefPtr<Node> node, unsigned from, unsigned to)
{
- Vector<RefPtr<Node> > children;
+ Vector<RefPtr<Node>> children;
Node* child = node->childNode(from);
for (unsigned i = from; child && i < to; i++, child = child->nextSibling())
children.append(child);
@@ -816,7 +816,7 @@
if (comparePositions(start, end) >= 0)
return;
- Vector<RefPtr<Text> > nodes;
+ Vector<RefPtr<Text>> nodes;
for (Node* node = start.deprecatedNode(); node; node = NodeTraversal::next(node)) {
if (node->isTextNode())
nodes.append(toText(node));
@@ -999,7 +999,7 @@
}
if (start.deprecatedNode() != outerNode && lastNode->isElementNode()) {
- Vector<RefPtr<Node> > ancestors;
+ Vector<RefPtr<Node>> ancestors;
// Insert each node from innerNode to outerNode (excluded) in a list.
for (Node* n = start.deprecatedNode(); n && n != outerNode; n = n->parentNode())
diff --git a/Source/WebCore/editing/CompositeEditCommand.h b/Source/WebCore/editing/CompositeEditCommand.h
index 78dcf73..e2a4992 100644
--- a/Source/WebCore/editing/CompositeEditCommand.h
+++ b/Source/WebCore/editing/CompositeEditCommand.h
@@ -65,7 +65,7 @@
RefPtr<Document> m_document;
VisibleSelection m_startingSelection;
VisibleSelection m_endingSelection;
- Vector<RefPtr<SimpleEditCommand> > m_commands;
+ Vector<RefPtr<SimpleEditCommand>> m_commands;
RefPtr<Element> m_startingRootEditableElement;
RefPtr<Element> m_endingRootEditableElement;
EditAction m_editAction;
@@ -167,7 +167,7 @@
PassRefPtr<Node> splitTreeToNode(Node*, Node*, bool splitAncestor = false);
- Vector<RefPtr<EditCommand> > m_commands;
+ Vector<RefPtr<EditCommand>> m_commands;
private:
virtual bool isCompositeEditCommand() const OVERRIDE { return true; }
diff --git a/Source/WebCore/editing/EditingStyle.cpp b/Source/WebCore/editing/EditingStyle.cpp
index 175dc9d..0e8b7df 100644
--- a/Source/WebCore/editing/EditingStyle.cpp
+++ b/Source/WebCore/editing/EditingStyle.cpp
@@ -759,9 +759,9 @@
return conflictingProperties && !conflictingProperties->isEmpty();
}
-static const Vector<OwnPtr<HTMLElementEquivalent> >& htmlElementEquivalents()
+static const Vector<OwnPtr<HTMLElementEquivalent>>& htmlElementEquivalents()
{
- DEFINE_STATIC_LOCAL(Vector<OwnPtr<HTMLElementEquivalent> >, HTMLElementEquivalents, ());
+ DEFINE_STATIC_LOCAL(Vector<OwnPtr<HTMLElementEquivalent>>, HTMLElementEquivalents, ());
if (!HTMLElementEquivalents.size()) {
HTMLElementEquivalents.append(HTMLElementEquivalent::create(CSSPropertyFontWeight, CSSValueBold, HTMLNames::bTag));
@@ -785,7 +785,7 @@
if (!m_mutableStyle)
return false;
- const Vector<OwnPtr<HTMLElementEquivalent> >& HTMLElementEquivalents = htmlElementEquivalents();
+ const Vector<OwnPtr<HTMLElementEquivalent>>& HTMLElementEquivalents = htmlElementEquivalents();
for (size_t i = 0; i < HTMLElementEquivalents.size(); ++i) {
const HTMLElementEquivalent* equivalent = HTMLElementEquivalents[i].get();
if (equivalent->matches(element) && equivalent->propertyExistsInStyle(m_mutableStyle.get())
@@ -798,9 +798,9 @@
return false;
}
-static const Vector<OwnPtr<HTMLAttributeEquivalent> >& htmlAttributeEquivalents()
+static const Vector<OwnPtr<HTMLAttributeEquivalent>>& htmlAttributeEquivalents()
{
- DEFINE_STATIC_LOCAL(Vector<OwnPtr<HTMLAttributeEquivalent> >, HTMLAttributeEquivalents, ());
+ DEFINE_STATIC_LOCAL(Vector<OwnPtr<HTMLAttributeEquivalent>>, HTMLAttributeEquivalents, ());
if (!HTMLAttributeEquivalents.size()) {
// elementIsStyledSpanOrHTMLEquivalent depends on the fact each HTMLAttriuteEquivalent matches exactly one attribute
@@ -822,7 +822,7 @@
if (!m_mutableStyle)
return false;
- const Vector<OwnPtr<HTMLAttributeEquivalent> >& HTMLAttributeEquivalents = htmlAttributeEquivalents();
+ const Vector<OwnPtr<HTMLAttributeEquivalent>>& HTMLAttributeEquivalents = htmlAttributeEquivalents();
for (size_t i = 0; i < HTMLAttributeEquivalents.size(); ++i) {
if (HTMLAttributeEquivalents[i]->matches(element) && HTMLAttributeEquivalents[i]->propertyExistsInStyle(m_mutableStyle.get())
&& !HTMLAttributeEquivalents[i]->valueIsPresentInStyle(element, m_mutableStyle.get()))
@@ -841,7 +841,7 @@
if (!m_mutableStyle)
return false;
- const Vector<OwnPtr<HTMLAttributeEquivalent> >& HTMLAttributeEquivalents = htmlAttributeEquivalents();
+ const Vector<OwnPtr<HTMLAttributeEquivalent>>& HTMLAttributeEquivalents = htmlAttributeEquivalents();
bool removed = false;
for (size_t i = 0; i < HTMLAttributeEquivalents.size(); ++i) {
const HTMLAttributeEquivalent* equivalent = HTMLAttributeEquivalents[i].get();
@@ -877,7 +877,7 @@
if (element->hasTagName(HTMLNames::spanTag))
elementIsSpanOrElementEquivalent = true;
else {
- const Vector<OwnPtr<HTMLElementEquivalent> >& HTMLElementEquivalents = htmlElementEquivalents();
+ const Vector<OwnPtr<HTMLElementEquivalent>>& HTMLElementEquivalents = htmlElementEquivalents();
size_t i;
for (i = 0; i < HTMLElementEquivalents.size(); ++i) {
if (HTMLElementEquivalents[i]->matches(element)) {
@@ -891,7 +891,7 @@
return elementIsSpanOrElementEquivalent; // span, b, etc... without any attributes
unsigned matchedAttributes = 0;
- const Vector<OwnPtr<HTMLAttributeEquivalent> >& HTMLAttributeEquivalents = htmlAttributeEquivalents();
+ const Vector<OwnPtr<HTMLAttributeEquivalent>>& HTMLAttributeEquivalents = htmlAttributeEquivalents();
for (size_t i = 0; i < HTMLAttributeEquivalents.size(); ++i) {
if (HTMLAttributeEquivalents[i]->matches(element) && HTMLAttributeEquivalents[i]->attributeName() != HTMLNames::dirAttr)
matchedAttributes++;
@@ -1019,13 +1019,13 @@
styleFromRules->m_mutableStyle = extractEditingProperties(styleFromRules->m_mutableStyle.get(), propertiesToInclude);
mergeStyle(styleFromRules->m_mutableStyle.get(), mode);
- const Vector<OwnPtr<HTMLElementEquivalent> >& elementEquivalents = htmlElementEquivalents();
+ const Vector<OwnPtr<HTMLElementEquivalent>>& elementEquivalents = htmlElementEquivalents();
for (size_t i = 0; i < elementEquivalents.size(); ++i) {
if (elementMatchesAndPropertyIsNotInInlineStyleDecl(elementEquivalents[i].get(), element, mode, m_mutableStyle.get()))
elementEquivalents[i]->addToStyle(element, this);
}
- const Vector<OwnPtr<HTMLAttributeEquivalent> >& attributeEquivalents = htmlAttributeEquivalents();
+ const Vector<OwnPtr<HTMLAttributeEquivalent>>& attributeEquivalents = htmlAttributeEquivalents();
for (size_t i = 0; i < attributeEquivalents.size(); ++i) {
if (attributeEquivalents[i]->attributeName() == HTMLNames::dirAttr)
continue; // We don't want to include directionality
@@ -1113,7 +1113,7 @@
static PassRefPtr<MutableStylePropertySet> styleFromMatchedRulesForElement(Element* element, unsigned rulesToInclude)
{
RefPtr<MutableStylePropertySet> style = MutableStylePropertySet::create();
- Vector<RefPtr<StyleRuleBase> > matchedRules = element->document().ensureStyleResolver().styleRulesForElement(element, rulesToInclude);
+ Vector<RefPtr<StyleRuleBase>> matchedRules = element->document().ensureStyleResolver().styleRulesForElement(element, rulesToInclude);
for (unsigned i = 0; i < matchedRules.size(); ++i) {
if (matchedRules[i]->isStyleRule())
style->mergeAndOverrideOnConflict(static_pointer_cast<StyleRule>(matchedRules[i])->properties());
diff --git a/Source/WebCore/editing/Editor.cpp b/Source/WebCore/editing/Editor.cpp
index 0146216..ab136d6 100644
--- a/Source/WebCore/editing/Editor.cpp
+++ b/Source/WebCore/editing/Editor.cpp
@@ -2934,7 +2934,7 @@
return inRange;
}
-unsigned Editor::countMatchesForText(const String& target, Range* range, FindOptions options, unsigned limit, bool markMatches, Vector<RefPtr<Range> >* matches)
+unsigned Editor::countMatchesForText(const String& target, Range* range, FindOptions options, unsigned limit, bool markMatches, Vector<RefPtr<Range>>* matches)
{
if (target.isEmpty())
return 0;
diff --git a/Source/WebCore/editing/Editor.h b/Source/WebCore/editing/Editor.h
index 9667265..7170b41 100644
--- a/Source/WebCore/editing/Editor.h
+++ b/Source/WebCore/editing/Editor.h
@@ -340,7 +340,7 @@
void respondToChangedSelection(const VisibleSelection& oldSelection, FrameSelection::SetSelectionOptions);
bool shouldChangeSelection(const VisibleSelection& oldSelection, const VisibleSelection& newSelection, EAffinity, bool stillSelecting) const;
- unsigned countMatchesForText(const String&, Range*, FindOptions, unsigned limit, bool markMatches, Vector<RefPtr<Range> >*);
+ unsigned countMatchesForText(const String&, Range*, FindOptions, unsigned limit, bool markMatches, Vector<RefPtr<Range>>*);
bool markedTextMatchesAreHighlighted() const;
void setMarkedTextMatchesAreHighlighted(bool);
diff --git a/Source/WebCore/editing/InsertParagraphSeparatorCommand.cpp b/Source/WebCore/editing/InsertParagraphSeparatorCommand.cpp
index afdf58f..e4ed8cb 100644
--- a/Source/WebCore/editing/InsertParagraphSeparatorCommand.cpp
+++ b/Source/WebCore/editing/InsertParagraphSeparatorCommand.cpp
@@ -121,7 +121,7 @@
enclosingBlock->hasTagName(h5Tag);
}
-void InsertParagraphSeparatorCommand::getAncestorsInsideBlock(const Node* insertionNode, Element* outerBlock, Vector<RefPtr<Element> >& ancestors)
+void InsertParagraphSeparatorCommand::getAncestorsInsideBlock(const Node* insertionNode, Element* outerBlock, Vector<RefPtr<Element>>& ancestors)
{
ancestors.clear();
@@ -132,7 +132,7 @@
}
}
-PassRefPtr<Element> InsertParagraphSeparatorCommand::cloneHierarchyUnderNewBlock(const Vector<RefPtr<Element> >& ancestors, PassRefPtr<Element> blockToInsert)
+PassRefPtr<Element> InsertParagraphSeparatorCommand::cloneHierarchyUnderNewBlock(const Vector<RefPtr<Element>>& ancestors, PassRefPtr<Element> blockToInsert)
{
// Make clones of ancestors in between the start node and the start block.
RefPtr<Element> parent = blockToInsert;
@@ -241,7 +241,7 @@
// Recreate the same structure in the new paragraph.
- Vector<RefPtr<Element> > ancestors;
+ Vector<RefPtr<Element>> ancestors;
getAncestorsInsideBlock(positionOutsideTabSpan(insertionPosition).deprecatedNode(), startBlock.get(), ancestors);
RefPtr<Element> parent = cloneHierarchyUnderNewBlock(ancestors, blockToInsert);
@@ -280,7 +280,7 @@
// Recreate the same structure in the new paragraph.
- Vector<RefPtr<Element> > ancestors;
+ Vector<RefPtr<Element>> ancestors;
getAncestorsInsideBlock(positionAvoidingSpecialElementBoundary(positionOutsideTabSpan(insertionPosition)).deprecatedNode(), startBlock.get(), ancestors);
appendBlockPlaceholder(cloneHierarchyUnderNewBlock(ancestors, blockToInsert));
diff --git a/Source/WebCore/editing/InsertParagraphSeparatorCommand.h b/Source/WebCore/editing/InsertParagraphSeparatorCommand.h
index 80e7795..815176d 100644
--- a/Source/WebCore/editing/InsertParagraphSeparatorCommand.h
+++ b/Source/WebCore/editing/InsertParagraphSeparatorCommand.h
@@ -46,8 +46,8 @@
void calculateStyleBeforeInsertion(const Position&);
void applyStyleAfterInsertion(Node* originalEnclosingBlock);
- void getAncestorsInsideBlock(const Node* insertionNode, Element* outerBlock, Vector<RefPtr<Element> >& ancestors);
- PassRefPtr<Element> cloneHierarchyUnderNewBlock(const Vector<RefPtr<Element> >& ancestors, PassRefPtr<Element> blockToInsert);
+ void getAncestorsInsideBlock(const Node* insertionNode, Element* outerBlock, Vector<RefPtr<Element>>& ancestors);
+ PassRefPtr<Element> cloneHierarchyUnderNewBlock(const Vector<RefPtr<Element>>& ancestors, PassRefPtr<Element> blockToInsert);
bool shouldUseDefaultParagraphElement(Node*) const;
diff --git a/Source/WebCore/editing/MergeIdenticalElementsCommand.cpp b/Source/WebCore/editing/MergeIdenticalElementsCommand.cpp
index 18a1555..b168722 100644
--- a/Source/WebCore/editing/MergeIdenticalElementsCommand.cpp
+++ b/Source/WebCore/editing/MergeIdenticalElementsCommand.cpp
@@ -47,7 +47,7 @@
m_atChild = m_element2->firstChild();
- Vector<RefPtr<Node> > children;
+ Vector<RefPtr<Node>> children;
for (Node* child = m_element1->firstChild(); child; child = child->nextSibling())
children.append(child);
@@ -75,7 +75,7 @@
if (ec)
return;
- Vector<RefPtr<Node> > children;
+ Vector<RefPtr<Node>> children;
for (Node* child = m_element2->firstChild(); child && child != atChild; child = child->nextSibling())
children.append(child);
diff --git a/Source/WebCore/editing/RemoveNodePreservingChildrenCommand.cpp b/Source/WebCore/editing/RemoveNodePreservingChildrenCommand.cpp
index ca4fb7b..5735330 100644
--- a/Source/WebCore/editing/RemoveNodePreservingChildrenCommand.cpp
+++ b/Source/WebCore/editing/RemoveNodePreservingChildrenCommand.cpp
@@ -41,7 +41,7 @@
void RemoveNodePreservingChildrenCommand::doApply()
{
- Vector<RefPtr<Node> > children;
+ Vector<RefPtr<Node>> children;
for (Node* child = m_node->firstChild(); child; child = child->nextSibling())
children.append(child);
diff --git a/Source/WebCore/editing/ReplaceSelectionCommand.cpp b/Source/WebCore/editing/ReplaceSelectionCommand.cpp
index 0e2314d..75426cb 100644
--- a/Source/WebCore/editing/ReplaceSelectionCommand.cpp
+++ b/Source/WebCore/editing/ReplaceSelectionCommand.cpp
@@ -282,7 +282,7 @@
void ReplacementFragment::removeUnrenderedNodes(Node* holder)
{
- Vector<RefPtr<Node> > unrendered;
+ Vector<RefPtr<Node>> unrendered;
for (Node* node = holder->firstChild(); node; node = NodeTraversal::next(node, holder))
if (!isNodeRendered(node) && !isTableStructureNode(node))
diff --git a/Source/WebCore/editing/SimplifyMarkupCommand.cpp b/Source/WebCore/editing/SimplifyMarkupCommand.cpp
index 0392cf4..4106d8f 100644
--- a/Source/WebCore/editing/SimplifyMarkupCommand.cpp
+++ b/Source/WebCore/editing/SimplifyMarkupCommand.cpp
@@ -44,7 +44,7 @@
void SimplifyMarkupCommand::doApply()
{
Node* rootNode = m_firstNode->parentNode();
- Vector<RefPtr<Node> > nodesToRemove;
+ Vector<RefPtr<Node>> nodesToRemove;
document().updateLayoutIgnorePendingStylesheets();
@@ -100,7 +100,7 @@
}
}
-int SimplifyMarkupCommand::pruneSubsequentAncestorsToRemove(Vector<RefPtr<Node> >& nodesToRemove, size_t startNodeIndex)
+int SimplifyMarkupCommand::pruneSubsequentAncestorsToRemove(Vector<RefPtr<Node>>& nodesToRemove, size_t startNodeIndex)
{
size_t pastLastNodeToRemove = startNodeIndex + 1;
for (; pastLastNodeToRemove < nodesToRemove.size(); ++pastLastNodeToRemove) {
diff --git a/Source/WebCore/editing/SimplifyMarkupCommand.h b/Source/WebCore/editing/SimplifyMarkupCommand.h
index 7dcc150..f1c5dee 100644
--- a/Source/WebCore/editing/SimplifyMarkupCommand.h
+++ b/Source/WebCore/editing/SimplifyMarkupCommand.h
@@ -41,7 +41,7 @@
SimplifyMarkupCommand(Document&, Node* firstNode, Node* nodeAfterLast);
virtual void doApply();
- int pruneSubsequentAncestorsToRemove(Vector<RefPtr<Node> >& nodesToRemove, size_t startNodeIndex);
+ int pruneSubsequentAncestorsToRemove(Vector<RefPtr<Node>>& nodesToRemove, size_t startNodeIndex);
RefPtr<Node> m_firstNode;
RefPtr<Node> m_nodeAfterLast;
diff --git a/Source/WebCore/editing/SpellChecker.h b/Source/WebCore/editing/SpellChecker.h
index bda773d..a64b957 100644
--- a/Source/WebCore/editing/SpellChecker.h
+++ b/Source/WebCore/editing/SpellChecker.h
@@ -94,7 +94,7 @@
}
private:
- typedef Deque<RefPtr<SpellCheckRequest> > RequestQueue;
+ typedef Deque<RefPtr<SpellCheckRequest>> RequestQueue;
bool canCheckAsynchronously(Range*) const;
TextCheckerClient* client() const;
diff --git a/Source/WebCore/editing/SplitElementCommand.cpp b/Source/WebCore/editing/SplitElementCommand.cpp
index 96cc24a..e9cc53f 100644
--- a/Source/WebCore/editing/SplitElementCommand.cpp
+++ b/Source/WebCore/editing/SplitElementCommand.cpp
@@ -47,7 +47,7 @@
if (m_atChild->parentNode() != m_element2)
return;
- Vector<RefPtr<Node> > children;
+ Vector<RefPtr<Node>> children;
for (Node* node = m_element2->firstChild(); node != m_atChild; node = node->nextSibling())
children.append(node);
@@ -80,7 +80,7 @@
if (!m_element1 || !m_element1->rendererIsEditable() || !m_element2->rendererIsEditable())
return;
- Vector<RefPtr<Node> > children;
+ Vector<RefPtr<Node>> children;
for (Node* node = m_element1->firstChild(); node; node = node->nextSibling())
children.append(node);
diff --git a/Source/WebCore/editing/WrapContentsInDummySpanCommand.cpp b/Source/WebCore/editing/WrapContentsInDummySpanCommand.cpp
index 7a03b64..50af422 100644
--- a/Source/WebCore/editing/WrapContentsInDummySpanCommand.cpp
+++ b/Source/WebCore/editing/WrapContentsInDummySpanCommand.cpp
@@ -41,7 +41,7 @@
void WrapContentsInDummySpanCommand::executeApply()
{
- Vector<RefPtr<Node> > children;
+ Vector<RefPtr<Node>> children;
for (Node* child = m_element->firstChild(); child; child = child->nextSibling())
children.append(child);
@@ -66,7 +66,7 @@
if (!m_dummySpan || !m_element->rendererIsEditable())
return;
- Vector<RefPtr<Node> > children;
+ Vector<RefPtr<Node>> children;
for (Node* child = m_dummySpan->firstChild(); child; child = child->nextSibling())
children.append(child);
diff --git a/Source/WebCore/editing/mac/AlternativeTextUIController.h b/Source/WebCore/editing/mac/AlternativeTextUIController.h
index c11de480..99ef961 100644
--- a/Source/WebCore/editing/mac/AlternativeTextUIController.h
+++ b/Source/WebCore/editing/mac/AlternativeTextUIController.h
@@ -61,7 +61,7 @@
void removeAlternativesForContext(uint64_t context);
static const uint64_t invalidContext = 0;
private:
- typedef HashMap<uint64_t, RetainPtr<NSTextAlternatives> > HashMapType;
+ typedef HashMap<uint64_t, RetainPtr<NSTextAlternatives>> HashMapType;
HashMapType m_alternativesObjectMap;
};
diff --git a/Source/WebCore/fileapi/FileList.h b/Source/WebCore/fileapi/FileList.h
index ee8755d..1e982ee 100644
--- a/Source/WebCore/fileapi/FileList.h
+++ b/Source/WebCore/fileapi/FileList.h
@@ -53,7 +53,7 @@
private:
FileList();
- Vector<RefPtr<File> > m_files;
+ Vector<RefPtr<File>> m_files;
};
} // namespace WebCore
diff --git a/Source/WebCore/history/BackForwardList.h b/Source/WebCore/history/BackForwardList.h
index 292f532..b8785a6c 100644
--- a/Source/WebCore/history/BackForwardList.h
+++ b/Source/WebCore/history/BackForwardList.h
@@ -36,8 +36,8 @@
class Page;
-typedef Vector<RefPtr<HistoryItem> > HistoryItemVector;
-typedef HashSet<RefPtr<HistoryItem> > HistoryItemHashSet;
+typedef Vector<RefPtr<HistoryItem>> HistoryItemVector;
+typedef HashSet<RefPtr<HistoryItem>> HistoryItemHashSet;
class BackForwardList : public BackForwardClient {
public:
diff --git a/Source/WebCore/history/HistoryItem.cpp b/Source/WebCore/history/HistoryItem.cpp
index e148048..ad8ba1a 100644
--- a/Source/WebCore/history/HistoryItem.cpp
+++ b/Source/WebCore/history/HistoryItem.cpp
@@ -670,7 +670,7 @@
return m_redirectURLs.get();
}
-void HistoryItem::setRedirectURLs(PassOwnPtr<Vector<String> > redirectURLs)
+void HistoryItem::setRedirectURLs(PassOwnPtr<Vector<String>> redirectURLs)
{
m_redirectURLs = redirectURLs;
}
diff --git a/Source/WebCore/history/HistoryItem.h b/Source/WebCore/history/HistoryItem.h
index d41d5e2..720ce6a 100644
--- a/Source/WebCore/history/HistoryItem.h
+++ b/Source/WebCore/history/HistoryItem.h
@@ -53,7 +53,7 @@
class URL;
class ResourceRequest;
-typedef Vector<RefPtr<HistoryItem> > HistoryItemVector;
+typedef Vector<RefPtr<HistoryItem>> HistoryItemVector;
extern void (*notifyHistoryItemChanged)(HistoryItem*);
@@ -177,7 +177,7 @@
void addRedirectURL(const String&);
Vector<String>* redirectURLs() const;
- void setRedirectURLs(PassOwnPtr<Vector<String> >);
+ void setRedirectURLs(PassOwnPtr<Vector<String>>);
bool isCurrentDocument(Document*) const;
@@ -249,7 +249,7 @@
Vector<int> m_dailyVisitCounts;
Vector<int> m_weeklyVisitCounts;
- OwnPtr<Vector<String> > m_redirectURLs;
+ OwnPtr<Vector<String>> m_redirectURLs;
// If two HistoryItems have the same item sequence number, then they are
// clones of one another. Traversing history from one such HistoryItem to
@@ -276,7 +276,7 @@
#if PLATFORM(MAC)
RetainPtr<id> m_viewState;
- OwnPtr<HashMap<String, RetainPtr<id> > > m_transientProperties;
+ OwnPtr<HashMap<String, RetainPtr<id>>> m_transientProperties;
#endif
#if PLATFORM(BLACKBERRY)
diff --git a/Source/WebCore/history/mac/HistoryItemMac.mm b/Source/WebCore/history/mac/HistoryItemMac.mm
index 9b077a1..ba93fbd 100644
--- a/Source/WebCore/history/mac/HistoryItemMac.mm
+++ b/Source/WebCore/history/mac/HistoryItemMac.mm
@@ -59,7 +59,7 @@
}
} else {
if (!m_transientProperties)
- m_transientProperties = adoptPtr(new HashMap<String, RetainPtr<id> >);
+ m_transientProperties = adoptPtr(new HashMap<String, RetainPtr<id>>);
m_transientProperties->set(key, value);
}
}
diff --git a/Source/WebCore/html/FormController.h b/Source/WebCore/html/FormController.h
index 2ce94dc..9dbca62 100644
--- a/Source/WebCore/html/FormController.h
+++ b/Source/WebCore/html/FormController.h
@@ -96,7 +96,7 @@
private:
typedef ListHashSet<RefPtr<HTMLFormControlElementWithState>, 64> FormElementListHashSet;
- typedef HashMap<RefPtr<AtomicStringImpl>, OwnPtr<SavedFormState> > SavedFormStateMap;
+ typedef HashMap<RefPtr<AtomicStringImpl>, OwnPtr<SavedFormState>> SavedFormStateMap;
FormController();
static OwnPtr<SavedFormStateMap> createSavedFormStateMap(const FormElementListHashSet&);
diff --git a/Source/WebCore/html/HTMLAnchorElement.cpp b/Source/WebCore/html/HTMLAnchorElement.cpp
index e1796b9..60b9577 100644
--- a/Source/WebCore/html/HTMLAnchorElement.cpp
+++ b/Source/WebCore/html/HTMLAnchorElement.cpp
@@ -614,7 +614,7 @@
return isLink() || HTMLElement::willRespondToMouseClickEvents();
}
-typedef HashMap<const HTMLAnchorElement*, RefPtr<Element> > RootEditableElementMap;
+typedef HashMap<const HTMLAnchorElement*, RefPtr<Element>> RootEditableElementMap;
static RootEditableElementMap& rootEditableElementMap()
{
diff --git a/Source/WebCore/html/HTMLCollection.cpp b/Source/WebCore/html/HTMLCollection.cpp
index 977215c..ba53d56 100644
--- a/Source/WebCore/html/HTMLCollection.cpp
+++ b/Source/WebCore/html/HTMLCollection.cpp
@@ -663,7 +663,7 @@
void HTMLCollection::append(NodeCacheMap& map, const AtomicString& key, Element* element)
{
- OwnPtr<Vector<Element*> >& vector = map.add(key.impl(), nullptr).iterator->value;
+ OwnPtr<Vector<Element*>>& vector = map.add(key.impl(), nullptr).iterator->value;
if (!vector)
vector = adoptPtr(new Vector<Element*>);
vector->append(element);
diff --git a/Source/WebCore/html/HTMLCollection.h b/Source/WebCore/html/HTMLCollection.h
index e1cad3f..76029d9 100644
--- a/Source/WebCore/html/HTMLCollection.h
+++ b/Source/WebCore/html/HTMLCollection.h
@@ -71,7 +71,7 @@
virtual void updateNameCache() const;
- typedef HashMap<AtomicStringImpl*, OwnPtr<Vector<Element*> > > NodeCacheMap;
+ typedef HashMap<AtomicStringImpl*, OwnPtr<Vector<Element*>>> NodeCacheMap;
Vector<Element*>* idCache(const AtomicString& name) const { return m_idCache.get(name.impl()); }
Vector<Element*>* nameCache(const AtomicString& name) const { return m_nameCache.get(name.impl()); }
void appendIdCache(const AtomicString& name, Element* element) const { append(m_idCache, name, element); }
diff --git a/Source/WebCore/html/HTMLFormControlElement.cpp b/Source/WebCore/html/HTMLFormControlElement.cpp
index 578f2bc..0439ae9 100644
--- a/Source/WebCore/html/HTMLFormControlElement.cpp
+++ b/Source/WebCore/html/HTMLFormControlElement.cpp
@@ -405,7 +405,7 @@
m_validationMessage->requestToHideMessage();
}
-bool HTMLFormControlElement::checkValidity(Vector<RefPtr<FormAssociatedElement> >* unhandledInvalidControls)
+bool HTMLFormControlElement::checkValidity(Vector<RefPtr<FormAssociatedElement>>* unhandledInvalidControls)
{
if (!willValidate() || isValidFormControlElement())
return true;
diff --git a/Source/WebCore/html/HTMLFormControlElement.h b/Source/WebCore/html/HTMLFormControlElement.h
index 5985bd4..99f09e0 100644
--- a/Source/WebCore/html/HTMLFormControlElement.h
+++ b/Source/WebCore/html/HTMLFormControlElement.h
@@ -88,7 +88,7 @@
virtual bool willValidate() const OVERRIDE;
void updateVisibleValidationMessage();
void hideVisibleValidationMessage();
- bool checkValidity(Vector<RefPtr<FormAssociatedElement> >* unhandledInvalidControls = 0);
+ bool checkValidity(Vector<RefPtr<FormAssociatedElement>>* unhandledInvalidControls = 0);
// This must be called when a validation constraint or control value is changed.
void setNeedsValidityCheck();
virtual void setCustomValidity(const String&) OVERRIDE;
diff --git a/Source/WebCore/html/HTMLFormElement.cpp b/Source/WebCore/html/HTMLFormElement.cpp
index f40a348..b17b87e 100644
--- a/Source/WebCore/html/HTMLFormElement.cpp
+++ b/Source/WebCore/html/HTMLFormElement.cpp
@@ -217,7 +217,7 @@
static_cast<HTMLFormControlElement*>(m_associatedElements[i])->hideVisibleValidationMessage();
}
- Vector<RefPtr<FormAssociatedElement> > unhandledInvalidControls;
+ Vector<RefPtr<FormAssociatedElement>> unhandledInvalidControls;
if (!checkInvalidControlsAndCollectUnhandled(unhandledInvalidControls))
return true;
// Because the form has invalid controls, we abort the form submission and
@@ -592,16 +592,16 @@
bool HTMLFormElement::checkValidity()
{
- Vector<RefPtr<FormAssociatedElement> > controls;
+ Vector<RefPtr<FormAssociatedElement>> controls;
return !checkInvalidControlsAndCollectUnhandled(controls);
}
-bool HTMLFormElement::checkInvalidControlsAndCollectUnhandled(Vector<RefPtr<FormAssociatedElement> >& unhandledInvalidControls)
+bool HTMLFormElement::checkInvalidControlsAndCollectUnhandled(Vector<RefPtr<FormAssociatedElement>>& unhandledInvalidControls)
{
Ref<HTMLFormElement> protect(*this);
// Copy m_associatedElements because event handlers called from
// HTMLFormControlElement::checkValidity() might change m_associatedElements.
- Vector<RefPtr<FormAssociatedElement> > elements;
+ Vector<RefPtr<FormAssociatedElement>> elements;
elements.reserveCapacity(m_associatedElements.size());
for (unsigned i = 0; i < m_associatedElements.size(); ++i)
elements.append(m_associatedElements[i]);
diff --git a/Source/WebCore/html/HTMLFormElement.h b/Source/WebCore/html/HTMLFormElement.h
index 66d85a7..7603d80 100644
--- a/Source/WebCore/html/HTMLFormElement.h
+++ b/Source/WebCore/html/HTMLFormElement.h
@@ -138,7 +138,7 @@
// Validates each of the controls, and stores controls of which 'invalid'
// event was not canceled to the specified vector. Returns true if there
// are any invalid controls in this form.
- bool checkInvalidControlsAndCollectUnhandled(Vector<RefPtr<FormAssociatedElement> >&);
+ bool checkInvalidControlsAndCollectUnhandled(Vector<RefPtr<FormAssociatedElement>>&);
HTMLElement* elementFromPastNamesMap(const AtomicString&) const;
void addToPastNamesMap(FormNamedItem*, const AtomicString& pastName);
diff --git a/Source/WebCore/html/HTMLMediaElement.cpp b/Source/WebCore/html/HTMLMediaElement.cpp
index 32e0b00..b5e22697 100644
--- a/Source/WebCore/html/HTMLMediaElement.cpp
+++ b/Source/WebCore/html/HTMLMediaElement.cpp
@@ -199,7 +199,7 @@
using namespace HTMLNames;
using namespace std;
-typedef HashMap<Document*, HashSet<HTMLMediaElement*> > DocumentElementSetMap;
+typedef HashMap<Document*, HashSet<HTMLMediaElement*>> DocumentElementSetMap;
static DocumentElementSetMap& documentToElementSetMap()
{
DEFINE_STATIC_LOCAL(DocumentElementSetMap, map, ());
@@ -1276,7 +1276,7 @@
// 8 - Let events be a list of tasks, initially empty. Each task in this
// list will be associated with a text track, a text track cue, and a time,
// which are used to sort the list before the tasks are queued.
- Vector<std::pair<double, TextTrackCue*> > eventTasks;
+ Vector<std::pair<double, TextTrackCue*>> eventTasks;
// 8 - Let affected tracks be a list of text tracks, initially empty.
Vector<TextTrack*> affectedTracks;
@@ -2978,12 +2978,12 @@
setSelectedTextTrack(textTrack);
}
-Vector<RefPtr<PlatformTextTrack> > HTMLMediaElement::platformTextTracks()
+Vector<RefPtr<PlatformTextTrack>> HTMLMediaElement::platformTextTracks()
{
if (!m_textTracks || !m_textTracks->length())
- return Vector<RefPtr<PlatformTextTrack> >();
+ return Vector<RefPtr<PlatformTextTrack>>();
- Vector<RefPtr<PlatformTextTrack> > platformTracks;
+ Vector<RefPtr<PlatformTextTrack>> platformTracks;
for (size_t i = 0; i < m_textTracks->length(); ++i)
platformTracks.append(m_textTracks->item(i)->platformTextTrack());
@@ -3244,7 +3244,7 @@
CaptionUserPreferences::CaptionDisplayMode displayMode = captionPreferences ? captionPreferences->captionDisplayMode() : CaptionUserPreferences::Automatic;
// First, find the track in the group that should be enabled (if any).
- Vector<RefPtr<TextTrack> > currentlyEnabledTracks;
+ Vector<RefPtr<TextTrack>> currentlyEnabledTracks;
RefPtr<TextTrack> trackToEnable;
RefPtr<TextTrack> defaultTrack;
RefPtr<TextTrack> fallbackTrack;
diff --git a/Source/WebCore/html/HTMLMediaElement.h b/Source/WebCore/html/HTMLMediaElement.h
index 68eeb76..582f035 100644
--- a/Source/WebCore/html/HTMLMediaElement.h
+++ b/Source/WebCore/html/HTMLMediaElement.h
@@ -266,7 +266,7 @@
#if USE(PLATFORM_TEXT_TRACK_MENU)
virtual void setSelectedTextTrack(PassRefPtr<PlatformTextTrack>) OVERRIDE;
- virtual Vector<RefPtr<PlatformTextTrack> > platformTextTracks() OVERRIDE;
+ virtual Vector<RefPtr<PlatformTextTrack>> platformTextTracks() OVERRIDE;
PlatformTextTrackMenuInterface* platformTextTrackMenu();
#endif
@@ -281,7 +281,7 @@
{
}
- Vector<RefPtr<TextTrack> > tracks;
+ Vector<RefPtr<TextTrack>> tracks;
RefPtr<TextTrack> visibleTrack;
RefPtr<TextTrack> defaultTrack;
GroupKind kind;
@@ -744,7 +744,7 @@
RefPtr<AudioTrackList> m_audioTracks;
RefPtr<TextTrackList> m_textTracks;
RefPtr<VideoTrackList> m_videoTracks;
- Vector<RefPtr<TextTrack> > m_textTracksWhenResourceSelectionBegan;
+ Vector<RefPtr<TextTrack>> m_textTracksWhenResourceSelectionBegan;
CueIntervalTree m_cueTree;
diff --git a/Source/WebCore/html/HTMLPlugInImageElement.cpp b/Source/WebCore/html/HTMLPlugInImageElement.cpp
index 60a68d9..cc82591 100644
--- a/Source/WebCore/html/HTMLPlugInImageElement.cpp
+++ b/Source/WebCore/html/HTMLPlugInImageElement.cpp
@@ -60,7 +60,7 @@
using namespace HTMLNames;
-typedef Vector<RefPtr<HTMLPlugInImageElement> > HTMLPlugInImageElementList;
+typedef Vector<RefPtr<HTMLPlugInImageElement>> HTMLPlugInImageElementList;
typedef HashMap<String, String> MimeTypeToLocalizedStringMap;
static const int sizingTinyDimensionThreshold = 40;
diff --git a/Source/WebCore/html/HTMLSelectElement.cpp b/Source/WebCore/html/HTMLSelectElement.cpp
index 54b2c18..eaa76c7 100644
--- a/Source/WebCore/html/HTMLSelectElement.cpp
+++ b/Source/WebCore/html/HTMLSelectElement.cpp
@@ -472,7 +472,7 @@
// Removing children fires mutation events, which might mutate the DOM further, so we first copy out a list
// of elements that we intend to remove then attempt to remove them one at a time.
- Vector<RefPtr<Element> > itemsToRemove;
+ Vector<RefPtr<Element>> itemsToRemove;
size_t optionIndex = 0;
for (size_t i = 0; i < items.size(); ++i) {
Element* item = items[i];
diff --git a/Source/WebCore/html/MediaController.cpp b/Source/WebCore/html/MediaController.cpp
index 37c0e60..27d8e3a 100644
--- a/Source/WebCore/html/MediaController.cpp
+++ b/Source/WebCore/html/MediaController.cpp
@@ -541,7 +541,7 @@
void MediaController::asyncEventTimerFired(Timer<MediaController>*)
{
- Vector<RefPtr<Event> > pendingEvents;
+ Vector<RefPtr<Event>> pendingEvents;
m_pendingEvents.swap(pendingEvents);
size_t count = pendingEvents.size();
diff --git a/Source/WebCore/html/MediaController.h b/Source/WebCore/html/MediaController.h
index 1aa9ccc..48c3c45 100644
--- a/Source/WebCore/html/MediaController.h
+++ b/Source/WebCore/html/MediaController.h
@@ -144,7 +144,7 @@
bool m_muted;
ReadyState m_readyState;
PlaybackState m_playbackState;
- Vector<RefPtr<Event> > m_pendingEvents;
+ Vector<RefPtr<Event>> m_pendingEvents;
Timer<MediaController> m_asyncEventTimer;
mutable Timer<MediaController> m_clearPositionTimer;
String m_mediaGroup;
diff --git a/Source/WebCore/html/MediaFragmentURIParser.h b/Source/WebCore/html/MediaFragmentURIParser.h
index 932c794..ce322af 100644
--- a/Source/WebCore/html/MediaFragmentURIParser.h
+++ b/Source/WebCore/html/MediaFragmentURIParser.h
@@ -58,7 +58,7 @@
TimeFormat m_timeFormat;
double m_startTime;
double m_endTime;
- Vector<std::pair<String, String> > m_fragments;
+ Vector<std::pair<String, String>> m_fragments;
};
} // namespace WebCore
diff --git a/Source/WebCore/html/ValidationMessage.h b/Source/WebCore/html/ValidationMessage.h
index e9aab43..c40fdc3 100644
--- a/Source/WebCore/html/ValidationMessage.h
+++ b/Source/WebCore/html/ValidationMessage.h
@@ -66,7 +66,7 @@
HTMLFormControlElement* m_element;
String m_message;
- OwnPtr<Timer<ValidationMessage> > m_timer;
+ OwnPtr<Timer<ValidationMessage>> m_timer;
RefPtr<HTMLElement> m_bubble;
RefPtr<HTMLElement> m_messageHeading;
RefPtr<HTMLElement> m_messageBody;
diff --git a/Source/WebCore/html/canvas/WebGLFramebuffer.h b/Source/WebCore/html/canvas/WebGLFramebuffer.h
index 20070f9..1a03db9 100644
--- a/Source/WebCore/html/canvas/WebGLFramebuffer.h
+++ b/Source/WebCore/html/canvas/WebGLFramebuffer.h
@@ -122,7 +122,7 @@
// Check if a new drawBuffers call should be issued. This is called when we add or remove an attachment.
void drawBuffersIfNecessary(bool force);
- typedef WTF::HashMap<GC3Denum, RefPtr<WebGLAttachment> > AttachmentMap;
+ typedef WTF::HashMap<GC3Denum, RefPtr<WebGLAttachment>> AttachmentMap;
AttachmentMap m_attachments;
diff --git a/Source/WebCore/html/canvas/WebGLRenderingContext.cpp b/Source/WebCore/html/canvas/WebGLRenderingContext.cpp
index 3efbca1..0b39579 100644
--- a/Source/WebCore/html/canvas/WebGLRenderingContext.cpp
+++ b/Source/WebCore/html/canvas/WebGLRenderingContext.cpp
@@ -2265,7 +2265,7 @@
return WebGLActiveInfo::create(info.name, info.type, info.size);
}
-bool WebGLRenderingContext::getAttachedShaders(WebGLProgram* program, Vector<RefPtr<WebGLShader> >& shaderObjects, ExceptionCode& ec)
+bool WebGLRenderingContext::getAttachedShaders(WebGLProgram* program, Vector<RefPtr<WebGLShader>>& shaderObjects, ExceptionCode& ec)
{
UNUSED_PARAM(ec);
shaderObjects.clear();
diff --git a/Source/WebCore/html/canvas/WebGLRenderingContext.h b/Source/WebCore/html/canvas/WebGLRenderingContext.h
index 84b402f..4f88b44 100644
--- a/Source/WebCore/html/canvas/WebGLRenderingContext.h
+++ b/Source/WebCore/html/canvas/WebGLRenderingContext.h
@@ -161,7 +161,7 @@
PassRefPtr<WebGLActiveInfo> getActiveAttrib(WebGLProgram*, GC3Duint index, ExceptionCode&);
PassRefPtr<WebGLActiveInfo> getActiveUniform(WebGLProgram*, GC3Duint index, ExceptionCode&);
- bool getAttachedShaders(WebGLProgram*, Vector<RefPtr<WebGLShader> >&, ExceptionCode&);
+ bool getAttachedShaders(WebGLProgram*, Vector<RefPtr<WebGLShader>>&, ExceptionCode&);
GC3Dint getAttribLocation(WebGLProgram*, const String& name);
WebGLGetInfo getBufferParameter(GC3Denum target, GC3Denum pname, ExceptionCode&);
PassRefPtr<WebGLContextAttributes> getContextAttributes();
diff --git a/Source/WebCore/html/canvas/WebGLTexture.h b/Source/WebCore/html/canvas/WebGLTexture.h
index e9171e7..50604da 100644
--- a/Source/WebCore/html/canvas/WebGLTexture.h
+++ b/Source/WebCore/html/canvas/WebGLTexture.h
@@ -118,7 +118,7 @@
GC3Denum m_wrapS;
GC3Denum m_wrapT;
- Vector<Vector<LevelInfo> > m_info;
+ Vector<Vector<LevelInfo>> m_info;
bool m_isNPOT;
bool m_isComplete;
diff --git a/Source/WebCore/html/parser/BackgroundHTMLParser.cpp b/Source/WebCore/html/parser/BackgroundHTMLParser.cpp
index 42cc011..ba804c5 100644
--- a/Source/WebCore/html/parser/BackgroundHTMLParser.cpp
+++ b/Source/WebCore/html/parser/BackgroundHTMLParser.cpp
@@ -74,7 +74,7 @@
#endif
-BackgroundHTMLParser::BackgroundHTMLParser(PassRefPtr<WeakReference<BackgroundHTMLParser> > reference, OwnPtr<Configuration> config)
+BackgroundHTMLParser::BackgroundHTMLParser(PassRefPtr<WeakReference<BackgroundHTMLParser>> reference, OwnPtr<Configuration> config)
: m_weakFactory(reference, this)
, m_token(adoptPtr(new HTMLToken))
, m_tokenizer(HTMLTokenizer::create(config->options))
diff --git a/Source/WebCore/html/parser/BackgroundHTMLParser.h b/Source/WebCore/html/parser/BackgroundHTMLParser.h
index fa32031..9e009ac 100644
--- a/Source/WebCore/html/parser/BackgroundHTMLParser.h
+++ b/Source/WebCore/html/parser/BackgroundHTMLParser.h
@@ -55,7 +55,7 @@
OwnPtr<TokenPreloadScanner> preloadScanner;
};
- static void create(PassRefPtr<WeakReference<BackgroundHTMLParser> > reference, OwnPtr<Configuration> config)
+ static void create(PassRefPtr<WeakReference<BackgroundHTMLParser>> reference, OwnPtr<Configuration> config)
{
new BackgroundHTMLParser(reference, config);
// Caller must free by calling stop().
@@ -80,7 +80,7 @@
void forcePlaintextForTextDocument();
private:
- BackgroundHTMLParser(PassRefPtr<WeakReference<BackgroundHTMLParser> >, OwnPtr<Configuration>);
+ BackgroundHTMLParser(PassRefPtr<WeakReference<BackgroundHTMLParser>>, OwnPtr<Configuration>);
void markEndOfFile();
void pumpTokenizer();
diff --git a/Source/WebCore/html/parser/HTMLDocumentParser.cpp b/Source/WebCore/html/parser/HTMLDocumentParser.cpp
index c79770b..a83e06c 100644
--- a/Source/WebCore/html/parser/HTMLDocumentParser.cpp
+++ b/Source/WebCore/html/parser/HTMLDocumentParser.cpp
@@ -666,7 +666,7 @@
HTMLIdentifier::init();
- RefPtr<WeakReference<BackgroundHTMLParser> > reference = WeakReference<BackgroundHTMLParser>::createUnbound();
+ RefPtr<WeakReference<BackgroundHTMLParser>> reference = WeakReference<BackgroundHTMLParser>::createUnbound();
m_backgroundParser = WeakPtr<BackgroundHTMLParser>(reference);
OwnPtr<BackgroundHTMLParser::Configuration> config = adoptPtr(new BackgroundHTMLParser::Configuration);
diff --git a/Source/WebCore/html/parser/HTMLDocumentParser.h b/Source/WebCore/html/parser/HTMLDocumentParser.h
index 8d183e3..e47641f 100644
--- a/Source/WebCore/html/parser/HTMLDocumentParser.h
+++ b/Source/WebCore/html/parser/HTMLDocumentParser.h
@@ -198,7 +198,7 @@
// FIXME: m_lastChunkBeforeScript, m_tokenizer, m_token, and m_input should be combined into a single state object
// so they can be set and cleared together and passed between threads together.
OwnPtr<ParsedChunk> m_lastChunkBeforeScript;
- Deque<OwnPtr<ParsedChunk> > m_speculations;
+ Deque<OwnPtr<ParsedChunk>> m_speculations;
WeakPtrFactory<HTMLDocumentParser> m_weakFactory;
WeakPtr<BackgroundHTMLParser> m_backgroundParser;
#endif
diff --git a/Source/WebCore/html/parser/HTMLMetaCharsetParser.h b/Source/WebCore/html/parser/HTMLMetaCharsetParser.h
index 4a2c461..213cf9d 100644
--- a/Source/WebCore/html/parser/HTMLMetaCharsetParser.h
+++ b/Source/WebCore/html/parser/HTMLMetaCharsetParser.h
@@ -48,7 +48,7 @@
const TextEncoding& encoding() { return m_encoding; }
- typedef Vector<pair<String, String> > AttributeList;
+ typedef Vector<pair<String, String>> AttributeList;
// The returned encoding might not be valid.
static TextEncoding encodingFromMetaAttributes(const AttributeList&
);
diff --git a/Source/WebCore/html/parser/HTMLPreloadScanner.cpp b/Source/WebCore/html/parser/HTMLPreloadScanner.cpp
index 6423593..985933b 100644
--- a/Source/WebCore/html/parser/HTMLPreloadScanner.cpp
+++ b/Source/WebCore/html/parser/HTMLPreloadScanner.cpp
@@ -301,20 +301,20 @@
m_checkpoints.clear();
}
-void TokenPreloadScanner::scan(const HTMLToken& token, Vector<OwnPtr<PreloadRequest> >& requests)
+void TokenPreloadScanner::scan(const HTMLToken& token, Vector<OwnPtr<PreloadRequest>>& requests)
{
scanCommon(token, requests);
}
#if ENABLE(THREADED_HTML_PARSER)
-void TokenPreloadScanner::scan(const CompactHTMLToken& token, Vector<OwnPtr<PreloadRequest> >& requests)
+void TokenPreloadScanner::scan(const CompactHTMLToken& token, Vector<OwnPtr<PreloadRequest>>& requests)
{
scanCommon(token, requests);
}
#endif
template<typename Token>
-void TokenPreloadScanner::scanCommon(const Token& token, Vector<OwnPtr<PreloadRequest> >& requests)
+void TokenPreloadScanner::scanCommon(const Token& token, Vector<OwnPtr<PreloadRequest>>& requests)
{
switch (token.type()) {
case HTMLToken::Character: {
diff --git a/Source/WebCore/html/parser/HTMLResourcePreloader.h b/Source/WebCore/html/parser/HTMLResourcePreloader.h
index 6eb8016..ffb64e5 100644
--- a/Source/WebCore/html/parser/HTMLResourcePreloader.h
+++ b/Source/WebCore/html/parser/HTMLResourcePreloader.h
@@ -75,7 +75,7 @@
bool m_crossOriginModeAllowsCookies;
};
-typedef Vector<OwnPtr<PreloadRequest> > PreloadRequestStream;
+typedef Vector<OwnPtr<PreloadRequest>> PreloadRequestStream;
class HTMLResourcePreloader {
WTF_MAKE_NONCOPYABLE(HTMLResourcePreloader); WTF_MAKE_FAST_ALLOCATED;
diff --git a/Source/WebCore/html/parser/XSSAuditor.h b/Source/WebCore/html/parser/XSSAuditor.h
index 321e6e1..19b75d7 100644
--- a/Source/WebCore/html/parser/XSSAuditor.h
+++ b/Source/WebCore/html/parser/XSSAuditor.h
@@ -113,7 +113,7 @@
String m_decodedURL;
String m_decodedHTTPBody;
- OwnPtr<SuffixTree<ASCIICodebook> > m_decodedHTTPBodySuffixTree;
+ OwnPtr<SuffixTree<ASCIICodebook>> m_decodedHTTPBodySuffixTree;
State m_state;
String m_cachedDecodedSnippet;
diff --git a/Source/WebCore/html/shadow/ContentDistributor.cpp b/Source/WebCore/html/shadow/ContentDistributor.cpp
index 027093d..ab71a67 100644
--- a/Source/WebCore/html/shadow/ContentDistributor.cpp
+++ b/Source/WebCore/html/shadow/ContentDistributor.cpp
@@ -49,7 +49,7 @@
m_insertionPointList.clear();
}
-const Vector<RefPtr<InsertionPoint> >& ContentDistributor::ensureInsertionPointList(ShadowRoot* shadowRoot)
+const Vector<RefPtr<InsertionPoint>>& ContentDistributor::ensureInsertionPointList(ShadowRoot* shadowRoot)
{
if (m_insertionPointListIsValid)
return m_insertionPointList;
@@ -79,7 +79,7 @@
m_validity = Valid;
if (ShadowRoot* root = host->shadowRoot()) {
- const Vector<RefPtr<InsertionPoint> >& insertionPoints = ensureInsertionPointList(root);
+ const Vector<RefPtr<InsertionPoint>>& insertionPoints = ensureInsertionPointList(root);
for (size_t i = 0; i < insertionPoints.size(); ++i) {
InsertionPoint* point = insertionPoints[i].get();
if (!point->isActive())
@@ -96,7 +96,7 @@
bool needsReattach = (m_validity == Undetermined) || !m_nodeToInsertionPoint.isEmpty();
if (ShadowRoot* root = host->shadowRoot()) {
- const Vector<RefPtr<InsertionPoint> >& insertionPoints = ensureInsertionPointList(root);
+ const Vector<RefPtr<InsertionPoint>>& insertionPoints = ensureInsertionPointList(root);
for (size_t i = 0; i < insertionPoints.size(); ++i) {
needsReattach = true;
insertionPoints[i]->clearDistribution();
diff --git a/Source/WebCore/html/shadow/ContentDistributor.h b/Source/WebCore/html/shadow/ContentDistributor.h
index 8cdb3f3..f0ed8af 100644
--- a/Source/WebCore/html/shadow/ContentDistributor.h
+++ b/Source/WebCore/html/shadow/ContentDistributor.h
@@ -71,7 +71,7 @@
bool needsDistribution() const;
private:
- const Vector<RefPtr<InsertionPoint> >& ensureInsertionPointList(ShadowRoot*);
+ const Vector<RefPtr<InsertionPoint>>& ensureInsertionPointList(ShadowRoot*);
bool invalidate(Element* host);
@@ -79,8 +79,8 @@
bool isValid() const { return m_validity == Valid; }
bool needsInvalidation() const { return m_validity != Invalidated; }
- Vector<RefPtr<InsertionPoint> > m_insertionPointList;
- HashMap<const Node*, RefPtr<InsertionPoint> > m_nodeToInsertionPoint;
+ Vector<RefPtr<InsertionPoint>> m_insertionPointList;
+ HashMap<const Node*, RefPtr<InsertionPoint>> m_nodeToInsertionPoint;
bool m_insertionPointListIsValid;
unsigned m_validity : 2;
};
diff --git a/Source/WebCore/html/shadow/MediaControlElements.cpp b/Source/WebCore/html/shadow/MediaControlElements.cpp
index 37ee144..9f021cb 100644
--- a/Source/WebCore/html/shadow/MediaControlElements.cpp
+++ b/Source/WebCore/html/shadow/MediaControlElements.cpp
@@ -895,7 +895,7 @@
if (!document().page())
return;
CaptionUserPreferences* captionPreferences = document().page()->group().captionPreferences();
- Vector<RefPtr<TextTrack> > tracksForMenu = captionPreferences->sortedTrackListForMenu(trackList);
+ Vector<RefPtr<TextTrack>> tracksForMenu = captionPreferences->sortedTrackListForMenu(trackList);
RefPtr<Element> captionsHeader = document().createElement(h3Tag, ASSERT_NO_EXCEPTION);
captionsHeader->appendChild(document().createTextNode(textTrackSubtitlesText()));
@@ -1242,7 +1242,7 @@
HTMLVideoElement* video = toHTMLVideoElement(mediaElement);
// 3. Let output be an empty list of absolutely positioned CSS block boxes.
- Vector<RefPtr<HTMLDivElement> > output;
+ Vector<RefPtr<HTMLDivElement>> output;
// 4. If the user agent is exposing a user interface for video, add to
// output one or more completely transparent positioned CSS block boxes that
diff --git a/Source/WebCore/html/shadow/MediaControlElements.h b/Source/WebCore/html/shadow/MediaControlElements.h
index 5ae86e1..c8d082c 100644
--- a/Source/WebCore/html/shadow/MediaControlElements.h
+++ b/Source/WebCore/html/shadow/MediaControlElements.h
@@ -316,10 +316,10 @@
virtual const AtomicString& shadowPseudoId() const OVERRIDE;
virtual void defaultEventHandler(Event*) OVERRIDE;
- typedef Vector<RefPtr<Element> > TrackMenuItems;
+ typedef Vector<RefPtr<Element>> TrackMenuItems;
TrackMenuItems m_menuItems;
#if ENABLE(VIDEO_TRACK)
- typedef HashMap<RefPtr<Element>, RefPtr<TextTrack> > MenuItemToTrackMap;
+ typedef HashMap<RefPtr<Element>, RefPtr<TextTrack>> MenuItemToTrackMap;
MenuItemToTrackMap m_menuToTrackMap;
#endif
MediaControls* m_controls;
diff --git a/Source/WebCore/html/track/InbandGenericTextTrack.h b/Source/WebCore/html/track/InbandGenericTextTrack.h
index b2f1ab3..f43d8a8 100644
--- a/Source/WebCore/html/track/InbandGenericTextTrack.h
+++ b/Source/WebCore/html/track/InbandGenericTextTrack.h
@@ -52,8 +52,8 @@
PassRefPtr<TextTrackCueGeneric> find(GenericCueData*);
private:
- typedef HashMap<RefPtr<TextTrackCue>, RefPtr<GenericCueData> > CueToDataMap;
- typedef HashMap<RefPtr<GenericCueData>, RefPtr<TextTrackCueGeneric> > CueDataToCueMap;
+ typedef HashMap<RefPtr<TextTrackCue>, RefPtr<GenericCueData>> CueToDataMap;
+ typedef HashMap<RefPtr<GenericCueData>, RefPtr<TextTrackCueGeneric>> CueDataToCueMap;
CueToDataMap m_cueToDataMap;
CueDataToCueMap m_dataToCueMap;
diff --git a/Source/WebCore/html/track/InbandWebVTTTextTrack.cpp b/Source/WebCore/html/track/InbandWebVTTTextTrack.cpp
index d5690ef..28a79ad 100644
--- a/Source/WebCore/html/track/InbandWebVTTTextTrack.cpp
+++ b/Source/WebCore/html/track/InbandWebVTTTextTrack.cpp
@@ -60,7 +60,7 @@
void InbandWebVTTTextTrack::newCuesParsed()
{
- Vector<RefPtr<WebVTTCueData> > cues;
+ Vector<RefPtr<WebVTTCueData>> cues;
m_webVTTParser->getNewCues(cues);
for (size_t i = 0; i < cues.size(); ++i) {
RefPtr<WebVTTCueData> cueData = cues[i];
diff --git a/Source/WebCore/html/track/LoadableTextTrack.cpp b/Source/WebCore/html/track/LoadableTextTrack.cpp
index ced6c86..7e6ca29 100644
--- a/Source/WebCore/html/track/LoadableTextTrack.cpp
+++ b/Source/WebCore/html/track/LoadableTextTrack.cpp
@@ -103,7 +103,7 @@
{
ASSERT_UNUSED(loader, m_loader == loader);
- Vector<RefPtr<TextTrackCue> > newCues;
+ Vector<RefPtr<TextTrackCue>> newCues;
m_loader->getNewCues(newCues);
if (!m_cues)
@@ -138,7 +138,7 @@
{
ASSERT_UNUSED(loader, m_loader == loader);
- Vector<RefPtr<TextTrackRegion> > newRegions;
+ Vector<RefPtr<TextTrackRegion>> newRegions;
m_loader->getNewRegions(newRegions);
for (size_t i = 0; i < newRegions.size(); ++i) {
diff --git a/Source/WebCore/html/track/TextTrackCueList.h b/Source/WebCore/html/track/TextTrackCueList.h
index 297787f..8478fa3 100644
--- a/Source/WebCore/html/track/TextTrackCueList.h
+++ b/Source/WebCore/html/track/TextTrackCueList.h
@@ -63,7 +63,7 @@
void clear();
void invalidateCueIndexes(size_t);
- Vector<RefPtr<TextTrackCue> > m_list;
+ Vector<RefPtr<TextTrackCue>> m_list;
RefPtr<TextTrackCueList> m_activeCues;
};
diff --git a/Source/WebCore/html/track/TextTrackList.cpp b/Source/WebCore/html/track/TextTrackList.cpp
index d72576c..a43c82e 100644
--- a/Source/WebCore/html/track/TextTrackList.cpp
+++ b/Source/WebCore/html/track/TextTrackList.cpp
@@ -130,7 +130,7 @@
void TextTrackList::invalidateTrackIndexesAfterTrack(TextTrack* track)
{
- Vector<RefPtr<TrackBase> >* tracks = 0;
+ Vector<RefPtr<TrackBase>>* tracks = 0;
if (track->trackType() == TextTrack::TrackElement) {
tracks = &m_elementTracks;
@@ -183,7 +183,7 @@
void TextTrackList::remove(TrackBase* track)
{
TextTrack* textTrack = toTextTrack(track);
- Vector<RefPtr<TrackBase> >* tracks = 0;
+ Vector<RefPtr<TrackBase>>* tracks = 0;
if (textTrack->trackType() == TextTrack::TrackElement)
tracks = &m_elementTracks;
else if (textTrack->trackType() == TextTrack::AddTrack)
@@ -209,7 +209,7 @@
bool TextTrackList::contains(TrackBase* track) const
{
- const Vector<RefPtr<TrackBase> >* tracks = 0;
+ const Vector<RefPtr<TrackBase>>* tracks = 0;
TextTrack::TextTrackType type = toTextTrack(track)->trackType();
if (type == TextTrack::TrackElement)
tracks = &m_elementTracks;
diff --git a/Source/WebCore/html/track/TextTrackList.h b/Source/WebCore/html/track/TextTrackList.h
index 482ee3e..45a957d 100644
--- a/Source/WebCore/html/track/TextTrackList.h
+++ b/Source/WebCore/html/track/TextTrackList.h
@@ -59,8 +59,8 @@
void invalidateTrackIndexesAfterTrack(TextTrack*);
- Vector<RefPtr<TrackBase> > m_addTrackTracks;
- Vector<RefPtr<TrackBase> > m_elementTracks;
+ Vector<RefPtr<TrackBase>> m_addTrackTracks;
+ Vector<RefPtr<TrackBase>> m_elementTracks;
};
} // namespace WebCore
diff --git a/Source/WebCore/html/track/TrackListBase.cpp b/Source/WebCore/html/track/TrackListBase.cpp
index 229097f..b508dbe 100644
--- a/Source/WebCore/html/track/TrackListBase.cpp
+++ b/Source/WebCore/html/track/TrackListBase.cpp
@@ -170,7 +170,7 @@
void TrackListBase::asyncEventTimerFired(Timer<TrackListBase>*)
{
- Vector<RefPtr<Event> > pendingEvents;
+ Vector<RefPtr<Event>> pendingEvents;
++m_dispatchingEvents;
m_pendingEvents.swap(pendingEvents);
diff --git a/Source/WebCore/html/track/TrackListBase.h b/Source/WebCore/html/track/TrackListBase.h
index 92aa568..b72bc24 100644
--- a/Source/WebCore/html/track/TrackListBase.h
+++ b/Source/WebCore/html/track/TrackListBase.h
@@ -74,7 +74,7 @@
void scheduleAddTrackEvent(PassRefPtr<TrackBase>);
void scheduleRemoveTrackEvent(PassRefPtr<TrackBase>);
- Vector<RefPtr<TrackBase> > m_inbandTracks;
+ Vector<RefPtr<TrackBase>> m_inbandTracks;
private:
@@ -87,7 +87,7 @@
ScriptExecutionContext* m_context;
HTMLMediaElement* m_element;
- Vector<RefPtr<Event> > m_pendingEvents;
+ Vector<RefPtr<Event>> m_pendingEvents;
Timer<TrackListBase> m_pendingEventTimer;
int m_dispatchingEvents;
diff --git a/Source/WebCore/html/track/WebVTTParser.cpp b/Source/WebCore/html/track/WebVTTParser.cpp
index e44a13b..820ef56 100644
--- a/Source/WebCore/html/track/WebVTTParser.cpp
+++ b/Source/WebCore/html/track/WebVTTParser.cpp
@@ -126,14 +126,14 @@
{
}
-void WebVTTParser::getNewCues(Vector<RefPtr<WebVTTCueData> >& outputCues)
+void WebVTTParser::getNewCues(Vector<RefPtr<WebVTTCueData>>& outputCues)
{
outputCues = m_cuelist;
m_cuelist.clear();
}
#if ENABLE(WEBVTT_REGIONS)
-void WebVTTParser::getNewRegions(Vector<RefPtr<TextTrackRegion> >& outputRegions)
+void WebVTTParser::getNewRegions(Vector<RefPtr<TextTrackRegion>>& outputRegions)
{
outputRegions = m_regionList;
m_regionList.clear();
diff --git a/Source/WebCore/html/track/WebVTTParser.h b/Source/WebCore/html/track/WebVTTParser.h
index c09bb43..08c07b3 100644
--- a/Source/WebCore/html/track/WebVTTParser.h
+++ b/Source/WebCore/html/track/WebVTTParser.h
@@ -146,9 +146,9 @@
void parseBytes(const char* data, unsigned length);
// Transfers ownership of last parsed cues to caller.
- void getNewCues(Vector<RefPtr<WebVTTCueData> >&);
+ void getNewCues(Vector<RefPtr<WebVTTCueData>>&);
#if ENABLE(WEBVTT_REGIONS)
- void getNewRegions(Vector<RefPtr<TextTrackRegion> >&);
+ void getNewRegions(Vector<RefPtr<TextTrackRegion>>&);
#endif
PassRefPtr<DocumentFragment> createDocumentFragmentFromCueText(const String&);
@@ -199,10 +199,10 @@
WebVTTParserClient* m_client;
Vector<AtomicString> m_languageStack;
- Vector<RefPtr<WebVTTCueData> > m_cuelist;
+ Vector<RefPtr<WebVTTCueData>> m_cuelist;
#if ENABLE(WEBVTT_REGIONS)
- Vector<RefPtr<TextTrackRegion> > m_regionList;
+ Vector<RefPtr<TextTrackRegion>> m_regionList;
#endif
};
diff --git a/Source/WebCore/inspector/ConsoleMessage.cpp b/Source/WebCore/inspector/ConsoleMessage.cpp
index 3a23cfa..9134b7f 100644
--- a/Source/WebCore/inspector/ConsoleMessage.cpp
+++ b/Source/WebCore/inspector/ConsoleMessage.cpp
@@ -205,7 +205,7 @@
if (m_arguments && m_arguments->argumentCount()) {
InjectedScript injectedScript = injectedScriptManager->injectedScriptFor(m_arguments->globalState());
if (!injectedScript.hasNoValue()) {
- RefPtr<TypeBuilder::Array<TypeBuilder::Runtime::RemoteObject> > jsonArgs = TypeBuilder::Array<TypeBuilder::Runtime::RemoteObject>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::Runtime::RemoteObject>> jsonArgs = TypeBuilder::Array<TypeBuilder::Runtime::RemoteObject>::create();
if (m_type == TableMessageType && generatePreview && m_arguments->argumentCount()) {
ScriptValue table = m_arguments->argumentAt(0);
ScriptValue columns = m_arguments->argumentCount() > 1 ? m_arguments->argumentAt(1) : ScriptValue();
diff --git a/Source/WebCore/inspector/ContentSearchUtils.cpp b/Source/WebCore/inspector/ContentSearchUtils.cpp
index 951ddd6..5457e5d 100644
--- a/Source/WebCore/inspector/ContentSearchUtils.cpp
+++ b/Source/WebCore/inspector/ContentSearchUtils.cpp
@@ -80,13 +80,13 @@
return TextPosition(OrdinalNumber::fromZeroBasedInt(lineIndex), OrdinalNumber::fromZeroBasedInt(column));
}
-static Vector<pair<int, String> > getRegularExpressionMatchesByLines(const RegularExpression& regex, const String& text)
+static Vector<pair<int, String>> getRegularExpressionMatchesByLines(const RegularExpression& regex, const String& text)
{
- Vector<pair<int, String> > result;
+ Vector<pair<int, String>> result;
if (text.isEmpty())
return result;
- OwnPtr<Vector<size_t> > endings(lineEndings(text));
+ OwnPtr<Vector<size_t>> endings(lineEndings(text));
size_t size = endings->size();
unsigned start = 0;
for (size_t lineNumber = 0; lineNumber < size; ++lineNumber) {
@@ -104,9 +104,9 @@
return result;
}
-PassOwnPtr<Vector<size_t> > lineEndings(const String& text)
+PassOwnPtr<Vector<size_t>> lineEndings(const String& text)
{
- OwnPtr<Vector<size_t> > result(adoptPtr(new Vector<size_t>()));
+ OwnPtr<Vector<size_t>> result(adoptPtr(new Vector<size_t>()));
unsigned start = 0;
while (start < text.length()) {
@@ -155,14 +155,14 @@
return result;
}
-PassRefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> > searchInTextByLines(const String& text, const String& query, const bool caseSensitive, const bool isRegex)
+PassRefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch>> searchInTextByLines(const String& text, const String& query, const bool caseSensitive, const bool isRegex)
{
- RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> > result = TypeBuilder::Array<TypeBuilder::Page::SearchMatch>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch>> result = TypeBuilder::Array<TypeBuilder::Page::SearchMatch>::create();
RegularExpression regex = ContentSearchUtils::createSearchRegex(query, caseSensitive, isRegex);
- Vector<pair<int, String> > matches = getRegularExpressionMatchesByLines(regex, text);
+ Vector<pair<int, String>> matches = getRegularExpressionMatchesByLines(regex, text);
- for (Vector<pair<int, String> >::const_iterator it = matches.begin(); it != matches.end(); ++it)
+ for (Vector<pair<int, String>>::const_iterator it = matches.begin(); it != matches.end(); ++it)
result->addItem(buildObjectForSearchMatch(it->first, it->second));
return result;
diff --git a/Source/WebCore/inspector/ContentSearchUtils.h b/Source/WebCore/inspector/ContentSearchUtils.h
index d0bcb92..60ad678 100644
--- a/Source/WebCore/inspector/ContentSearchUtils.h
+++ b/Source/WebCore/inspector/ContentSearchUtils.h
@@ -45,9 +45,9 @@
RegularExpression createSearchRegex(const String& query, bool caseSensitive, bool isRegex);
int countRegularExpressionMatches(const RegularExpression&, const String&);
-PassRefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> > searchInTextByLines(const String& text, const String& query, const bool caseSensitive, const bool isRegex);
+PassRefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch>> searchInTextByLines(const String& text, const String& query, const bool caseSensitive, const bool isRegex);
TextPosition textPositionFromOffset(size_t offset, const Vector<size_t>& lineEndings);
-PassOwnPtr<Vector<size_t> > lineEndings(const String&);
+PassOwnPtr<Vector<size_t>> lineEndings(const String&);
String findScriptSourceURL(const String& content);
String findScriptSourceMapURL(const String& content);
diff --git a/Source/WebCore/inspector/DOMPatchSupport.cpp b/Source/WebCore/inspector/DOMPatchSupport.cpp
index 3ce234f..4479d8a 100644
--- a/Source/WebCore/inspector/DOMPatchSupport.cpp
+++ b/Source/WebCore/inspector/DOMPatchSupport.cpp
@@ -68,7 +68,7 @@
String m_sha1;
String m_attrsSHA1;
Node* m_node;
- Vector<OwnPtr<Digest> > m_children;
+ Vector<OwnPtr<Digest>> m_children;
};
void DOMPatchSupport::patchDocument(Document* document, const String& markup)
@@ -143,7 +143,7 @@
// Compose the new list.
String markupCopy = markup.lower();
- Vector<OwnPtr<Digest> > newList;
+ Vector<OwnPtr<Digest>> newList;
for (Node* child = parentNode->firstChild(); child != &node; child = child->nextSibling())
newList.append(createDigest(child, 0));
for (Node* child = fragment->firstChild(); child; child = child->nextSibling()) {
@@ -214,7 +214,7 @@
}
pair<DOMPatchSupport::ResultMap, DOMPatchSupport::ResultMap>
-DOMPatchSupport::diff(const Vector<OwnPtr<Digest> >& oldList, const Vector<OwnPtr<Digest> >& newList)
+DOMPatchSupport::diff(const Vector<OwnPtr<Digest>>& oldList, const Vector<OwnPtr<Digest>>& newList)
{
ResultMap newMap(newList.size());
ResultMap oldMap(oldList.size());
@@ -245,7 +245,7 @@
newMap[newIndex].second = oldIndex;
}
- typedef HashMap<String, Vector<size_t> > DiffTable;
+ typedef HashMap<String, Vector<size_t>> DiffTable;
DiffTable newTable;
DiffTable oldTable;
@@ -301,7 +301,7 @@
return make_pair(oldMap, newMap);
}
-bool DOMPatchSupport::innerPatchChildren(ContainerNode* parentNode, const Vector<OwnPtr<Digest> >& oldList, const Vector<OwnPtr<Digest> >& newList, ExceptionCode& ec)
+bool DOMPatchSupport::innerPatchChildren(ContainerNode* parentNode, const Vector<OwnPtr<Digest>>& oldList, const Vector<OwnPtr<Digest>>& newList, ExceptionCode& ec)
{
pair<ResultMap, ResultMap> resultMaps = diff(oldList, newList);
ResultMap& oldMap = resultMaps.first;
@@ -312,7 +312,7 @@
// 1. First strip everything except for the nodes that retain. Collect pending merges.
HashMap<Digest*, Digest*> merges;
- HashSet<size_t, WTF::IntHash<size_t>, WTF::UnsignedWithZeroKeyHashTraits<size_t> > usedNewOrdinals;
+ HashSet<size_t, WTF::IntHash<size_t>, WTF::UnsignedWithZeroKeyHashTraits<size_t>> usedNewOrdinals;
for (size_t i = 0; i < oldList.size(); ++i) {
if (oldMap[i].first) {
if (!usedNewOrdinals.contains(oldMap[i].second)) {
@@ -351,7 +351,7 @@
}
// Mark retained nodes as used, do not reuse node more than once.
- HashSet<size_t, WTF::IntHash<size_t>, WTF::UnsignedWithZeroKeyHashTraits<size_t> > usedOldOrdinals;
+ HashSet<size_t, WTF::IntHash<size_t>, WTF::UnsignedWithZeroKeyHashTraits<size_t>> usedOldOrdinals;
for (size_t i = 0; i < newList.size(); ++i) {
if (!newMap[i].first)
continue;
diff --git a/Source/WebCore/inspector/DOMPatchSupport.h b/Source/WebCore/inspector/DOMPatchSupport.h
index 7a822dd..5a2ca05 100644
--- a/Source/WebCore/inspector/DOMPatchSupport.h
+++ b/Source/WebCore/inspector/DOMPatchSupport.h
@@ -61,12 +61,12 @@
private:
struct Digest;
- typedef Vector<pair<Digest*, size_t> > ResultMap;
+ typedef Vector<pair<Digest*, size_t>> ResultMap;
typedef HashMap<String, Digest*> UnusedNodesMap;
bool innerPatchNode(Digest* oldNode, Digest* newNode, ExceptionCode&);
- std::pair<ResultMap, ResultMap> diff(const Vector<OwnPtr<Digest> >& oldChildren, const Vector<OwnPtr<Digest> >& newChildren);
- bool innerPatchChildren(ContainerNode*, const Vector<OwnPtr<Digest> >& oldChildren, const Vector<OwnPtr<Digest> >& newChildren, ExceptionCode&);
+ std::pair<ResultMap, ResultMap> diff(const Vector<OwnPtr<Digest>>& oldChildren, const Vector<OwnPtr<Digest>>& newChildren);
+ bool innerPatchChildren(ContainerNode*, const Vector<OwnPtr<Digest>>& oldChildren, const Vector<OwnPtr<Digest>>& newChildren, ExceptionCode&);
PassOwnPtr<Digest> createDigest(Node*, UnusedNodesMap*);
bool insertBeforeAndMarkAsUsed(ContainerNode*, Digest*, Node* anchor, ExceptionCode&);
bool removeChildAndMoveToNew(Digest*, ExceptionCode&);
diff --git a/Source/WebCore/inspector/InjectedScript.cpp b/Source/WebCore/inspector/InjectedScript.cpp
index c255638..77f780c 100644
--- a/Source/WebCore/inspector/InjectedScript.cpp
+++ b/Source/WebCore/inspector/InjectedScript.cpp
@@ -110,7 +110,7 @@
*result = FunctionDetails::runtimeCast(resultValue);
}
-void InjectedScript::getProperties(ErrorString* errorString, const String& objectId, bool ownProperties, RefPtr<Array<PropertyDescriptor> >* properties)
+void InjectedScript::getProperties(ErrorString* errorString, const String& objectId, bool ownProperties, RefPtr<Array<PropertyDescriptor>>* properties)
{
ScriptFunctionCall function(injectedScriptObject(), "getProperties");
function.appendArgument(objectId);
@@ -125,7 +125,7 @@
*properties = Array<PropertyDescriptor>::runtimeCast(result);
}
-void InjectedScript::getInternalProperties(ErrorString* errorString, const String& objectId, RefPtr<Array<InternalPropertyDescriptor> >* properties)
+void InjectedScript::getInternalProperties(ErrorString* errorString, const String& objectId, RefPtr<Array<InternalPropertyDescriptor>>* properties)
{
ScriptFunctionCall function(injectedScriptObject(), "getInternalProperties");
function.appendArgument(objectId);
@@ -136,7 +136,7 @@
*errorString = "Internal error";
return;
}
- RefPtr<Array<InternalPropertyDescriptor> > array = Array<InternalPropertyDescriptor>::runtimeCast(result);
+ RefPtr<Array<InternalPropertyDescriptor>> array = Array<InternalPropertyDescriptor>::runtimeCast(result);
if (array->length() > 0)
*properties = array;
}
@@ -165,7 +165,7 @@
}
#if ENABLE(JAVASCRIPT_DEBUGGER)
-PassRefPtr<Array<CallFrame> > InjectedScript::wrapCallFrames(const ScriptValue& callFrames)
+PassRefPtr<Array<CallFrame>> InjectedScript::wrapCallFrames(const ScriptValue& callFrames)
{
ASSERT(!hasNoValue());
ScriptFunctionCall function(injectedScriptObject(), "wrapCallFrames");
diff --git a/Source/WebCore/inspector/InjectedScript.h b/Source/WebCore/inspector/InjectedScript.h
index e02dbc9..9b6ad2f 100644
--- a/Source/WebCore/inspector/InjectedScript.h
+++ b/Source/WebCore/inspector/InjectedScript.h
@@ -81,13 +81,13 @@
RefPtr<TypeBuilder::Runtime::RemoteObject>* result,
TypeBuilder::OptOutput<bool>* wasThrown);
void getFunctionDetails(ErrorString*, const String& functionId, RefPtr<TypeBuilder::Debugger::FunctionDetails>* result);
- void getProperties(ErrorString*, const String& objectId, bool ownProperties, RefPtr<TypeBuilder::Array<TypeBuilder::Runtime::PropertyDescriptor> >* result);
- void getInternalProperties(ErrorString*, const String& objectId, RefPtr<TypeBuilder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor> >* result);
+ void getProperties(ErrorString*, const String& objectId, bool ownProperties, RefPtr<TypeBuilder::Array<TypeBuilder::Runtime::PropertyDescriptor>>* result);
+ void getInternalProperties(ErrorString*, const String& objectId, RefPtr<TypeBuilder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor>>* result);
Node* nodeForObjectId(const String& objectId);
void releaseObject(const String& objectId);
#if ENABLE(JAVASCRIPT_DEBUGGER)
- PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > wrapCallFrames(const ScriptValue&);
+ PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame>> wrapCallFrames(const ScriptValue&);
#endif
PassRefPtr<TypeBuilder::Runtime::RemoteObject> wrapObject(const ScriptValue&, const String& groupName, bool generatePreview = false) const;
diff --git a/Source/WebCore/inspector/InjectedScriptHost.h b/Source/WebCore/inspector/InjectedScriptHost.h
index 3034c5e..b911ed0 100644
--- a/Source/WebCore/inspector/InjectedScriptHost.h
+++ b/Source/WebCore/inspector/InjectedScriptHost.h
@@ -128,7 +128,7 @@
#if ENABLE(JAVASCRIPT_DEBUGGER)
InspectorDebuggerAgent* m_debuggerAgent;
#endif
- Vector<OwnPtr<InspectableObject> > m_inspectedObjects;
+ Vector<OwnPtr<InspectableObject>> m_inspectedObjects;
OwnPtr<InspectableObject> m_defaultInspectableObject;
};
diff --git a/Source/WebCore/inspector/InspectorAgent.cpp b/Source/WebCore/inspector/InspectorAgent.cpp
index d409a97..6e98e82 100644
--- a/Source/WebCore/inspector/InspectorAgent.cpp
+++ b/Source/WebCore/inspector/InspectorAgent.cpp
@@ -124,7 +124,7 @@
if (m_pendingInspectData.first)
inspect(m_pendingInspectData.first, m_pendingInspectData.second);
- for (Vector<pair<long, String> >::iterator it = m_pendingEvaluateTestCommands.begin(); m_frontend && it != m_pendingEvaluateTestCommands.end(); ++it)
+ for (Vector<pair<long, String>>::iterator it = m_pendingEvaluateTestCommands.begin(); m_frontend && it != m_pendingEvaluateTestCommands.end(); ++it)
m_frontend->inspector()->evaluateForTestInFrontend(static_cast<int>((*it).first), (*it).second);
m_pendingEvaluateTestCommands.clear();
}
diff --git a/Source/WebCore/inspector/InspectorApplicationCacheAgent.cpp b/Source/WebCore/inspector/InspectorApplicationCacheAgent.cpp
index a4d15fb..7208fe0 100644
--- a/Source/WebCore/inspector/InspectorApplicationCacheAgent.cpp
+++ b/Source/WebCore/inspector/InspectorApplicationCacheAgent.cpp
@@ -104,7 +104,7 @@
m_frontend->networkStateUpdated(isNowOnline);
}
-void InspectorApplicationCacheAgent::getFramesWithManifests(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::ApplicationCache::FrameWithManifest> >& result)
+void InspectorApplicationCacheAgent::getFramesWithManifests(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::ApplicationCache::FrameWithManifest>>& result)
{
result = TypeBuilder::Array<TypeBuilder::ApplicationCache::FrameWithManifest>::create();
@@ -172,9 +172,9 @@
.release();
}
-PassRefPtr<TypeBuilder::Array<TypeBuilder::ApplicationCache::ApplicationCacheResource> > InspectorApplicationCacheAgent::buildArrayForApplicationCacheResources(const ApplicationCacheHost::ResourceInfoList& applicationCacheResources)
+PassRefPtr<TypeBuilder::Array<TypeBuilder::ApplicationCache::ApplicationCacheResource>> InspectorApplicationCacheAgent::buildArrayForApplicationCacheResources(const ApplicationCacheHost::ResourceInfoList& applicationCacheResources)
{
- RefPtr<TypeBuilder::Array<TypeBuilder::ApplicationCache::ApplicationCacheResource> > resources = TypeBuilder::Array<TypeBuilder::ApplicationCache::ApplicationCacheResource>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::ApplicationCache::ApplicationCacheResource>> resources = TypeBuilder::Array<TypeBuilder::ApplicationCache::ApplicationCacheResource>::create();
ApplicationCacheHost::ResourceInfoList::const_iterator end = applicationCacheResources.end();
ApplicationCacheHost::ResourceInfoList::const_iterator it = applicationCacheResources.begin();
diff --git a/Source/WebCore/inspector/InspectorApplicationCacheAgent.h b/Source/WebCore/inspector/InspectorApplicationCacheAgent.h
index 33b89c2..b0589cb 100644
--- a/Source/WebCore/inspector/InspectorApplicationCacheAgent.h
+++ b/Source/WebCore/inspector/InspectorApplicationCacheAgent.h
@@ -69,14 +69,14 @@
// ApplicationCache API for InspectorFrontend
virtual void enable(ErrorString*);
- virtual void getFramesWithManifests(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::ApplicationCache::FrameWithManifest> >& result);
+ virtual void getFramesWithManifests(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::ApplicationCache::FrameWithManifest>>& result);
virtual void getManifestForFrame(ErrorString*, const String& frameId, String* manifestURL);
virtual void getApplicationCacheForFrame(ErrorString*, const String& frameId, RefPtr<TypeBuilder::ApplicationCache::ApplicationCache>&);
private:
InspectorApplicationCacheAgent(InstrumentingAgents*, InspectorCompositeState*, InspectorPageAgent*);
PassRefPtr<TypeBuilder::ApplicationCache::ApplicationCache> buildObjectForApplicationCache(const ApplicationCacheHost::ResourceInfoList&, const ApplicationCacheHost::CacheInfo&);
- PassRefPtr<TypeBuilder::Array<TypeBuilder::ApplicationCache::ApplicationCacheResource> > buildArrayForApplicationCacheResources(const ApplicationCacheHost::ResourceInfoList&);
+ PassRefPtr<TypeBuilder::Array<TypeBuilder::ApplicationCache::ApplicationCacheResource>> buildArrayForApplicationCacheResources(const ApplicationCacheHost::ResourceInfoList&);
PassRefPtr<TypeBuilder::ApplicationCache::ApplicationCacheResource> buildObjectForApplicationCacheResource(const ApplicationCacheHost::ResourceInfo&);
DocumentLoader* assertFrameWithDocumentLoader(ErrorString*, String frameId);
diff --git a/Source/WebCore/inspector/InspectorBaseAgent.h b/Source/WebCore/inspector/InspectorBaseAgent.h
index 665fdd6..66f39d6 100644
--- a/Source/WebCore/inspector/InspectorBaseAgent.h
+++ b/Source/WebCore/inspector/InspectorBaseAgent.h
@@ -76,7 +76,7 @@
void discardAgents();
private:
- Vector<OwnPtr<InspectorBaseAgentInterface> > m_agents;
+ Vector<OwnPtr<InspectorBaseAgentInterface>> m_agents;
};
template<typename T>
diff --git a/Source/WebCore/inspector/InspectorCSSAgent.cpp b/Source/WebCore/inspector/InspectorCSSAgent.cpp
index 37ca6da..26b4274 100644
--- a/Source/WebCore/inspector/InspectorCSSAgent.cpp
+++ b/Source/WebCore/inspector/InspectorCSSAgent.cpp
@@ -213,7 +213,7 @@
PassRefPtr<TypeBuilder::CSS::SelectorProfile> SelectorProfile::toInspectorObject() const
{
- RefPtr<TypeBuilder::Array<TypeBuilder::CSS::SelectorProfileEntry> > selectorProfileData = TypeBuilder::Array<TypeBuilder::CSS::SelectorProfileEntry>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::CSS::SelectorProfileEntry>> selectorProfileData = TypeBuilder::Array<TypeBuilder::CSS::SelectorProfileEntry>::create();
for (RuleMatchingStatsMap::const_iterator it = m_ruleMatchingStats.begin(); it != m_ruleMatchingStats.end(); ++it) {
RefPtr<TypeBuilder::CSS::SelectorProfileEntry> entry = TypeBuilder::CSS::SelectorProfileEntry::create()
.setSelector(it->value.selector)
@@ -273,7 +273,7 @@
void UpdateRegionLayoutTask::onTimer(Timer<UpdateRegionLayoutTask>*)
{
// The timer is stopped on m_cssAgent destruction, so this method will never be called after m_cssAgent has been destroyed.
- Vector<std::pair<WebKitNamedFlow*, int> > namedFlows;
+ Vector<std::pair<WebKitNamedFlow*, int>> namedFlows;
for (HashMap<WebKitNamedFlow*, int>::iterator it = m_namedFlows.begin(), end = m_namedFlows.end(); it != end; ++it)
namedFlows.append(std::make_pair(it->key, it->value));
@@ -803,7 +803,7 @@
}
}
-void InspectorCSSAgent::getMatchedStylesForNode(ErrorString* errorString, int nodeId, const bool* includePseudo, const bool* includeInherited, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::RuleMatch> >& matchedCSSRules, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::PseudoIdMatches> >& pseudoIdMatches, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::InheritedStyleEntry> >& inheritedEntries)
+void InspectorCSSAgent::getMatchedStylesForNode(ErrorString* errorString, int nodeId, const bool* includePseudo, const bool* includeInherited, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::RuleMatch>>& matchedCSSRules, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::PseudoIdMatches>>& pseudoIdMatches, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::InheritedStyleEntry>>& inheritedEntries)
{
Element* element = elementForId(errorString, nodeId);
if (!element)
@@ -811,14 +811,14 @@
// Matched rules.
StyleResolver& styleResolver = element->document().ensureStyleResolver();
- Vector<RefPtr<StyleRuleBase> > matchedRules = styleResolver.styleRulesForElement(element, StyleResolver::AllCSSRules);
+ Vector<RefPtr<StyleRuleBase>> matchedRules = styleResolver.styleRulesForElement(element, StyleResolver::AllCSSRules);
matchedCSSRules = buildArrayForMatchedRuleList(matchedRules, styleResolver, element);
// Pseudo elements.
if (!includePseudo || *includePseudo) {
- RefPtr<TypeBuilder::Array<TypeBuilder::CSS::PseudoIdMatches> > pseudoElements = TypeBuilder::Array<TypeBuilder::CSS::PseudoIdMatches>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::CSS::PseudoIdMatches>> pseudoElements = TypeBuilder::Array<TypeBuilder::CSS::PseudoIdMatches>::create();
for (PseudoId pseudoId = FIRST_PUBLIC_PSEUDOID; pseudoId < AFTER_LAST_INTERNAL_PSEUDOID; pseudoId = static_cast<PseudoId>(pseudoId + 1)) {
- Vector<RefPtr<StyleRuleBase> > matchedRules = styleResolver.pseudoStyleRulesForElement(element, pseudoId, StyleResolver::AllCSSRules);
+ Vector<RefPtr<StyleRuleBase>> matchedRules = styleResolver.pseudoStyleRulesForElement(element, pseudoId, StyleResolver::AllCSSRules);
if (!matchedRules.isEmpty()) {
RefPtr<TypeBuilder::CSS::PseudoIdMatches> matches = TypeBuilder::CSS::PseudoIdMatches::create()
.setPseudoId(static_cast<int>(pseudoId))
@@ -832,11 +832,11 @@
// Inherited styles.
if (!includeInherited || *includeInherited) {
- RefPtr<TypeBuilder::Array<TypeBuilder::CSS::InheritedStyleEntry> > entries = TypeBuilder::Array<TypeBuilder::CSS::InheritedStyleEntry>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::CSS::InheritedStyleEntry>> entries = TypeBuilder::Array<TypeBuilder::CSS::InheritedStyleEntry>::create();
Element* parentElement = element->parentElement();
while (parentElement) {
StyleResolver& parentStyleResolver = parentElement->document().ensureStyleResolver();
- Vector<RefPtr<StyleRuleBase> > parentMatchedRules = parentStyleResolver.styleRulesForElement(parentElement, StyleResolver::AllCSSRules);
+ Vector<RefPtr<StyleRuleBase>> parentMatchedRules = parentStyleResolver.styleRulesForElement(parentElement, StyleResolver::AllCSSRules);
RefPtr<TypeBuilder::CSS::InheritedStyleEntry> entry = TypeBuilder::CSS::InheritedStyleEntry::create()
.setMatchedCSSRules(buildArrayForMatchedRuleList(parentMatchedRules, styleResolver, parentElement));
if (parentElement->style() && parentElement->style()->length()) {
@@ -868,7 +868,7 @@
attributesStyle = attributes ? attributes.release() : 0;
}
-void InspectorCSSAgent::getComputedStyleForNode(ErrorString* errorString, int nodeId, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty> >& style)
+void InspectorCSSAgent::getComputedStyleForNode(ErrorString* errorString, int nodeId, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty>>& style)
{
Element* element = elementForId(errorString, nodeId);
if (!element)
@@ -879,7 +879,7 @@
style = inspectorStyle->buildArrayForComputedStyle();
}
-void InspectorCSSAgent::getAllStyleSheets(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSStyleSheetHeader> >& styleInfos)
+void InspectorCSSAgent::getAllStyleSheets(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSStyleSheetHeader>>& styleInfos)
{
styleInfos = TypeBuilder::Array<TypeBuilder::CSS::CSSStyleSheetHeader>::create();
Vector<Document*> documents = m_domAgent->documents();
@@ -1013,9 +1013,9 @@
result = inspectorStyleSheet->buildObjectForRule(rule);
}
-void InspectorCSSAgent::getSupportedCSSProperties(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSPropertyInfo> >& cssProperties)
+void InspectorCSSAgent::getSupportedCSSProperties(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSPropertyInfo>>& cssProperties)
{
- RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSPropertyInfo> > properties = TypeBuilder::Array<TypeBuilder::CSS::CSSPropertyInfo>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSPropertyInfo>> properties = TypeBuilder::Array<TypeBuilder::CSS::CSSPropertyInfo>::create();
for (int i = firstCSSProperty; i <= lastCSSProperty; ++i) {
CSSPropertyID id = convertToCSSPropertyID(i);
RefPtr<TypeBuilder::CSS::CSSPropertyInfo> property = TypeBuilder::CSS::CSSPropertyInfo::create()
@@ -1026,7 +1026,7 @@
properties->addItem(property.release());
continue;
}
- RefPtr<TypeBuilder::Array<String> > longhands = TypeBuilder::Array<String>::create();
+ RefPtr<TypeBuilder::Array<String>> longhands = TypeBuilder::Array<String>::create();
for (unsigned j = 0; j < shorthand.length(); ++j) {
CSSPropertyID longhandID = shorthand.properties()[j];
longhands->addItem(getPropertyNameString(longhandID));
@@ -1057,7 +1057,7 @@
element->document().styleResolverChanged(RecalcStyleImmediately);
}
-void InspectorCSSAgent::getNamedFlowCollection(ErrorString* errorString, int documentNodeId, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::NamedFlow> >& result)
+void InspectorCSSAgent::getNamedFlowCollection(ErrorString* errorString, int documentNodeId, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::NamedFlow>>& result)
{
Document* document = m_domAgent->assertDocument(errorString, documentNodeId);
if (!document)
@@ -1065,10 +1065,10 @@
m_namedFlowCollectionsRequested.add(documentNodeId);
- Vector<RefPtr<WebKitNamedFlow> > namedFlowsVector = document->namedFlows()->namedFlows();
- RefPtr<TypeBuilder::Array<TypeBuilder::CSS::NamedFlow> > namedFlows = TypeBuilder::Array<TypeBuilder::CSS::NamedFlow>::create();
+ Vector<RefPtr<WebKitNamedFlow>> namedFlowsVector = document->namedFlows()->namedFlows();
+ RefPtr<TypeBuilder::Array<TypeBuilder::CSS::NamedFlow>> namedFlows = TypeBuilder::Array<TypeBuilder::CSS::NamedFlow>::create();
- for (Vector<RefPtr<WebKitNamedFlow> >::iterator it = namedFlowsVector.begin(); it != namedFlowsVector.end(); ++it)
+ for (Vector<RefPtr<WebKitNamedFlow>>::iterator it = namedFlowsVector.begin(); it != namedFlowsVector.end(); ++it)
namedFlows->addItem(buildObjectForNamedFlow(errorString, it->get(), documentNodeId));
result = namedFlows.release();
@@ -1292,9 +1292,9 @@
return inspectorStyleSheet ? inspectorStyleSheet->buildObjectForRule(rule) : 0;
}
-PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSRule> > InspectorCSSAgent::buildArrayForRuleList(CSSRuleList* ruleList)
+PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSRule>> InspectorCSSAgent::buildArrayForRuleList(CSSRuleList* ruleList)
{
- RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSRule> > result = TypeBuilder::Array<TypeBuilder::CSS::CSSRule>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSRule>> result = TypeBuilder::Array<TypeBuilder::CSS::CSSRule>::create();
if (!ruleList)
return result.release();
@@ -1308,9 +1308,9 @@
return result.release();
}
-PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::RuleMatch> > InspectorCSSAgent::buildArrayForMatchedRuleList(const Vector<RefPtr<StyleRuleBase> >& matchedRules, StyleResolver& styleResolver, Element* element)
+PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::RuleMatch>> InspectorCSSAgent::buildArrayForMatchedRuleList(const Vector<RefPtr<StyleRuleBase>>& matchedRules, StyleResolver& styleResolver, Element* element)
{
- RefPtr<TypeBuilder::Array<TypeBuilder::CSS::RuleMatch> > result = TypeBuilder::Array<TypeBuilder::CSS::RuleMatch>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::CSS::RuleMatch>> result = TypeBuilder::Array<TypeBuilder::CSS::RuleMatch>::create();
for (unsigned i = 0; i < matchedRules.size(); ++i) {
if (!matchedRules[i]->isStyleRule())
@@ -1319,7 +1319,7 @@
RefPtr<TypeBuilder::CSS::CSSRule> ruleObject = buildObjectForRule(matchedStyleRule, styleResolver);
if (!ruleObject)
continue;
- RefPtr<TypeBuilder::Array<int> > matchingSelectors = TypeBuilder::Array<int>::create();
+ RefPtr<TypeBuilder::Array<int>> matchingSelectors = TypeBuilder::Array<int>::create();
const CSSSelectorList& selectorList = matchedStyleRule->selectorList();
long index = 0;
for (const CSSSelector* selector = selectorList.first(); selector; selector = CSSSelectorList::next(selector)) {
@@ -1354,9 +1354,9 @@
return inspectorStyle->buildObjectForStyle();
}
-PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::Region> > InspectorCSSAgent::buildArrayForRegions(ErrorString* errorString, PassRefPtr<NodeList> regionList, int documentNodeId)
+PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::Region>> InspectorCSSAgent::buildArrayForRegions(ErrorString* errorString, PassRefPtr<NodeList> regionList, int documentNodeId)
{
- RefPtr<TypeBuilder::Array<TypeBuilder::CSS::Region> > regions = TypeBuilder::Array<TypeBuilder::CSS::Region>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::CSS::Region>> regions = TypeBuilder::Array<TypeBuilder::CSS::Region>::create();
for (unsigned i = 0; i < regionList->length(); ++i) {
TypeBuilder::CSS::Region::RegionOverset::Enum regionOverset;
@@ -1392,7 +1392,7 @@
PassRefPtr<TypeBuilder::CSS::NamedFlow> InspectorCSSAgent::buildObjectForNamedFlow(ErrorString* errorString, WebKitNamedFlow* webkitNamedFlow, int documentNodeId)
{
RefPtr<NodeList> contentList = webkitNamedFlow->getContent();
- RefPtr<TypeBuilder::Array<int> > content = TypeBuilder::Array<int>::create();
+ RefPtr<TypeBuilder::Array<int>> content = TypeBuilder::Array<int>::create();
for (unsigned i = 0; i < contentList->length(); ++i) {
// documentNodeId was previously asserted
diff --git a/Source/WebCore/inspector/InspectorCSSAgent.h b/Source/WebCore/inspector/InspectorCSSAgent.h
index 5c06eff..3c82a2f 100644
--- a/Source/WebCore/inspector/InspectorCSSAgent.h
+++ b/Source/WebCore/inspector/InspectorCSSAgent.h
@@ -111,10 +111,10 @@
void didChangeRegionOverset(Document*, WebKitNamedFlow*);
void regionOversetChanged(WebKitNamedFlow*, int documentNodeId);
- virtual void getComputedStyleForNode(ErrorString*, int nodeId, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty> >&);
+ virtual void getComputedStyleForNode(ErrorString*, int nodeId, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty>>&);
virtual void getInlineStylesForNode(ErrorString*, int nodeId, RefPtr<TypeBuilder::CSS::CSSStyle>& inlineStyle, RefPtr<TypeBuilder::CSS::CSSStyle>& attributes);
- virtual void getMatchedStylesForNode(ErrorString*, int nodeId, const bool* includePseudo, const bool* includeInherited, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::RuleMatch> >& matchedCSSRules, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::PseudoIdMatches> >& pseudoIdMatches, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::InheritedStyleEntry> >& inheritedEntries);
- virtual void getAllStyleSheets(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSStyleSheetHeader> >& styleSheetInfos);
+ virtual void getMatchedStylesForNode(ErrorString*, int nodeId, const bool* includePseudo, const bool* includeInherited, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::RuleMatch>>& matchedCSSRules, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::PseudoIdMatches>>& pseudoIdMatches, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::InheritedStyleEntry>>& inheritedEntries);
+ virtual void getAllStyleSheets(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSStyleSheetHeader>>& styleSheetInfos);
virtual void getStyleSheet(ErrorString*, const String& styleSheetId, RefPtr<TypeBuilder::CSS::CSSStyleSheetBody>& result);
virtual void getStyleSheetText(ErrorString*, const String& styleSheetId, String* result);
virtual void setStyleSheetText(ErrorString*, const String& styleSheetId, const String& text);
@@ -123,9 +123,9 @@
virtual void toggleProperty(ErrorString*, const RefPtr<InspectorObject>& styleId, int propertyIndex, bool disable, RefPtr<TypeBuilder::CSS::CSSStyle>& result);
virtual void setRuleSelector(ErrorString*, const RefPtr<InspectorObject>& ruleId, const String& selector, RefPtr<TypeBuilder::CSS::CSSRule>& result);
virtual void addRule(ErrorString*, int contextNodeId, const String& selector, RefPtr<TypeBuilder::CSS::CSSRule>& result);
- virtual void getSupportedCSSProperties(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSPropertyInfo> >& result);
+ virtual void getSupportedCSSProperties(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSPropertyInfo>>& result);
virtual void forcePseudoState(ErrorString*, int nodeId, const RefPtr<InspectorArray>& forcedPseudoClasses);
- virtual void getNamedFlowCollection(ErrorString*, int documentNodeId, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::NamedFlow> >& result);
+ virtual void getNamedFlowCollection(ErrorString*, int documentNodeId, RefPtr<TypeBuilder::Array<TypeBuilder::CSS::NamedFlow>>& result);
virtual void startSelectorProfiler(ErrorString*);
virtual void stopSelectorProfiler(ErrorString*, RefPtr<TypeBuilder::CSS::SelectorProfile>&);
@@ -147,10 +147,10 @@
InspectorCSSAgent(InstrumentingAgents*, InspectorCompositeState*, InspectorDOMAgent*);
- typedef HashMap<String, RefPtr<InspectorStyleSheet> > IdToInspectorStyleSheet;
- typedef HashMap<CSSStyleSheet*, RefPtr<InspectorStyleSheet> > CSSStyleSheetToInspectorStyleSheet;
- typedef HashMap<Node*, RefPtr<InspectorStyleSheetForInlineStyle> > NodeToInspectorStyleSheet; // bogus "stylesheets" with elements' inline styles
- typedef HashMap<RefPtr<Document>, RefPtr<InspectorStyleSheet> > DocumentToViaInspectorStyleSheet; // "via inspector" stylesheets
+ typedef HashMap<String, RefPtr<InspectorStyleSheet>> IdToInspectorStyleSheet;
+ typedef HashMap<CSSStyleSheet*, RefPtr<InspectorStyleSheet>> CSSStyleSheetToInspectorStyleSheet;
+ typedef HashMap<Node*, RefPtr<InspectorStyleSheetForInlineStyle>> NodeToInspectorStyleSheet; // bogus "stylesheets" with elements' inline styles
+ typedef HashMap<RefPtr<Document>, RefPtr<InspectorStyleSheet>> DocumentToViaInspectorStyleSheet; // "via inspector" stylesheets
typedef HashMap<int, unsigned> NodeIdToForcedPseudoState;
void resetNonPersistentData();
@@ -166,10 +166,10 @@
PassRefPtr<TypeBuilder::CSS::CSSRule> buildObjectForRule(StyleRule*, StyleResolver&);
PassRefPtr<TypeBuilder::CSS::CSSRule> buildObjectForRule(CSSStyleRule*);
- PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSRule> > buildArrayForRuleList(CSSRuleList*);
- PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::RuleMatch> > buildArrayForMatchedRuleList(const Vector<RefPtr<StyleRuleBase> >&, StyleResolver&, Element*);
+ PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSRule>> buildArrayForRuleList(CSSRuleList*);
+ PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::RuleMatch>> buildArrayForMatchedRuleList(const Vector<RefPtr<StyleRuleBase>>&, StyleResolver&, Element*);
PassRefPtr<TypeBuilder::CSS::CSSStyle> buildObjectForAttributesStyle(Element*);
- PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::Region> > buildArrayForRegions(ErrorString*, PassRefPtr<NodeList>, int documentNodeId);
+ PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::Region>> buildArrayForRegions(ErrorString*, PassRefPtr<NodeList>, int documentNodeId);
PassRefPtr<TypeBuilder::CSS::NamedFlow> buildObjectForNamedFlow(ErrorString*, WebKitNamedFlow*, int documentNodeId);
// InspectorDOMAgent::DOMListener implementation
diff --git a/Source/WebCore/inspector/InspectorConsoleAgent.h b/Source/WebCore/inspector/InspectorConsoleAgent.h
index 89ca0009..b4285a1 100644
--- a/Source/WebCore/inspector/InspectorConsoleAgent.h
+++ b/Source/WebCore/inspector/InspectorConsoleAgent.h
@@ -105,7 +105,7 @@
InjectedScriptManager* m_injectedScriptManager;
InspectorFrontend::Console* m_frontend;
ConsoleMessage* m_previousMessage;
- Vector<OwnPtr<ConsoleMessage> > m_consoleMessages;
+ Vector<OwnPtr<ConsoleMessage>> m_consoleMessages;
int m_expiredConsoleMessageCount;
HashMap<String, unsigned> m_counts;
HashMap<String, double> m_times;
diff --git a/Source/WebCore/inspector/InspectorDOMAgent.cpp b/Source/WebCore/inspector/InspectorDOMAgent.cpp
index d58ef0d..0081363 100644
--- a/Source/WebCore/inspector/InspectorDOMAgent.cpp
+++ b/Source/WebCore/inspector/InspectorDOMAgent.cpp
@@ -179,7 +179,7 @@
private:
InspectorDOMAgent* m_domAgent;
Timer<RevalidateStyleAttributeTask> m_timer;
- HashSet<RefPtr<Element> > m_elements;
+ HashSet<RefPtr<Element>> m_elements;
};
RevalidateStyleAttributeTask::RevalidateStyleAttributeTask(InspectorDOMAgent* domAgent)
@@ -199,7 +199,7 @@
{
// The timer is stopped on m_domAgent destruction, so this method will never be called after m_domAgent has been destroyed.
Vector<Element*> elements;
- for (HashSet<RefPtr<Element> >::iterator it = m_elements.begin(), end = m_elements.end(); it != end; ++it)
+ for (HashSet<RefPtr<Element>>::iterator it = m_elements.begin(), end = m_elements.end(); it != end; ++it)
elements.append(it->get());
m_domAgent->styleAttributeInvalidated(elements);
@@ -472,7 +472,7 @@
return;
}
- RefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node> > children = buildArrayForContainerChildren(node, depth, nodeMap);
+ RefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node>> children = buildArrayForContainerChildren(node, depth, nodeMap);
m_frontend->setChildNodes(nodeId, children.release());
}
@@ -598,7 +598,7 @@
OwnPtr<NodeToIdMap> newMap = adoptPtr(new NodeToIdMap);
danglingMap = newMap.get();
m_danglingNodeToIdMaps.append(newMap.release());
- RefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node> > children = TypeBuilder::Array<TypeBuilder::DOM::Node>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node>> children = TypeBuilder::Array<TypeBuilder::DOM::Node>::create();
children->addItem(buildObjectForNode(node, 0, danglingMap));
m_frontend->setChildNodes(0, children);
break;
@@ -825,7 +825,7 @@
m_domEditor->replaceWholeText(toText(node), value, errorString);
}
-void InspectorDOMAgent::getEventListenersForNode(ErrorString* errorString, int nodeId, const String* objectGroup, RefPtr<TypeBuilder::Array<TypeBuilder::DOM::EventListener> >& listenersArray)
+void InspectorDOMAgent::getEventListenersForNode(ErrorString* errorString, int nodeId, const String* objectGroup, RefPtr<TypeBuilder::Array<TypeBuilder::DOM::EventListener>>& listenersArray)
{
listenersArray = TypeBuilder::Array<TypeBuilder::DOM::EventListener>::create();
Node* node = assertNode(errorString, nodeId);
@@ -1008,7 +1008,7 @@
}
*searchId = IdentifiersFactory::createIdentifier();
- SearchResults::iterator resultsIt = m_searchResults.add(*searchId, Vector<RefPtr<Node> >()).iterator;
+ SearchResults::iterator resultsIt = m_searchResults.add(*searchId, Vector<RefPtr<Node>>()).iterator;
for (ListHashSet<Node*>::iterator it = resultCollector.begin(); it != resultCollector.end(); ++it)
resultsIt->value.append(*it);
@@ -1016,7 +1016,7 @@
*resultCount = resultsIt->value.size();
}
-void InspectorDOMAgent::getSearchResults(ErrorString* errorString, const String& searchId, int fromIndex, int toIndex, RefPtr<TypeBuilder::Array<int> >& nodeIds)
+void InspectorDOMAgent::getSearchResults(ErrorString* errorString, const String& searchId, int fromIndex, int toIndex, RefPtr<TypeBuilder::Array<int>>& nodeIds)
{
SearchResults::iterator it = m_searchResults.find(searchId);
if (it == m_searchResults.end()) {
@@ -1321,7 +1321,7 @@
result = object;
}
-void InspectorDOMAgent::getAttributes(ErrorString* errorString, int nodeId, RefPtr<TypeBuilder::Array<String> >& result)
+void InspectorDOMAgent::getAttributes(ErrorString* errorString, int nodeId, RefPtr<TypeBuilder::Array<String>>& result)
{
Element* element = assertElement(errorString, nodeId);
if (!element)
@@ -1392,7 +1392,7 @@
if (node->isContainerNode()) {
int nodeCount = innerChildNodeCount(node);
value->setChildNodeCount(nodeCount);
- RefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node> > children = buildArrayForContainerChildren(node, depth, nodesMap);
+ RefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node>> children = buildArrayForContainerChildren(node, depth, nodesMap);
if (children->length() > 0)
value->setChildren(children.release());
}
@@ -1411,7 +1411,7 @@
}
if (ShadowRoot* root = element->shadowRoot()) {
- RefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node> > shadowRoots = TypeBuilder::Array<TypeBuilder::DOM::Node>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node>> shadowRoots = TypeBuilder::Array<TypeBuilder::DOM::Node>::create();
shadowRoots->addItem(buildObjectForNode(root, 0, nodesMap));
value->setShadowRoots(shadowRoots);
}
@@ -1439,9 +1439,9 @@
return value.release();
}
-PassRefPtr<TypeBuilder::Array<String> > InspectorDOMAgent::buildArrayForElementAttributes(Element* element)
+PassRefPtr<TypeBuilder::Array<String>> InspectorDOMAgent::buildArrayForElementAttributes(Element* element)
{
- RefPtr<TypeBuilder::Array<String> > attributesValue = TypeBuilder::Array<String>::create();
+ RefPtr<TypeBuilder::Array<String>> attributesValue = TypeBuilder::Array<String>::create();
// Go through all attributes and serialize them.
if (!element->hasAttributes())
return attributesValue.release();
@@ -1455,9 +1455,9 @@
return attributesValue.release();
}
-PassRefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node> > InspectorDOMAgent::buildArrayForContainerChildren(Node* container, int depth, NodeToIdMap* nodesMap)
+PassRefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node>> InspectorDOMAgent::buildArrayForContainerChildren(Node* container, int depth, NodeToIdMap* nodesMap)
{
- RefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node> > children = TypeBuilder::Array<TypeBuilder::DOM::Node>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node>> children = TypeBuilder::Array<TypeBuilder::DOM::Node>::create();
if (depth == 0) {
// Special-case the only text child - pretend that container's children have been requested.
Node* firstChild = container->firstChild();
@@ -1697,7 +1697,7 @@
void InspectorDOMAgent::styleAttributeInvalidated(const Vector<Element*>& elements)
{
- RefPtr<TypeBuilder::Array<int> > nodeIds = TypeBuilder::Array<int>::create();
+ RefPtr<TypeBuilder::Array<int>> nodeIds = TypeBuilder::Array<int>::create();
for (unsigned i = 0, size = elements.size(); i < size; ++i) {
Element* element = elements.at(i);
int id = boundNodeId(element);
diff --git a/Source/WebCore/inspector/InspectorDOMAgent.h b/Source/WebCore/inspector/InspectorDOMAgent.h
index cf79b2e..beee343 100644
--- a/Source/WebCore/inspector/InspectorDOMAgent.h
+++ b/Source/WebCore/inspector/InspectorDOMAgent.h
@@ -122,7 +122,7 @@
// Methods called from the frontend for DOM nodes inspection.
virtual void querySelector(ErrorString*, int nodeId, const String& selectors, int* elementId);
- virtual void querySelectorAll(ErrorString*, int nodeId, const String& selectors, RefPtr<TypeBuilder::Array<int> >& result);
+ virtual void querySelectorAll(ErrorString*, int nodeId, const String& selectors, RefPtr<TypeBuilder::Array<int>>& result);
virtual void getDocument(ErrorString*, RefPtr<TypeBuilder::DOM::Node>& root);
virtual void requestChildNodes(ErrorString*, int nodeId, const int* depth);
virtual void setAttributeValue(ErrorString*, int elementId, const String& name, const String& value);
@@ -133,12 +133,12 @@
virtual void getOuterHTML(ErrorString*, int nodeId, WTF::String* outerHTML);
virtual void setOuterHTML(ErrorString*, int nodeId, const String& outerHTML);
virtual void setNodeValue(ErrorString*, int nodeId, const String& value);
- virtual void getEventListenersForNode(ErrorString*, int nodeId, const WTF::String* objectGroup, RefPtr<TypeBuilder::Array<TypeBuilder::DOM::EventListener> >& listenersArray);
+ virtual void getEventListenersForNode(ErrorString*, int nodeId, const WTF::String* objectGroup, RefPtr<TypeBuilder::Array<TypeBuilder::DOM::EventListener>>& listenersArray);
virtual void performSearch(ErrorString*, const String& whitespaceTrimmedQuery, String* searchId, int* resultCount);
- virtual void getSearchResults(ErrorString*, const String& searchId, int fromIndex, int toIndex, RefPtr<TypeBuilder::Array<int> >&);
+ virtual void getSearchResults(ErrorString*, const String& searchId, int fromIndex, int toIndex, RefPtr<TypeBuilder::Array<int>>&);
virtual void discardSearchResults(ErrorString*, const String& searchId);
virtual void resolveNode(ErrorString*, int nodeId, const String* objectGroup, RefPtr<TypeBuilder::Runtime::RemoteObject>& result);
- virtual void getAttributes(ErrorString*, int nodeId, RefPtr<TypeBuilder::Array<String> >& result);
+ virtual void getAttributes(ErrorString*, int nodeId, RefPtr<TypeBuilder::Array<String>>& result);
virtual void setInspectModeEnabled(ErrorString*, bool enabled, const RefPtr<InspectorObject>* highlightConfig);
virtual void requestNode(ErrorString*, const String& objectId, int* nodeId);
virtual void pushNodeByPathToFrontend(ErrorString*, const String& path, int* nodeId);
@@ -233,8 +233,8 @@
void descriptionForDOMEvent(Node* target, int breakpointType, bool insertion, PassRefPtr<InspectorObject> description);
PassRefPtr<TypeBuilder::DOM::Node> buildObjectForNode(Node*, int depth, NodeToIdMap*);
- PassRefPtr<TypeBuilder::Array<String> > buildArrayForElementAttributes(Element*);
- PassRefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node> > buildArrayForContainerChildren(Node* container, int depth, NodeToIdMap* nodesMap);
+ PassRefPtr<TypeBuilder::Array<String>> buildArrayForElementAttributes(Element*);
+ PassRefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node>> buildArrayForContainerChildren(Node* container, int depth, NodeToIdMap* nodesMap);
PassRefPtr<TypeBuilder::DOM::EventListener> buildObjectForEventListener(const RegisteredEventListener&, const AtomicString& eventType, Node*, const String* objectGroupId);
Node* nodeForPath(const String& path);
@@ -253,15 +253,15 @@
typedef HashMap<RefPtr<Node>, BackendNodeId> NodeToBackendIdMap;
HashMap<String, NodeToBackendIdMap> m_nodeGroupToBackendIdMap;
// Owns node mappings for dangling nodes.
- Vector<OwnPtr<NodeToIdMap> > m_danglingNodeToIdMaps;
+ Vector<OwnPtr<NodeToIdMap>> m_danglingNodeToIdMaps;
HashMap<int, Node*> m_idToNode;
HashMap<int, NodeToIdMap*> m_idToNodesMap;
HashSet<int> m_childrenRequested;
- HashMap<BackendNodeId, std::pair<Node*, String> > m_backendIdToNode;
+ HashMap<BackendNodeId, std::pair<Node*, String>> m_backendIdToNode;
int m_lastNodeId;
BackendNodeId m_lastBackendNodeId;
RefPtr<Document> m_document;
- typedef HashMap<String, Vector<RefPtr<Node> > > SearchResults;
+ typedef HashMap<String, Vector<RefPtr<Node>>> SearchResults;
SearchResults m_searchResults;
OwnPtr<RevalidateStyleAttributeTask> m_revalidateStyleAttrTask;
RefPtr<Node> m_nodeToFocus;
diff --git a/Source/WebCore/inspector/InspectorDOMStorageAgent.cpp b/Source/WebCore/inspector/InspectorDOMStorageAgent.cpp
index 98e335b..1930f3f 100644
--- a/Source/WebCore/inspector/InspectorDOMStorageAgent.cpp
+++ b/Source/WebCore/inspector/InspectorDOMStorageAgent.cpp
@@ -100,7 +100,7 @@
m_state->setBoolean(DOMStorageAgentState::domStorageAgentEnabled, false);
}
-void InspectorDOMStorageAgent::getDOMStorageItems(ErrorString* errorString, const RefPtr<InspectorObject>& storageId, RefPtr<TypeBuilder::Array<TypeBuilder::Array<String> > >& items)
+void InspectorDOMStorageAgent::getDOMStorageItems(ErrorString* errorString, const RefPtr<InspectorObject>& storageId, RefPtr<TypeBuilder::Array<TypeBuilder::Array<String>>>& items)
{
Frame* frame;
RefPtr<StorageArea> storageArea = findStorageArea(errorString, storageId, frame);
@@ -110,13 +110,13 @@
return;
}
- RefPtr<TypeBuilder::Array<TypeBuilder::Array<String> > > storageItems = TypeBuilder::Array<TypeBuilder::Array<String> >::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::Array<String>>> storageItems = TypeBuilder::Array<TypeBuilder::Array<String>>::create();
for (unsigned i = 0; i < storageArea->length(); ++i) {
String key = storageArea->key(i);
String value = storageArea->item(key);
- RefPtr<TypeBuilder::Array<String> > entry = TypeBuilder::Array<String>::create();
+ RefPtr<TypeBuilder::Array<String>> entry = TypeBuilder::Array<String>::create();
entry->addItem(key);
entry->addItem(value);
storageItems->addItem(entry.release());
diff --git a/Source/WebCore/inspector/InspectorDOMStorageAgent.h b/Source/WebCore/inspector/InspectorDOMStorageAgent.h
index ec76ea5..3c8f00b 100644
--- a/Source/WebCore/inspector/InspectorDOMStorageAgent.h
+++ b/Source/WebCore/inspector/InspectorDOMStorageAgent.h
@@ -64,7 +64,7 @@
// Called from the front-end.
virtual void enable(ErrorString*);
virtual void disable(ErrorString*);
- virtual void getDOMStorageItems(ErrorString*, const RefPtr<InspectorObject>& storageId, RefPtr<TypeBuilder::Array<TypeBuilder::Array<String> > >& items);
+ virtual void getDOMStorageItems(ErrorString*, const RefPtr<InspectorObject>& storageId, RefPtr<TypeBuilder::Array<TypeBuilder::Array<String>>>& items);
virtual void setDOMStorageItem(ErrorString*, const RefPtr<InspectorObject>& storageId, const String& key, const String& value);
virtual void removeDOMStorageItem(ErrorString*, const RefPtr<InspectorObject>& storageId, const String& key);
diff --git a/Source/WebCore/inspector/InspectorDatabaseAgent.cpp b/Source/WebCore/inspector/InspectorDatabaseAgent.cpp
index 2304a1e..7394734 100644
--- a/Source/WebCore/inspector/InspectorDatabaseAgent.cpp
+++ b/Source/WebCore/inspector/InspectorDatabaseAgent.cpp
@@ -84,12 +84,12 @@
{
SQLResultSetRowList* rowList = resultSet->rows();
- RefPtr<TypeBuilder::Array<String> > columnNames = TypeBuilder::Array<String>::create();
+ RefPtr<TypeBuilder::Array<String>> columnNames = TypeBuilder::Array<String>::create();
const Vector<String>& columns = rowList->columnNames();
for (size_t i = 0; i < columns.size(); ++i)
columnNames->addItem(columns[i]);
- RefPtr<TypeBuilder::Array<InspectorValue> > values = TypeBuilder::Array<InspectorValue>::create();
+ RefPtr<TypeBuilder::Array<InspectorValue>> values = TypeBuilder::Array<InspectorValue>::create();
const Vector<SQLValue>& data = rowList->values();
for (size_t i = 0; i < data.size(); ++i) {
const SQLValue& value = rowList->values()[i];
@@ -262,7 +262,7 @@
m_enabled = m_state->getBoolean(DatabaseAgentState::databaseAgentEnabled);
}
-void InspectorDatabaseAgent::getDatabaseTableNames(ErrorString* error, const String& databaseId, RefPtr<TypeBuilder::Array<String> >& names)
+void InspectorDatabaseAgent::getDatabaseTableNames(ErrorString* error, const String& databaseId, RefPtr<TypeBuilder::Array<String>>& names)
{
if (!m_enabled) {
*error = "Database agent is not enabled";
diff --git a/Source/WebCore/inspector/InspectorDatabaseAgent.h b/Source/WebCore/inspector/InspectorDatabaseAgent.h
index c24a830..d3453a0 100644
--- a/Source/WebCore/inspector/InspectorDatabaseAgent.h
+++ b/Source/WebCore/inspector/InspectorDatabaseAgent.h
@@ -65,7 +65,7 @@
// Called from the front-end.
virtual void enable(ErrorString*);
virtual void disable(ErrorString*);
- virtual void getDatabaseTableNames(ErrorString*, const String& databaseId, RefPtr<TypeBuilder::Array<String> >& names);
+ virtual void getDatabaseTableNames(ErrorString*, const String& databaseId, RefPtr<TypeBuilder::Array<String>>& names);
virtual void executeSQL(ErrorString*, const String& databaseId, const String& query, PassRefPtr<ExecuteSQLCallback>);
// Called from the injected script.
@@ -79,7 +79,7 @@
InspectorDatabaseResource* findByFileName(const String& fileName);
InspectorFrontend::Database* m_frontend;
- typedef HashMap<String, RefPtr<InspectorDatabaseResource> > DatabaseResourcesMap;
+ typedef HashMap<String, RefPtr<InspectorDatabaseResource>> DatabaseResourcesMap;
DatabaseResourcesMap m_resources;
bool m_enabled;
};
diff --git a/Source/WebCore/inspector/InspectorDebuggerAgent.cpp b/Source/WebCore/inspector/InspectorDebuggerAgent.cpp
index 50f7d4c..2349a88 100644
--- a/Source/WebCore/inspector/InspectorDebuggerAgent.cpp
+++ b/Source/WebCore/inspector/InspectorDebuggerAgent.cpp
@@ -283,7 +283,7 @@
return true;
}
-void InspectorDebuggerAgent::setBreakpointByUrl(ErrorString* errorString, int lineNumber, const String* const optionalURL, const String* const optionalURLRegex, const int* const optionalColumnNumber, const RefPtr<InspectorObject>* options, TypeBuilder::Debugger::BreakpointId* outBreakpointId, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::Location> >& locations)
+void InspectorDebuggerAgent::setBreakpointByUrl(ErrorString* errorString, int lineNumber, const String* const optionalURL, const String* const optionalURLRegex, const int* const optionalColumnNumber, const RefPtr<InspectorObject>* options, TypeBuilder::Debugger::BreakpointId* outBreakpointId, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::Location>>& locations)
{
locations = Array<TypeBuilder::Debugger::Location>::create();
if (!optionalURL == !optionalURLRegex) {
@@ -446,7 +446,7 @@
return value->asObject();
}
-void InspectorDebuggerAgent::searchInContent(ErrorString* error, const String& scriptId, const String& query, const bool* const optionalCaseSensitive, const bool* const optionalIsRegex, RefPtr<Array<WebCore::TypeBuilder::Page::SearchMatch> >& results)
+void InspectorDebuggerAgent::searchInContent(ErrorString* error, const String& scriptId, const String& query, const bool* const optionalCaseSensitive, const bool* const optionalIsRegex, RefPtr<Array<WebCore::TypeBuilder::Page::SearchMatch>>& results)
{
bool isRegex = optionalIsRegex ? *optionalIsRegex : false;
bool caseSensitive = optionalCaseSensitive ? *optionalCaseSensitive : false;
@@ -458,7 +458,7 @@
*error = "No script for id: " + scriptId;
}
-void InspectorDebuggerAgent::setScriptSource(ErrorString* error, const String& scriptId, const String& newContent, const bool* const preview, RefPtr<Array<TypeBuilder::Debugger::CallFrame> >& newCallFrames, RefPtr<InspectorObject>& result)
+void InspectorDebuggerAgent::setScriptSource(ErrorString* error, const String& scriptId, const String& newContent, const bool* const preview, RefPtr<Array<TypeBuilder::Debugger::CallFrame>>& newCallFrames, RefPtr<InspectorObject>& result)
{
bool previewOnly = preview && *preview;
ScriptObject resultObject;
@@ -664,7 +664,7 @@
}
}
-PassRefPtr<Array<TypeBuilder::Debugger::CallFrame> > InspectorDebuggerAgent::currentCallFrames()
+PassRefPtr<Array<TypeBuilder::Debugger::CallFrame>> InspectorDebuggerAgent::currentCallFrames()
{
if (!m_pausedScriptState)
return Array<TypeBuilder::Debugger::CallFrame>::create();
diff --git a/Source/WebCore/inspector/InspectorDebuggerAgent.h b/Source/WebCore/inspector/InspectorDebuggerAgent.h
index 9bd2f4e..b1619e1 100644
--- a/Source/WebCore/inspector/InspectorDebuggerAgent.h
+++ b/Source/WebCore/inspector/InspectorDebuggerAgent.h
@@ -84,13 +84,13 @@
virtual void disable(ErrorString*);
virtual void setBreakpointsActive(ErrorString*, bool active);
- virtual void setBreakpointByUrl(ErrorString*, int lineNumber, const String* optionalURL, const String* optionalURLRegex, const int* optionalColumnNumber, const RefPtr<InspectorObject>* options, TypeBuilder::Debugger::BreakpointId*, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::Location> >& locations);
+ virtual void setBreakpointByUrl(ErrorString*, int lineNumber, const String* optionalURL, const String* optionalURLRegex, const int* optionalColumnNumber, const RefPtr<InspectorObject>* options, TypeBuilder::Debugger::BreakpointId*, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::Location>>& locations);
virtual void setBreakpoint(ErrorString*, const RefPtr<InspectorObject>& location, const RefPtr<InspectorObject>* options, TypeBuilder::Debugger::BreakpointId*, RefPtr<TypeBuilder::Debugger::Location>& actualLocation);
virtual void removeBreakpoint(ErrorString*, const String& breakpointId);
virtual void continueToLocation(ErrorString*, const RefPtr<InspectorObject>& location);
- virtual void searchInContent(ErrorString*, const String& scriptId, const String& query, const bool* optionalCaseSensitive, const bool* optionalIsRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> >&);
- virtual void setScriptSource(ErrorString*, const String& scriptId, const String& newContent, const bool* preview, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> >& newCallFrames, RefPtr<InspectorObject>& result);
+ virtual void searchInContent(ErrorString*, const String& scriptId, const String& query, const bool* optionalCaseSensitive, const bool* optionalIsRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch>>&);
+ virtual void setScriptSource(ErrorString*, const String& scriptId, const String& newContent, const bool* preview, RefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame>>& newCallFrames, RefPtr<InspectorObject>& result);
virtual void getScriptSource(ErrorString*, const String& scriptId, String* scriptSource);
virtual void getFunctionDetails(ErrorString*, const String& functionId, RefPtr<TypeBuilder::Debugger::FunctionDetails>&);
virtual void pause(ErrorString*);
@@ -149,7 +149,7 @@
private:
bool enabled();
- PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame> > currentCallFrames();
+ PassRefPtr<TypeBuilder::Array<TypeBuilder::Debugger::CallFrame>> currentCallFrames();
virtual void didParseSource(const String& scriptId, const Script&);
virtual void failedToParseSource(const String& url, const String& data, int firstLine, int errorLine, const String& errorMessage);
@@ -164,7 +164,7 @@
String sourceMapURLForScript(const Script&);
typedef HashMap<String, Script> ScriptsMap;
- typedef HashMap<String, Vector<String> > BreakpointIdToDebugServerBreakpointIdsMap;
+ typedef HashMap<String, Vector<String>> BreakpointIdToDebugServerBreakpointIdsMap;
InjectedScriptManager* m_injectedScriptManager;
InspectorFrontend::Debugger* m_frontend;
diff --git a/Source/WebCore/inspector/InspectorHeapProfilerAgent.cpp b/Source/WebCore/inspector/InspectorHeapProfilerAgent.cpp
index b6e85c4..7623b22 100644
--- a/Source/WebCore/inspector/InspectorHeapProfilerAgent.cpp
+++ b/Source/WebCore/inspector/InspectorHeapProfilerAgent.cpp
@@ -120,7 +120,7 @@
*result = ScriptProfiler::hasHeapProfiler();
}
-void InspectorHeapProfilerAgent::getProfileHeaders(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::HeapProfiler::ProfileHeader> >& headers)
+void InspectorHeapProfilerAgent::getProfileHeaders(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::HeapProfiler::ProfileHeader>>& headers)
{
m_state->setBoolean(HeapProfilerAgentState::profileHeadersRequested, true);
headers = TypeBuilder::Array<TypeBuilder::HeapProfiler::ProfileHeader>::create();
diff --git a/Source/WebCore/inspector/InspectorHeapProfilerAgent.h b/Source/WebCore/inspector/InspectorHeapProfilerAgent.h
index dc31d8882..27d2a77 100644
--- a/Source/WebCore/inspector/InspectorHeapProfilerAgent.h
+++ b/Source/WebCore/inspector/InspectorHeapProfilerAgent.h
@@ -61,7 +61,7 @@
virtual void hasHeapProfiler(ErrorString*, bool*);
- virtual void getProfileHeaders(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::HeapProfiler::ProfileHeader> >&);
+ virtual void getProfileHeaders(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::HeapProfiler::ProfileHeader>>&);
virtual void getHeapSnapshot(ErrorString*, int uid);
virtual void removeProfile(ErrorString*, int uid);
@@ -77,7 +77,7 @@
private:
InspectorHeapProfilerAgent(InstrumentingAgents*, InspectorCompositeState*, InjectedScriptManager*);
- typedef HashMap<unsigned, RefPtr<ScriptHeapSnapshot> > IdToHeapSnapshotMap;
+ typedef HashMap<unsigned, RefPtr<ScriptHeapSnapshot>> IdToHeapSnapshotMap;
void resetFrontendProfiles();
diff --git a/Source/WebCore/inspector/InspectorHistory.h b/Source/WebCore/inspector/InspectorHistory.h
index cb72a4a..7224a39 100644
--- a/Source/WebCore/inspector/InspectorHistory.h
+++ b/Source/WebCore/inspector/InspectorHistory.h
@@ -79,7 +79,7 @@
void reset();
private:
- Vector<OwnPtr<Action> > m_history;
+ Vector<OwnPtr<Action>> m_history;
size_t m_afterLastActionIndex;
};
diff --git a/Source/WebCore/inspector/InspectorIndexedDBAgent.cpp b/Source/WebCore/inspector/InspectorIndexedDBAgent.cpp
index 3748fd0..453041f 100644
--- a/Source/WebCore/inspector/InspectorIndexedDBAgent.cpp
+++ b/Source/WebCore/inspector/InspectorIndexedDBAgent.cpp
@@ -128,7 +128,7 @@
}
RefPtr<DOMStringList> databaseNamesList = requestResult->domStringList();
- RefPtr<TypeBuilder::Array<String> > databaseNames = TypeBuilder::Array<String>::create();
+ RefPtr<TypeBuilder::Array<String>> databaseNames = TypeBuilder::Array<String>::create();
for (size_t i = 0; i < databaseNamesList->length(); ++i)
databaseNames->addItem(databaseNamesList->item(i));
m_requestCallback->sendSuccess(databaseNames.release());
@@ -255,7 +255,7 @@
break;
case IDBKeyPath::ArrayType: {
keyPath = KeyPath::create().setType(KeyPath::Type::Array);
- RefPtr<TypeBuilder::Array<String> > array = TypeBuilder::Array<String>::create();
+ RefPtr<TypeBuilder::Array<String>> array = TypeBuilder::Array<String>::create();
const Vector<String>& stringArray = idbKeyPath.array();
for (size_t i = 0; i < stringArray.size(); ++i)
array->addItem(stringArray[i]);
@@ -290,12 +290,12 @@
const IDBDatabaseMetadata databaseMetadata = idbDatabase->metadata();
- RefPtr<TypeBuilder::Array<TypeBuilder::IndexedDB::ObjectStore> > objectStores = TypeBuilder::Array<TypeBuilder::IndexedDB::ObjectStore>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::IndexedDB::ObjectStore>> objectStores = TypeBuilder::Array<TypeBuilder::IndexedDB::ObjectStore>::create();
for (IDBDatabaseMetadata::ObjectStoreMap::const_iterator it = databaseMetadata.objectStores.begin(); it != databaseMetadata.objectStores.end(); ++it) {
const IDBObjectStoreMetadata& objectStoreMetadata = it->value;
- RefPtr<TypeBuilder::Array<TypeBuilder::IndexedDB::ObjectStoreIndex> > indexes = TypeBuilder::Array<TypeBuilder::IndexedDB::ObjectStoreIndex>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::IndexedDB::ObjectStoreIndex>> indexes = TypeBuilder::Array<TypeBuilder::IndexedDB::ObjectStoreIndex>::create();
for (IDBObjectStoreMetadata::IndexMap::const_iterator it = objectStoreMetadata.indexes.begin(); it != objectStoreMetadata.indexes.end(); ++it) {
const IDBIndexMetadata& indexMetadata = it->value;
@@ -495,7 +495,7 @@
RefPtr<RequestDataCallback> m_requestCallback;
int m_skipCount;
unsigned m_pageSize;
- RefPtr<Array<DataEntry> > m_result;
+ RefPtr<Array<DataEntry>> m_result;
};
class DataLoader : public ExecutableWithDatabase {
diff --git a/Source/WebCore/inspector/InspectorLayerTreeAgent.cpp b/Source/WebCore/inspector/InspectorLayerTreeAgent.cpp
index e660cc3..aa3d2e2 100644
--- a/Source/WebCore/inspector/InspectorLayerTreeAgent.cpp
+++ b/Source/WebCore/inspector/InspectorLayerTreeAgent.cpp
@@ -118,7 +118,7 @@
unbindPseudoElement(pseudoElement);
}
-void InspectorLayerTreeAgent::layersForNode(ErrorString* errorString, int nodeId, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer> >& layers)
+void InspectorLayerTreeAgent::layersForNode(ErrorString* errorString, int nodeId, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer>>& layers)
{
layers = TypeBuilder::Array<TypeBuilder::LayerTree::Layer>::create();
@@ -137,7 +137,7 @@
gatherLayersUsingRenderObjectHierarchy(errorString, renderer, layers);
}
-void InspectorLayerTreeAgent::gatherLayersUsingRenderObjectHierarchy(ErrorString* errorString, RenderObject* renderer, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer> >& layers)
+void InspectorLayerTreeAgent::gatherLayersUsingRenderObjectHierarchy(ErrorString* errorString, RenderObject* renderer, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer>>& layers)
{
if (renderer->hasLayer()) {
gatherLayersUsingRenderLayerHierarchy(errorString, toRenderLayerModelObject(renderer)->layer(), layers);
@@ -148,7 +148,7 @@
gatherLayersUsingRenderObjectHierarchy(errorString, renderer, layers);
}
-void InspectorLayerTreeAgent::gatherLayersUsingRenderLayerHierarchy(ErrorString* errorString, RenderLayer* renderLayer, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer> >& layers)
+void InspectorLayerTreeAgent::gatherLayersUsingRenderLayerHierarchy(ErrorString* errorString, RenderLayer* renderLayer, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer>>& layers)
{
if (renderLayer->isComposited())
layers->addItem(buildObjectForLayer(errorString, renderLayer));
diff --git a/Source/WebCore/inspector/InspectorLayerTreeAgent.h b/Source/WebCore/inspector/InspectorLayerTreeAgent.h
index ec79187..cc09de4 100644
--- a/Source/WebCore/inspector/InspectorLayerTreeAgent.h
+++ b/Source/WebCore/inspector/InspectorLayerTreeAgent.h
@@ -67,7 +67,7 @@
// Called from the front-end.
virtual void enable(ErrorString*);
virtual void disable(ErrorString*);
- virtual void layersForNode(ErrorString*, int nodeId, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer> >&);
+ virtual void layersForNode(ErrorString*, int nodeId, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer>>&);
virtual void reasonsForCompositingLayer(ErrorString*, const String& layerId, RefPtr<TypeBuilder::LayerTree::CompositingReasons>&);
private:
@@ -77,8 +77,8 @@
String bind(const RenderLayer*);
void unbind(const RenderLayer*);
- void gatherLayersUsingRenderObjectHierarchy(ErrorString*, RenderObject*, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer> >&);
- void gatherLayersUsingRenderLayerHierarchy(ErrorString*, RenderLayer*, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer> >&);
+ void gatherLayersUsingRenderObjectHierarchy(ErrorString*, RenderObject*, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer>>&);
+ void gatherLayersUsingRenderLayerHierarchy(ErrorString*, RenderLayer*, RefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer>>&);
PassRefPtr<TypeBuilder::LayerTree::Layer> buildObjectForLayer(ErrorString*, RenderLayer*);
PassRefPtr<TypeBuilder::LayerTree::IntRect> buildObjectForIntRect(const IntRect&);
diff --git a/Source/WebCore/inspector/InspectorMemoryAgent.h b/Source/WebCore/inspector/InspectorMemoryAgent.h
index 4bafa99..e884790 100644
--- a/Source/WebCore/inspector/InspectorMemoryAgent.h
+++ b/Source/WebCore/inspector/InspectorMemoryAgent.h
@@ -49,7 +49,7 @@
class InspectorMemoryAgent : public InspectorBaseAgent<InspectorMemoryAgent>, public InspectorBackendDispatcher::MemoryCommandHandler {
WTF_MAKE_NONCOPYABLE(InspectorMemoryAgent);
public:
- typedef Vector<OwnPtr<InspectorBaseAgentInterface> > InspectorAgents;
+ typedef Vector<OwnPtr<InspectorBaseAgentInterface>> InspectorAgents;
static PassOwnPtr<InspectorMemoryAgent> create(InstrumentingAgents* instrumentingAgents, InspectorCompositeState* state);
virtual ~InspectorMemoryAgent();
diff --git a/Source/WebCore/inspector/InspectorPageAgent.cpp b/Source/WebCore/inspector/InspectorPageAgent.cpp
index a9a493b..4b3c8d2 100644
--- a/Source/WebCore/inspector/InspectorPageAgent.cpp
+++ b/Source/WebCore/inspector/InspectorPageAgent.cpp
@@ -522,9 +522,9 @@
.release();
}
-static PassRefPtr<TypeBuilder::Array<TypeBuilder::Page::Cookie> > buildArrayForCookies(ListHashSet<Cookie>& cookiesList)
+static PassRefPtr<TypeBuilder::Array<TypeBuilder::Page::Cookie>> buildArrayForCookies(ListHashSet<Cookie>& cookiesList)
{
- RefPtr<TypeBuilder::Array<TypeBuilder::Page::Cookie> > cookies = TypeBuilder::Array<TypeBuilder::Page::Cookie>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::Page::Cookie>> cookies = TypeBuilder::Array<TypeBuilder::Page::Cookie>::create();
ListHashSet<Cookie>::iterator end = cookiesList.end();
ListHashSet<Cookie>::iterator it = cookiesList.begin();
@@ -575,7 +575,7 @@
return result;
}
-void InspectorPageAgent::getCookies(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Page::Cookie> >& cookies, WTF::String* cookiesString)
+void InspectorPageAgent::getCookies(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Page::Cookie>>& cookies, WTF::String* cookiesString)
{
// If we can get raw cookies.
ListHashSet<Cookie> rawCookiesList;
@@ -654,7 +654,7 @@
return false;
}
-void InspectorPageAgent::searchInResource(ErrorString*, const String& frameId, const String& url, const String& query, const bool* const optionalCaseSensitive, const bool* const optionalIsRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> >& results)
+void InspectorPageAgent::searchInResource(ErrorString*, const String& frameId, const String& url, const String& query, const bool* const optionalCaseSensitive, const bool* const optionalIsRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch>>& results)
{
results = TypeBuilder::Array<TypeBuilder::Page::SearchMatch>::create();
@@ -697,9 +697,9 @@
.release();
}
-void InspectorPageAgent::searchInResources(ErrorString*, const String& text, const bool* const optionalCaseSensitive, const bool* const optionalIsRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchResult> >& results)
+void InspectorPageAgent::searchInResources(ErrorString*, const String& text, const bool* const optionalCaseSensitive, const bool* const optionalIsRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchResult>>& results)
{
- RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchResult> > searchResults = TypeBuilder::Array<TypeBuilder::Page::SearchResult>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchResult>> searchResults = TypeBuilder::Array<TypeBuilder::Page::SearchResult>::create();
bool isRegex = optionalIsRegex ? *optionalIsRegex : false;
bool caseSensitive = optionalCaseSensitive ? *optionalCaseSensitive : false;
@@ -1123,7 +1123,7 @@
PassRefPtr<TypeBuilder::Page::FrameResourceTree> InspectorPageAgent::buildObjectForFrameTree(Frame* frame)
{
RefPtr<TypeBuilder::Page::Frame> frameObject = buildObjectForFrame(frame);
- RefPtr<TypeBuilder::Array<TypeBuilder::Page::FrameResourceTree::Resources> > subresources = TypeBuilder::Array<TypeBuilder::Page::FrameResourceTree::Resources>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::Page::FrameResourceTree::Resources>> subresources = TypeBuilder::Array<TypeBuilder::Page::FrameResourceTree::Resources>::create();
RefPtr<TypeBuilder::Page::FrameResourceTree> result = TypeBuilder::Page::FrameResourceTree::create()
.setFrame(frameObject)
.setResources(subresources);
@@ -1146,7 +1146,7 @@
subresources->addItem(resourceObject);
}
- RefPtr<TypeBuilder::Array<TypeBuilder::Page::FrameResourceTree> > childrenArray;
+ RefPtr<TypeBuilder::Array<TypeBuilder::Page::FrameResourceTree>> childrenArray;
for (Frame* child = frame->tree().firstChild(); child; child = child->tree().nextSibling()) {
if (!childrenArray) {
childrenArray = TypeBuilder::Array<TypeBuilder::Page::FrameResourceTree>::create();
diff --git a/Source/WebCore/inspector/InspectorPageAgent.h b/Source/WebCore/inspector/InspectorPageAgent.h
index 3cb954b..c3069ad 100644
--- a/Source/WebCore/inspector/InspectorPageAgent.h
+++ b/Source/WebCore/inspector/InspectorPageAgent.h
@@ -102,12 +102,12 @@
virtual void removeScriptToEvaluateOnLoad(ErrorString*, const String& identifier);
virtual void reload(ErrorString*, const bool* optionalIgnoreCache, const String* optionalScriptToEvaluateOnLoad, const String* optionalScriptPreprocessor);
virtual void navigate(ErrorString*, const String& url);
- virtual void getCookies(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Page::Cookie> >& cookies, WTF::String* cookiesString);
+ virtual void getCookies(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Page::Cookie>>& cookies, WTF::String* cookiesString);
virtual void deleteCookie(ErrorString*, const String& cookieName, const String& url);
virtual void getResourceTree(ErrorString*, RefPtr<TypeBuilder::Page::FrameResourceTree>&);
virtual void getResourceContent(ErrorString*, const String& frameId, const String& url, String* content, bool* base64Encoded);
- virtual void searchInResource(ErrorString*, const String& frameId, const String& url, const String& query, const bool* optionalCaseSensitive, const bool* optionalIsRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch> >&);
- virtual void searchInResources(ErrorString*, const String&, const bool* caseSensitive, const bool* isRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchResult> >&);
+ virtual void searchInResource(ErrorString*, const String& frameId, const String& url, const String& query, const bool* optionalCaseSensitive, const bool* optionalIsRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchMatch>>&);
+ virtual void searchInResources(ErrorString*, const String&, const bool* caseSensitive, const bool* isRegex, RefPtr<TypeBuilder::Array<TypeBuilder::Page::SearchResult>>&);
virtual void setDocumentContent(ErrorString*, const String& frameId, const String& html);
virtual void canOverrideDeviceMetrics(ErrorString*, bool*);
virtual void setDeviceMetricsOverride(ErrorString*, int width, int height, double fontScaleFactor, bool fitWindow);
diff --git a/Source/WebCore/inspector/InspectorProfilerAgent.cpp b/Source/WebCore/inspector/InspectorProfilerAgent.cpp
index b095805..fa95bf8 100644
--- a/Source/WebCore/inspector/InspectorProfilerAgent.cpp
+++ b/Source/WebCore/inspector/InspectorProfilerAgent.cpp
@@ -251,7 +251,7 @@
return makeString(UserInitiatedProfileName, '.', String::number(m_currentUserInitiatedProfileNumber));
}
-void InspectorProfilerAgent::getProfileHeaders(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Profiler::ProfileHeader> >& headers)
+void InspectorProfilerAgent::getProfileHeaders(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Profiler::ProfileHeader>>& headers)
{
m_state->setBoolean(ProfilerAgentState::profileHeadersRequested, true);
headers = TypeBuilder::Array<TypeBuilder::Profiler::ProfileHeader>::create();
diff --git a/Source/WebCore/inspector/InspectorProfilerAgent.h b/Source/WebCore/inspector/InspectorProfilerAgent.h
index 1dc5b06..e90fd24 100644
--- a/Source/WebCore/inspector/InspectorProfilerAgent.h
+++ b/Source/WebCore/inspector/InspectorProfilerAgent.h
@@ -86,7 +86,7 @@
void enable(bool skipRecompile);
bool enabled() { return m_enabled; }
String getCurrentUserInitiatedProfileName(bool incrementProfileNumber = false);
- virtual void getProfileHeaders(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Profiler::ProfileHeader> >&);
+ virtual void getProfileHeaders(ErrorString*, RefPtr<TypeBuilder::Array<TypeBuilder::Profiler::ProfileHeader>>&);
virtual void getCPUProfile(ErrorString*, int uid, RefPtr<TypeBuilder::Profiler::CPUProfile>&);
virtual void getHeapSnapshot(ErrorString*, int uid);
virtual void removeProfile(ErrorString*, const String& type, int uid);
@@ -107,8 +107,8 @@
virtual PassRefPtr<ScriptProfile> stopProfiling(const String& title) = 0;
private:
- typedef HashMap<unsigned int, RefPtr<ScriptProfile> > ProfilesMap;
- typedef HashMap<unsigned int, RefPtr<ScriptHeapSnapshot> > HeapSnapshotsMap;
+ typedef HashMap<unsigned int, RefPtr<ScriptProfile>> ProfilesMap;
+ typedef HashMap<unsigned int, RefPtr<ScriptHeapSnapshot>> HeapSnapshotsMap;
void resetFrontendProfiles();
void restoreEnablement();
diff --git a/Source/WebCore/inspector/InspectorResourceAgent.h b/Source/WebCore/inspector/InspectorResourceAgent.h
index 57a21fa..820a7e3 100644
--- a/Source/WebCore/inspector/InspectorResourceAgent.h
+++ b/Source/WebCore/inspector/InspectorResourceAgent.h
@@ -163,7 +163,7 @@
OwnPtr<NetworkResourcesData> m_resourcesData;
bool m_loadingXHRSynchronously;
- typedef HashMap<ThreadableLoaderClient*, RefPtr<XHRReplayData> > PendingXHRReplayDataMap;
+ typedef HashMap<ThreadableLoaderClient*, RefPtr<XHRReplayData>> PendingXHRReplayDataMap;
PendingXHRReplayDataMap m_pendingXHRReplayData;
// FIXME: InspectorResourceAgent should now be aware of style recalculation.
RefPtr<TypeBuilder::Network::Initiator> m_styleRecalculationInitiator;
diff --git a/Source/WebCore/inspector/InspectorRuntimeAgent.cpp b/Source/WebCore/inspector/InspectorRuntimeAgent.cpp
index b60b4fc..a9ea631 100644
--- a/Source/WebCore/inspector/InspectorRuntimeAgent.cpp
+++ b/Source/WebCore/inspector/InspectorRuntimeAgent.cpp
@@ -171,7 +171,7 @@
}
}
-void InspectorRuntimeAgent::getProperties(ErrorString* errorString, const String& objectId, const bool* const ownProperties, RefPtr<TypeBuilder::Array<TypeBuilder::Runtime::PropertyDescriptor> >& result, RefPtr<TypeBuilder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor> >& internalProperties)
+void InspectorRuntimeAgent::getProperties(ErrorString* errorString, const String& objectId, const bool* const ownProperties, RefPtr<TypeBuilder::Array<TypeBuilder::Runtime::PropertyDescriptor>>& result, RefPtr<TypeBuilder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor>>& internalProperties)
{
InjectedScript injectedScript = m_injectedScriptManager->injectedScriptForObjectId(objectId);
if (injectedScript.hasNoValue()) {
diff --git a/Source/WebCore/inspector/InspectorRuntimeAgent.h b/Source/WebCore/inspector/InspectorRuntimeAgent.h
index d2ce440..68e18d7 100644
--- a/Source/WebCore/inspector/InspectorRuntimeAgent.h
+++ b/Source/WebCore/inspector/InspectorRuntimeAgent.h
@@ -82,7 +82,7 @@
RefPtr<TypeBuilder::Runtime::RemoteObject>& result,
TypeBuilder::OptOutput<bool>* wasThrown);
virtual void releaseObject(ErrorString*, const String& objectId);
- virtual void getProperties(ErrorString*, const String& objectId, const bool* ownProperties, RefPtr<TypeBuilder::Array<TypeBuilder::Runtime::PropertyDescriptor> >& result, RefPtr<TypeBuilder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor> >& internalProperties);
+ virtual void getProperties(ErrorString*, const String& objectId, const bool* ownProperties, RefPtr<TypeBuilder::Array<TypeBuilder::Runtime::PropertyDescriptor>>& result, RefPtr<TypeBuilder::Array<TypeBuilder::Runtime::InternalPropertyDescriptor>>& internalProperties);
virtual void releaseObjectGroup(ErrorString*, const String& objectGroup);
virtual void run(ErrorString*);
diff --git a/Source/WebCore/inspector/InspectorState.h b/Source/WebCore/inspector/InspectorState.h
index 1ea5df5..24d799b 100644
--- a/Source/WebCore/inspector/InspectorState.h
+++ b/Source/WebCore/inspector/InspectorState.h
@@ -102,7 +102,7 @@
void loadFromCookie(const String&);
private:
- typedef HashMap<String, OwnPtr<InspectorState> > InspectorStateMap;
+ typedef HashMap<String, OwnPtr<InspectorState>> InspectorStateMap;
// From InspectorStateUpdateListener.
virtual void inspectorStateUpdated();
diff --git a/Source/WebCore/inspector/InspectorStyleSheet.cpp b/Source/WebCore/inspector/InspectorStyleSheet.cpp
index 1390a01..e64ab42 100644
--- a/Source/WebCore/inspector/InspectorStyleSheet.cpp
+++ b/Source/WebCore/inspector/InspectorStyleSheet.cpp
@@ -204,7 +204,7 @@
return 0;
RefPtr<StaticCSSRuleList> list = StaticCSSRuleList::create();
- Vector<RefPtr<CSSRule> >& listRules = list->rules();
+ Vector<RefPtr<CSSRule>>& listRules = list->rules();
for (unsigned i = 0, size = styleSheet->length(); i < size; ++i) {
CSSRule* item = styleSheet->item(i);
if (item->type() == CSSRule::CHARSET_RULE)
@@ -332,9 +332,9 @@
return result.release();
}
-PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty> > InspectorStyle::buildArrayForComputedStyle() const
+PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty>> InspectorStyle::buildArrayForComputedStyle() const
{
- RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty> > result = TypeBuilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty>> result = TypeBuilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty>::create();
Vector<InspectorStyleProperty> properties;
populateAllProperties(&properties);
@@ -524,13 +524,13 @@
Vector<InspectorStyleProperty> properties;
populateAllProperties(&properties);
- RefPtr<Array<TypeBuilder::CSS::CSSProperty> > propertiesObject = Array<TypeBuilder::CSS::CSSProperty>::create();
- RefPtr<Array<TypeBuilder::CSS::ShorthandEntry> > shorthandEntries = Array<TypeBuilder::CSS::ShorthandEntry>::create();
- HashMap<String, RefPtr<TypeBuilder::CSS::CSSProperty> > propertyNameToPreviousActiveProperty;
+ RefPtr<Array<TypeBuilder::CSS::CSSProperty>> propertiesObject = Array<TypeBuilder::CSS::CSSProperty>::create();
+ RefPtr<Array<TypeBuilder::CSS::ShorthandEntry>> shorthandEntries = Array<TypeBuilder::CSS::ShorthandEntry>::create();
+ HashMap<String, RefPtr<TypeBuilder::CSS::CSSProperty>> propertyNameToPreviousActiveProperty;
HashSet<String> foundShorthands;
String previousPriority;
String previousStatus;
- OwnPtr<Vector<size_t> > lineEndings(m_parentStyleSheet ? m_parentStyleSheet->lineEndings() : PassOwnPtr<Vector<size_t> >());
+ OwnPtr<Vector<size_t>> lineEndings(m_parentStyleSheet ? m_parentStyleSheet->lineEndings() : PassOwnPtr<Vector<size_t>>());
RefPtr<CSSRuleSourceData> sourceData = extractSourceData();
unsigned ruleBodyRangeStart = sourceData ? sourceData->ruleBodyRange.start : 0;
@@ -573,7 +573,7 @@
CSSPropertyID propertyId = cssPropertyID(name);
// Canonicalize property names to treat non-prefixed and vendor-prefixed property names the same (opacity vs. -webkit-opacity).
String canonicalPropertyName = propertyId ? getPropertyNameString(propertyId) : name;
- HashMap<String, RefPtr<TypeBuilder::CSS::CSSProperty> >::iterator activeIt = propertyNameToPreviousActiveProperty.find(canonicalPropertyName);
+ HashMap<String, RefPtr<TypeBuilder::CSS::CSSProperty>>::iterator activeIt = propertyNameToPreviousActiveProperty.find(canonicalPropertyName);
if (activeIt != propertyNameToPreviousActiveProperty.end()) {
if (propertyEntry.parsedOk) {
bool successPriority = activeIt->value->getString(TypeBuilder::CSS::CSSProperty::Priority, &previousPriority);
@@ -1002,10 +1002,10 @@
return result.release();
}
-static PassRefPtr<TypeBuilder::Array<String> > selectorsFromSource(const CSSRuleSourceData* sourceData, const String& sheetText)
+static PassRefPtr<TypeBuilder::Array<String>> selectorsFromSource(const CSSRuleSourceData* sourceData, const String& sheetText)
{
DEFINE_STATIC_LOCAL(RegularExpression, comment, ("/\\*[^]*?\\*/", TextCaseSensitive, MultilineEnabled));
- RefPtr<TypeBuilder::Array<String> > result = TypeBuilder::Array<String>::create();
+ RefPtr<TypeBuilder::Array<String>> result = TypeBuilder::Array<String>::create();
const SelectorRangeList& ranges = sourceData->selectorRanges;
for (size_t i = 0, size = ranges.size(); i < size; ++i) {
const SourceRange& range = ranges.at(i);
@@ -1023,7 +1023,7 @@
RefPtr<CSSRuleSourceData> sourceData;
if (ensureParsedDataReady())
sourceData = ruleSourceDataFor(rule->style());
- RefPtr<TypeBuilder::Array<String> > selectors;
+ RefPtr<TypeBuilder::Array<String>> selectors;
// This intentionally does not rely on the source data to avoid catching the trailing comments (before the declaration starting '{').
String selectorText = rule->selectorText();
@@ -1067,7 +1067,7 @@
result->setRuleId(id.asProtocolValue<TypeBuilder::CSS::CSSRuleId>());
}
- RefPtr<Array<TypeBuilder::CSS::CSSMedia> > mediaArray = Array<TypeBuilder::CSS::CSSMedia>::create();
+ RefPtr<Array<TypeBuilder::CSS::CSSMedia>> mediaArray = Array<TypeBuilder::CSS::CSSMedia>::create();
fillMediaListChain(rule, mediaArray.get());
if (mediaArray->length())
@@ -1220,10 +1220,10 @@
return m_parsedStyleSheet->ruleSourceDataAt(ruleIndexByStyle(style));
}
-PassOwnPtr<Vector<size_t> > InspectorStyleSheet::lineEndings() const
+PassOwnPtr<Vector<size_t>> InspectorStyleSheet::lineEndings() const
{
if (!m_parsedStyleSheet->hasText())
- return PassOwnPtr<Vector<size_t> >();
+ return PassOwnPtr<Vector<size_t>>();
return ContentSearchUtils::lineEndings(m_parsedStyleSheet->text());
}
@@ -1406,9 +1406,9 @@
return true;
}
-PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSRule> > InspectorStyleSheet::buildArrayForRuleList(CSSRuleList* ruleList)
+PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSRule>> InspectorStyleSheet::buildArrayForRuleList(CSSRuleList* ruleList)
{
- RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSRule> > result = TypeBuilder::Array<TypeBuilder::CSS::CSSRule>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSRule>> result = TypeBuilder::Array<TypeBuilder::CSS::CSSRule>::create();
if (!ruleList)
return result.release();
@@ -1489,7 +1489,7 @@
return !ec;
}
-PassOwnPtr<Vector<size_t> > InspectorStyleSheetForInlineStyle::lineEndings() const
+PassOwnPtr<Vector<size_t>> InspectorStyleSheetForInlineStyle::lineEndings() const
{
return ContentSearchUtils::lineEndings(elementStyleText());
}
diff --git a/Source/WebCore/inspector/InspectorStyleSheet.h b/Source/WebCore/inspector/InspectorStyleSheet.h
index dfcc6d3..f5039b4 100644
--- a/Source/WebCore/inspector/InspectorStyleSheet.h
+++ b/Source/WebCore/inspector/InspectorStyleSheet.h
@@ -141,7 +141,7 @@
CSSStyleDeclaration* cssStyle() const { return m_style.get(); }
PassRefPtr<TypeBuilder::CSS::CSSStyle> buildObjectForStyle() const;
- PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty> > buildArrayForComputedStyle() const;
+ PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSComputedStyleProperty>> buildArrayForComputedStyle() const;
bool hasDisabledProperties() const { return !m_disabledProperties.isEmpty(); }
bool setPropertyText(unsigned index, const String& text, bool overwrite, String* oldText, ExceptionCode&);
bool toggleProperty(unsigned index, bool disable, ExceptionCode&);
@@ -181,7 +181,7 @@
virtual void styleSheetChanged(InspectorStyleSheet*) = 0;
};
- typedef HashMap<CSSStyleDeclaration*, RefPtr<InspectorStyle> > InspectorStyleMap;
+ typedef HashMap<CSSStyleDeclaration*, RefPtr<InspectorStyle>> InspectorStyleMap;
static PassRefPtr<InspectorStyleSheet> create(InspectorPageAgent*, const String& id, PassRefPtr<CSSStyleSheet> pageStyleSheet, TypeBuilder::CSS::StyleSheetOrigin::Enum, const String& documentURL, Listener*);
static String styleSheetURL(CSSStyleSheet* pageStyleSheet);
@@ -227,10 +227,10 @@
// Also accessed by friend class InspectorStyle.
virtual bool setStyleText(CSSStyleDeclaration*, const String&, ExceptionCode&);
- virtual PassOwnPtr<Vector<size_t> > lineEndings() const;
+ virtual PassOwnPtr<Vector<size_t>> lineEndings() const;
private:
- typedef Vector<RefPtr<CSSStyleRule> > CSSStyleRuleVector;
+ typedef Vector<RefPtr<CSSStyleRule>> CSSStyleRuleVector;
friend class InspectorStyle;
static void collectFlatRules(PassRefPtr<CSSRuleList>, CSSStyleRuleVector* result);
@@ -243,7 +243,7 @@
bool originalStyleSheetText(String* result) const;
bool resourceStyleSheetText(String* result) const;
bool inlineStyleSheetText(String* result) const;
- PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSRule> > buildArrayForRuleList(CSSRuleList*);
+ PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::CSSRule>> buildArrayForRuleList(CSSRuleList*);
PassRefPtr<TypeBuilder::CSS::SelectorList> buildObjectForSelectorList(CSSStyleRule*);
InspectorPageAgent* m_pageAgent;
@@ -279,7 +279,7 @@
// Also accessed by friend class InspectorStyle.
virtual bool setStyleText(CSSStyleDeclaration*, const String&, ExceptionCode&);
- virtual PassOwnPtr<Vector<size_t> > lineEndings() const;
+ virtual PassOwnPtr<Vector<size_t>> lineEndings() const;
private:
CSSStyleDeclaration* inlineStyle() const;
diff --git a/Source/WebCore/inspector/InspectorValues.cpp b/Source/WebCore/inspector/InspectorValues.cpp
index 7ef6a22..8fce32d 100644
--- a/Source/WebCore/inspector/InspectorValues.cpp
+++ b/Source/WebCore/inspector/InspectorValues.cpp
@@ -773,7 +773,7 @@
void InspectorArrayBase::writeJSON(StringBuilder* output) const
{
output->append('[');
- for (Vector<RefPtr<InspectorValue> >::const_iterator it = m_data.begin(); it != m_data.end(); ++it) {
+ for (Vector<RefPtr<InspectorValue>>::const_iterator it = m_data.begin(); it != m_data.end(); ++it) {
if (it != m_data.begin())
output->append(',');
(*it)->writeJSON(output);
diff --git a/Source/WebCore/inspector/InspectorValues.h b/Source/WebCore/inspector/InspectorValues.h
index 79fac63..cbb7f71 100644
--- a/Source/WebCore/inspector/InspectorValues.h
+++ b/Source/WebCore/inspector/InspectorValues.h
@@ -135,7 +135,7 @@
class InspectorObjectBase : public InspectorValue {
private:
- typedef HashMap<String, RefPtr<InspectorValue> > Dictionary;
+ typedef HashMap<String, RefPtr<InspectorValue>> Dictionary;
public:
typedef Dictionary::iterator iterator;
@@ -222,8 +222,8 @@
class InspectorArrayBase : public InspectorValue {
public:
- typedef Vector<RefPtr<InspectorValue> >::iterator iterator;
- typedef Vector<RefPtr<InspectorValue> >::const_iterator const_iterator;
+ typedef Vector<RefPtr<InspectorValue>>::iterator iterator;
+ typedef Vector<RefPtr<InspectorValue>>::const_iterator const_iterator;
virtual PassRefPtr<InspectorArray> asArray() OVERRIDE;
@@ -255,7 +255,7 @@
InspectorArrayBase();
private:
- Vector<RefPtr<InspectorValue> > m_data;
+ Vector<RefPtr<InspectorValue>> m_data;
};
class InspectorArray : public InspectorArrayBase {
diff --git a/Source/WebCore/inspector/PageRuntimeAgent.cpp b/Source/WebCore/inspector/PageRuntimeAgent.cpp
index e401b60..a1f0ab9 100644
--- a/Source/WebCore/inspector/PageRuntimeAgent.cpp
+++ b/Source/WebCore/inspector/PageRuntimeAgent.cpp
@@ -160,7 +160,7 @@
void PageRuntimeAgent::reportExecutionContextCreation()
{
- Vector<std::pair<JSC::ExecState*, SecurityOrigin*> > isolatedContexts;
+ Vector<std::pair<JSC::ExecState*, SecurityOrigin*>> isolatedContexts;
for (Frame* frame = &m_inspectedPage->mainFrame(); frame; frame = frame->tree().traverseNext()) {
if (!frame->script().canExecuteScripts(NotAboutToExecuteScript))
continue;
diff --git a/Source/WebCore/inspector/ScriptCallStack.cpp b/Source/WebCore/inspector/ScriptCallStack.cpp
index 56fa52c..e694bf1 100644
--- a/Source/WebCore/inspector/ScriptCallStack.cpp
+++ b/Source/WebCore/inspector/ScriptCallStack.cpp
@@ -79,9 +79,9 @@
}
#if ENABLE(INSPECTOR)
-PassRefPtr<TypeBuilder::Array<TypeBuilder::Console::CallFrame> > ScriptCallStack::buildInspectorArray() const
+PassRefPtr<TypeBuilder::Array<TypeBuilder::Console::CallFrame>> ScriptCallStack::buildInspectorArray() const
{
- RefPtr<TypeBuilder::Array<TypeBuilder::Console::CallFrame> > frames = TypeBuilder::Array<TypeBuilder::Console::CallFrame>::create();
+ RefPtr<TypeBuilder::Array<TypeBuilder::Console::CallFrame>> frames = TypeBuilder::Array<TypeBuilder::Console::CallFrame>::create();
for (size_t i = 0; i < m_frames.size(); i++)
frames->addItem(m_frames.at(i).buildInspectorObject());
return frames;
diff --git a/Source/WebCore/inspector/ScriptCallStack.h b/Source/WebCore/inspector/ScriptCallStack.h
index 35a7c98..e0d7fd5 100644
--- a/Source/WebCore/inspector/ScriptCallStack.h
+++ b/Source/WebCore/inspector/ScriptCallStack.h
@@ -58,7 +58,7 @@
bool isEqual(ScriptCallStack*) const;
#if ENABLE(INSPECTOR)
- PassRefPtr<TypeBuilder::Array<TypeBuilder::Console::CallFrame> > buildInspectorArray() const;
+ PassRefPtr<TypeBuilder::Array<TypeBuilder::Console::CallFrame>> buildInspectorArray() const;
#endif
private:
diff --git a/Source/WebCore/loader/CrossOriginPreflightResultCache.h b/Source/WebCore/loader/CrossOriginPreflightResultCache.h
index d4c482c..1c95a43 100644
--- a/Source/WebCore/loader/CrossOriginPreflightResultCache.h
+++ b/Source/WebCore/loader/CrossOriginPreflightResultCache.h
@@ -78,7 +78,7 @@
private:
CrossOriginPreflightResultCache() { }
- typedef HashMap<std::pair<String, URL>, OwnPtr<CrossOriginPreflightResultCacheItem> > CrossOriginPreflightResultHashMap;
+ typedef HashMap<std::pair<String, URL>, OwnPtr<CrossOriginPreflightResultCacheItem>> CrossOriginPreflightResultHashMap;
CrossOriginPreflightResultHashMap m_preflightHashMap;
};
diff --git a/Source/WebCore/loader/DocumentLoader.cpp b/Source/WebCore/loader/DocumentLoader.cpp
index 72da450..d8ba13b 100644
--- a/Source/WebCore/loader/DocumentLoader.cpp
+++ b/Source/WebCore/loader/DocumentLoader.cpp
@@ -79,7 +79,7 @@
static void cancelAll(const ResourceLoaderSet& loaders)
{
- Vector<RefPtr<ResourceLoader> > loadersCopy;
+ Vector<RefPtr<ResourceLoader>> loadersCopy;
copyToVector(loaders, loadersCopy);
size_t size = loadersCopy.size();
for (size_t i = 0; i < size; ++i)
@@ -88,7 +88,7 @@
static void setAllDefersLoading(const ResourceLoaderSet& loaders, bool defers)
{
- Vector<RefPtr<ResourceLoader> > loadersCopy;
+ Vector<RefPtr<ResourceLoader>> loadersCopy;
copyToVector(loaders, loadersCopy);
size_t size = loadersCopy.size();
for (size_t i = 0; i < size; ++i)
@@ -1075,7 +1075,7 @@
return ArchiveResource::create(data->sharedBuffer(), url, resource->response());
}
-void DocumentLoader::getSubresources(Vector<PassRefPtr<ArchiveResource> >& subresources) const
+void DocumentLoader::getSubresources(Vector<PassRefPtr<ArchiveResource>>& subresources) const
{
if (!isCommitted())
return;
diff --git a/Source/WebCore/loader/DocumentLoader.h b/Source/WebCore/loader/DocumentLoader.h
index 562ccac..01b393b 100644
--- a/Source/WebCore/loader/DocumentLoader.h
+++ b/Source/WebCore/loader/DocumentLoader.h
@@ -74,7 +74,7 @@
class SharedBuffer;
class SubstituteResource;
- typedef HashSet<RefPtr<ResourceLoader> > ResourceLoaderSet;
+ typedef HashSet<RefPtr<ResourceLoader>> ResourceLoaderSet;
typedef Vector<ResourceResponse> ResponseVector;
class DocumentLoader : public RefCounted<DocumentLoader>, private CachedRawResourceClient {
@@ -156,7 +156,7 @@
// Return an ArchiveResource for the URL, either creating from live data or
// pulling from the ArchiveResourceCollection
PassRefPtr<ArchiveResource> subresource(const URL&) const;
- void getSubresources(Vector<PassRefPtr<ArchiveResource> >&) const;
+ void getSubresources(Vector<PassRefPtr<ArchiveResource>>&) const;
#ifndef NDEBUG
@@ -371,7 +371,7 @@
ResponseVector m_responses;
bool m_stopRecordingResponses;
- typedef HashMap<RefPtr<ResourceLoader>, RefPtr<SubstituteResource> > SubstituteResourceMap;
+ typedef HashMap<RefPtr<ResourceLoader>, RefPtr<SubstituteResource>> SubstituteResourceMap;
SubstituteResourceMap m_pendingSubstituteResources;
Timer<DocumentLoader> m_substituteResourceDeliveryTimer;
diff --git a/Source/WebCore/loader/FormState.h b/Source/WebCore/loader/FormState.h
index 964766b..6f55943 100644
--- a/Source/WebCore/loader/FormState.h
+++ b/Source/WebCore/loader/FormState.h
@@ -42,7 +42,7 @@
NotSubmittedByJavaScript
};
- typedef Vector<std::pair<String, String> > StringPairVector;
+ typedef Vector<std::pair<String, String>> StringPairVector;
class FormState : public RefCounted<FormState> {
public:
diff --git a/Source/WebCore/loader/FormSubmission.cpp b/Source/WebCore/loader/FormSubmission.cpp
index cdcd9c7..a895168 100644
--- a/Source/WebCore/loader/FormSubmission.cpp
+++ b/Source/WebCore/loader/FormSubmission.cpp
@@ -181,7 +181,7 @@
TextEncoding dataEncoding = isMailtoForm ? UTF8Encoding() : FormDataBuilder::encodingFromAcceptCharset(copiedAttributes.acceptCharset(), document);
RefPtr<DOMFormData> domFormData = DOMFormData::create(dataEncoding.encodingForFormSubmission());
- Vector<pair<String, String> > formValues;
+ Vector<pair<String, String>> formValues;
bool containsPasswordData = false;
for (unsigned i = 0; i < form->associatedElements().size(); ++i) {
diff --git a/Source/WebCore/loader/ProgressTracker.h b/Source/WebCore/loader/ProgressTracker.h
index 33a5191..5cea912 100644
--- a/Source/WebCore/loader/ProgressTracker.h
+++ b/Source/WebCore/loader/ProgressTracker.h
@@ -80,7 +80,7 @@
RefPtr<Frame> m_originatingProgressFrame;
int m_numProgressTrackedFrames;
- HashMap<unsigned long, OwnPtr<ProgressItem> > m_progressItems;
+ HashMap<unsigned long, OwnPtr<ProgressItem>> m_progressItems;
Timer<ProgressTracker> m_progressHeartbeatTimer;
unsigned m_heartbeatsWithNoProgress;
diff --git a/Source/WebCore/loader/ResourceLoadScheduler.h b/Source/WebCore/loader/ResourceLoadScheduler.h
index 2dbf650..605f34c 100644
--- a/Source/WebCore/loader/ResourceLoadScheduler.h
+++ b/Source/WebCore/loader/ResourceLoadScheduler.h
@@ -88,12 +88,12 @@
bool hasRequests() const;
bool limitRequests(ResourceLoadPriority) const;
- typedef Deque<RefPtr<ResourceLoader> > RequestQueue;
+ typedef Deque<RefPtr<ResourceLoader>> RequestQueue;
RequestQueue& requestsPending(ResourceLoadPriority priority) { return m_requestsPending[priority]; }
private:
RequestQueue m_requestsPending[ResourceLoadPriorityHighest + 1];
- typedef HashSet<RefPtr<ResourceLoader> > RequestMap;
+ typedef HashSet<RefPtr<ResourceLoader>> RequestMap;
RequestMap m_requestsLoading;
const String m_name;
const int m_maxRequestsInFlight;
diff --git a/Source/WebCore/loader/TextTrackLoader.cpp b/Source/WebCore/loader/TextTrackLoader.cpp
index 4fa0768..0bec0b4 100644
--- a/Source/WebCore/loader/TextTrackLoader.cpp
+++ b/Source/WebCore/loader/TextTrackLoader.cpp
@@ -207,11 +207,11 @@
cancelLoad();
}
-void TextTrackLoader::getNewCues(Vector<RefPtr<TextTrackCue> >& outputCues)
+void TextTrackLoader::getNewCues(Vector<RefPtr<TextTrackCue>>& outputCues)
{
ASSERT(m_cueParser);
if (m_cueParser) {
- Vector<RefPtr<WebVTTCueData> > newCues;
+ Vector<RefPtr<WebVTTCueData>> newCues;
m_cueParser->getNewCues(newCues);
for (size_t i = 0; i < newCues.size(); ++i) {
RefPtr<WebVTTCueData> data = newCues[i];
@@ -224,7 +224,7 @@
}
#if ENABLE(WEBVTT_REGIONS)
-void TextTrackLoader::getNewRegions(Vector<RefPtr<TextTrackRegion> >& outputRegions)
+void TextTrackLoader::getNewRegions(Vector<RefPtr<TextTrackRegion>>& outputRegions)
{
ASSERT(m_cueParser);
if (m_cueParser)
diff --git a/Source/WebCore/loader/TextTrackLoader.h b/Source/WebCore/loader/TextTrackLoader.h
index 9357e10..b056011 100644
--- a/Source/WebCore/loader/TextTrackLoader.h
+++ b/Source/WebCore/loader/TextTrackLoader.h
@@ -66,9 +66,9 @@
bool load(const URL&, const String& crossOriginMode);
void cancelLoad();
- void getNewCues(Vector<RefPtr<TextTrackCue> >& outputCues);
+ void getNewCues(Vector<RefPtr<TextTrackCue>>& outputCues);
#if ENABLE(WEBVTT_REGIONS)
- void getNewRegions(Vector<RefPtr<TextTrackRegion> >& outputRegions);
+ void getNewRegions(Vector<RefPtr<TextTrackRegion>>& outputRegions);
#endif
private:
diff --git a/Source/WebCore/loader/WorkerThreadableLoader.cpp b/Source/WebCore/loader/WorkerThreadableLoader.cpp
index fa97d2c..b7b6f7a 100644
--- a/Source/WebCore/loader/WorkerThreadableLoader.cpp
+++ b/Source/WebCore/loader/WorkerThreadableLoader.cpp
@@ -190,7 +190,7 @@
m_loaderProxy.postTaskForModeToWorkerGlobalScope(createCallbackTask(&workerGlobalScopeDidReceiveResponse, m_workerClientWrapper, identifier, response), m_taskMode);
}
-static void workerGlobalScopeDidReceiveData(ScriptExecutionContext* context, RefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, PassOwnPtr<Vector<char> > vectorData)
+static void workerGlobalScopeDidReceiveData(ScriptExecutionContext* context, RefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, PassOwnPtr<Vector<char>> vectorData)
{
ASSERT_UNUSED(context, context->isWorkerGlobalScope());
workerClientWrapper->didReceiveData(vectorData->data(), vectorData->size());
@@ -198,7 +198,7 @@
void WorkerThreadableLoader::MainThreadBridge::didReceiveData(const char* data, int dataLength)
{
- OwnPtr<Vector<char> > vector = adoptPtr(new Vector<char>(dataLength)); // needs to be an OwnPtr for usage with createCallbackTask.
+ OwnPtr<Vector<char>> vector = adoptPtr(new Vector<char>(dataLength)); // needs to be an OwnPtr for usage with createCallbackTask.
memcpy(vector->data(), data, dataLength);
m_loaderProxy.postTaskForModeToWorkerGlobalScope(createCallbackTask(&workerGlobalScopeDidReceiveData, m_workerClientWrapper, vector.release()), m_taskMode);
}
diff --git a/Source/WebCore/loader/appcache/ApplicationCache.cpp b/Source/WebCore/loader/appcache/ApplicationCache.cpp
index 85289b3..e11fb79 100644
--- a/Source/WebCore/loader/appcache/ApplicationCache.cpp
+++ b/Source/WebCore/loader/appcache/ApplicationCache.cpp
@@ -101,7 +101,7 @@
unsigned ApplicationCache::removeResource(const String& url)
{
- HashMap<String, RefPtr<ApplicationCacheResource> >::iterator it = m_resources.find(url);
+ HashMap<String, RefPtr<ApplicationCacheResource>>::iterator it = m_resources.find(url);
if (it == m_resources.end())
return 0;
@@ -223,9 +223,9 @@
#ifndef NDEBUG
void ApplicationCache::dump()
{
- HashMap<String, RefPtr<ApplicationCacheResource> >::const_iterator end = m_resources.end();
+ HashMap<String, RefPtr<ApplicationCacheResource>>::const_iterator end = m_resources.end();
- for (HashMap<String, RefPtr<ApplicationCacheResource> >::const_iterator it = m_resources.begin(); it != end; ++it) {
+ for (HashMap<String, RefPtr<ApplicationCacheResource>>::const_iterator it = m_resources.begin(); it != end; ++it) {
printf("%s ", it->key.ascii().data());
ApplicationCacheResource::dumpType(it->value->type());
}
diff --git a/Source/WebCore/loader/appcache/ApplicationCache.h b/Source/WebCore/loader/appcache/ApplicationCache.h
index ffe4821..680635d 100644
--- a/Source/WebCore/loader/appcache/ApplicationCache.h
+++ b/Source/WebCore/loader/appcache/ApplicationCache.h
@@ -42,7 +42,7 @@
class ResourceRequest;
class SecurityOrigin;
-typedef Vector<std::pair<URL, URL> > FallbackURLVector;
+typedef Vector<std::pair<URL, URL>> FallbackURLVector;
class ApplicationCache : public RefCounted<ApplicationCache> {
public:
@@ -80,7 +80,7 @@
void dump();
#endif
- typedef HashMap<String, RefPtr<ApplicationCacheResource> > ResourceMap;
+ typedef HashMap<String, RefPtr<ApplicationCacheResource>> ResourceMap;
ResourceMap::const_iterator begin() const { return m_resources.begin(); }
ResourceMap::const_iterator end() const { return m_resources.end(); }
diff --git a/Source/WebCore/loader/appcache/ApplicationCacheStorage.cpp b/Source/WebCore/loader/appcache/ApplicationCacheStorage.cpp
index 3c624df..13bed0f 100644
--- a/Source/WebCore/loader/appcache/ApplicationCacheStorage.cpp
+++ b/Source/WebCore/loader/appcache/ApplicationCacheStorage.cpp
@@ -1512,7 +1512,7 @@
return totalSize;
}
-void ApplicationCacheStorage::getOriginsWithCache(HashSet<RefPtr<SecurityOrigin> >& origins)
+void ApplicationCacheStorage::getOriginsWithCache(HashSet<RefPtr<SecurityOrigin>>& origins)
{
Vector<URL> urls;
if (!manifestURLs(&urls)) {
diff --git a/Source/WebCore/loader/archive/Archive.cpp b/Source/WebCore/loader/archive/Archive.cpp
index ea76a11..86d7558 100644
--- a/Source/WebCore/loader/archive/Archive.cpp
+++ b/Source/WebCore/loader/archive/Archive.cpp
@@ -37,13 +37,13 @@
void Archive::clearAllSubframeArchives()
{
- Vector<RefPtr<Archive> > clearedArchives;
+ Vector<RefPtr<Archive>> clearedArchives;
clearAllSubframeArchivesImpl(&clearedArchives);
}
-void Archive::clearAllSubframeArchivesImpl(Vector<RefPtr<Archive> >* clearedArchives)
+void Archive::clearAllSubframeArchivesImpl(Vector<RefPtr<Archive>>* clearedArchives)
{
- for (Vector<RefPtr<Archive> >::iterator it = m_subframeArchives.begin(); it != m_subframeArchives.end(); ++it) {
+ for (Vector<RefPtr<Archive>>::iterator it = m_subframeArchives.begin(); it != m_subframeArchives.end(); ++it) {
if (!clearedArchives->contains(*it)) {
clearedArchives->append(*it);
(*it)->clearAllSubframeArchivesImpl(clearedArchives);
diff --git a/Source/WebCore/loader/archive/Archive.h b/Source/WebCore/loader/archive/Archive.h
index b7656e5..15f6b75 100644
--- a/Source/WebCore/loader/archive/Archive.h
+++ b/Source/WebCore/loader/archive/Archive.h
@@ -47,8 +47,8 @@
virtual ~Archive();
virtual Type type() const = 0;
ArchiveResource* mainResource() { return m_mainResource.get(); }
- const Vector<RefPtr<ArchiveResource> >& subresources() const { return m_subresources; }
- const Vector<RefPtr<Archive> >& subframeArchives() const { return m_subframeArchives; }
+ const Vector<RefPtr<ArchiveResource>>& subresources() const { return m_subresources; }
+ const Vector<RefPtr<Archive>>& subframeArchives() const { return m_subframeArchives; }
protected:
// These methods are meant for subclasses for different archive types to add resources in to the archive,
@@ -60,11 +60,11 @@
void clearAllSubframeArchives();
private:
- void clearAllSubframeArchivesImpl(Vector<RefPtr<Archive> >* clearedArchives);
+ void clearAllSubframeArchivesImpl(Vector<RefPtr<Archive>>* clearedArchives);
RefPtr<ArchiveResource> m_mainResource;
- Vector<RefPtr<ArchiveResource> > m_subresources;
- Vector<RefPtr<Archive> > m_subframeArchives;
+ Vector<RefPtr<ArchiveResource>> m_subresources;
+ Vector<RefPtr<Archive>> m_subframeArchives;
};
}
diff --git a/Source/WebCore/loader/archive/ArchiveResourceCollection.cpp b/Source/WebCore/loader/archive/ArchiveResourceCollection.cpp
index 64ec28d..ac9e377 100644
--- a/Source/WebCore/loader/archive/ArchiveResourceCollection.cpp
+++ b/Source/WebCore/loader/archive/ArchiveResourceCollection.cpp
@@ -41,12 +41,12 @@
if (!archive)
return;
- const Vector<RefPtr<ArchiveResource> >& subresources = archive->subresources();
- for (Vector<RefPtr<ArchiveResource> >::const_iterator iterator = subresources.begin(); iterator != subresources.end(); ++iterator)
+ const Vector<RefPtr<ArchiveResource>>& subresources = archive->subresources();
+ for (Vector<RefPtr<ArchiveResource>>::const_iterator iterator = subresources.begin(); iterator != subresources.end(); ++iterator)
m_subresources.set((*iterator)->url(), iterator->get());
- const Vector<RefPtr<Archive> >& subframes = archive->subframeArchives();
- for (Vector<RefPtr<Archive> >::const_iterator iterator = subframes.begin(); iterator != subframes.end(); ++iterator) {
+ const Vector<RefPtr<Archive>>& subframes = archive->subframeArchives();
+ for (Vector<RefPtr<Archive>>::const_iterator iterator = subframes.begin(); iterator != subframes.end(); ++iterator) {
RefPtr<Archive> archive = *iterator;
ASSERT(archive->mainResource());
diff --git a/Source/WebCore/loader/archive/ArchiveResourceCollection.h b/Source/WebCore/loader/archive/ArchiveResourceCollection.h
index 5ae4b2d..1927a89 100644
--- a/Source/WebCore/loader/archive/ArchiveResourceCollection.h
+++ b/Source/WebCore/loader/archive/ArchiveResourceCollection.h
@@ -51,8 +51,8 @@
PassRefPtr<Archive> popSubframeArchive(const String& frameName, const URL&);
private:
- HashMap<String, RefPtr<ArchiveResource> > m_subresources;
- HashMap<String, RefPtr<Archive> > m_subframes;
+ HashMap<String, RefPtr<ArchiveResource>> m_subresources;
+ HashMap<String, RefPtr<Archive>> m_subframes;
};
}
diff --git a/Source/WebCore/loader/archive/cf/LegacyWebArchive.cpp b/Source/WebCore/loader/archive/cf/LegacyWebArchive.cpp
index e12e98d..cc5cfb2 100644
--- a/Source/WebCore/loader/archive/cf/LegacyWebArchive.cpp
+++ b/Source/WebCore/loader/archive/cf/LegacyWebArchive.cpp
@@ -132,7 +132,7 @@
CFDictionarySetValue(propertyList.get(), LegacyWebArchiveMainResourceKey, mainResourceDict.get());
RetainPtr<CFMutableArrayRef> subresourcesArray = adoptCF(CFArrayCreateMutable(0, archive->subresources().size(), &kCFTypeArrayCallBacks));
- const Vector<RefPtr<ArchiveResource> >& subresources(archive->subresources());
+ const Vector<RefPtr<ArchiveResource>>& subresources(archive->subresources());
for (unsigned i = 0; i < subresources.size(); ++i) {
RetainPtr<CFDictionaryRef> subresource = createPropertyListRepresentation(subresources[i].get(), Subresource);
if (subresource)
@@ -144,7 +144,7 @@
CFDictionarySetValue(propertyList.get(), LegacyWebArchiveSubresourcesKey, subresourcesArray.get());
RetainPtr<CFMutableArrayRef> subframesArray = adoptCF(CFArrayCreateMutable(0, archive->subframeArchives().size(), &kCFTypeArrayCallBacks));
- const Vector<RefPtr<Archive> >& subframeArchives(archive->subframeArchives());
+ const Vector<RefPtr<Archive>>& subframeArchives(archive->subframeArchives());
for (unsigned i = 0; i < subframeArchives.size(); ++i) {
RetainPtr<CFDictionaryRef> subframeArchive = createPropertyListRepresentation(subframeArchives[i].get());
if (subframeArchive)
@@ -236,7 +236,7 @@
return adoptRef(new LegacyWebArchive);
}
-PassRefPtr<LegacyWebArchive> LegacyWebArchive::create(PassRefPtr<ArchiveResource> mainResource, Vector<PassRefPtr<ArchiveResource> >& subresources, Vector<PassRefPtr<LegacyWebArchive> >& subframeArchives)
+PassRefPtr<LegacyWebArchive> LegacyWebArchive::create(PassRefPtr<ArchiveResource> mainResource, Vector<PassRefPtr<ArchiveResource>>& subresources, Vector<PassRefPtr<LegacyWebArchive>>& subframeArchives)
{
ASSERT(mainResource);
if (!mainResource)
@@ -435,7 +435,7 @@
// If the page was loaded with javascript enabled, we don't want to archive <noscript> tags
// In practice we don't actually know whether scripting was enabled when the page was originally loaded
// but we can approximate that by checking if scripting is enabled right now.
- OwnPtr<Vector<QualifiedName> > tagNamesToFilter;
+ OwnPtr<Vector<QualifiedName>> tagNamesToFilter;
if (frame->page() && frame->page()->settings().isScriptEnabled()) {
tagNamesToFilter = adoptPtr(new Vector<QualifiedName>);
tagNamesToFilter->append(HTMLNames::noscriptTag);
@@ -459,7 +459,7 @@
if (!documentLoader)
return 0;
- Vector<PassRefPtr<LegacyWebArchive> > subframeArchives;
+ Vector<PassRefPtr<LegacyWebArchive>> subframeArchives;
unsigned children = frame->tree().childCount();
for (unsigned i = 0; i < children; ++i) {
@@ -468,7 +468,7 @@
subframeArchives.append(childFrameArchive.release());
}
- Vector<PassRefPtr<ArchiveResource> > subresources;
+ Vector<PassRefPtr<ArchiveResource>> subresources;
documentLoader->getSubresources(subresources);
return create(documentLoader->mainResource(), subresources, subframeArchives);
@@ -510,8 +510,8 @@
RefPtr<ArchiveResource> mainResource = ArchiveResource::create(utf8Buffer(markupString), responseURL, response.mimeType(), "UTF-8", frame->tree().uniqueName());
- Vector<PassRefPtr<LegacyWebArchive> > subframeArchives;
- Vector<PassRefPtr<ArchiveResource> > subresources;
+ Vector<PassRefPtr<LegacyWebArchive>> subframeArchives;
+ Vector<PassRefPtr<ArchiveResource>> subresources;
HashSet<URL> uniqueSubresources;
size_t nodesSize = nodes.size();
@@ -610,9 +610,9 @@
String iframeMarkup = "<iframe frameborder=\"no\" marginwidth=\"0\" marginheight=\"0\" width=\"98%%\" height=\"98%%\" src=\"" + frame->loader().documentLoader()->response().url().string() + "\"></iframe>";
RefPtr<ArchiveResource> iframeResource = ArchiveResource::create(utf8Buffer(iframeMarkup), blankURL(), "text/html", "UTF-8", String());
- Vector<PassRefPtr<ArchiveResource> > subresources;
+ Vector<PassRefPtr<ArchiveResource>> subresources;
- Vector<PassRefPtr<LegacyWebArchive> > subframeArchives;
+ Vector<PassRefPtr<LegacyWebArchive>> subframeArchives;
subframeArchives.append(archive);
archive = create(iframeResource.release(), subresources, subframeArchives);
diff --git a/Source/WebCore/loader/archive/cf/LegacyWebArchive.h b/Source/WebCore/loader/archive/cf/LegacyWebArchive.h
index 3ff5b92..80e43b9 100644
--- a/Source/WebCore/loader/archive/cf/LegacyWebArchive.h
+++ b/Source/WebCore/loader/archive/cf/LegacyWebArchive.h
@@ -48,7 +48,7 @@
static PassRefPtr<LegacyWebArchive> create();
static PassRefPtr<LegacyWebArchive> create(SharedBuffer*);
static PassRefPtr<LegacyWebArchive> create(const URL&, SharedBuffer*);
- static PassRefPtr<LegacyWebArchive> create(PassRefPtr<ArchiveResource> mainResource, Vector<PassRefPtr<ArchiveResource> >& subresources, Vector<PassRefPtr<LegacyWebArchive> >& subframeArchives);
+ static PassRefPtr<LegacyWebArchive> create(PassRefPtr<ArchiveResource> mainResource, Vector<PassRefPtr<ArchiveResource>>& subresources, Vector<PassRefPtr<LegacyWebArchive>>& subframeArchives);
static PassRefPtr<LegacyWebArchive> create(Node*, FrameFilter* = 0);
static PassRefPtr<LegacyWebArchive> create(Frame*);
static PassRefPtr<LegacyWebArchive> createFromSelection(Frame*);
diff --git a/Source/WebCore/loader/archive/mhtml/MHTMLParser.h b/Source/WebCore/loader/archive/mhtml/MHTMLParser.h
index 1bd3fee..4f1b126 100644
--- a/Source/WebCore/loader/archive/mhtml/MHTMLParser.h
+++ b/Source/WebCore/loader/archive/mhtml/MHTMLParser.h
@@ -63,8 +63,8 @@
void addResourceToArchive(ArchiveResource*, MHTMLArchive*);
SharedBufferChunkReader m_lineReader;
- Vector<RefPtr<ArchiveResource> > m_resources;
- Vector<RefPtr<MHTMLArchive> > m_frames;
+ Vector<RefPtr<ArchiveResource>> m_resources;
+ Vector<RefPtr<MHTMLArchive>> m_frames;
};
}
diff --git a/Source/WebCore/loader/cache/CachedResource.h b/Source/WebCore/loader/cache/CachedResource.h
index fda4dd9..b5b5a5c 100644
--- a/Source/WebCore/loader/cache/CachedResource.h
+++ b/Source/WebCore/loader/cache/CachedResource.h
@@ -288,7 +288,7 @@
CachedResourceClient* m_client;
Timer<CachedResourceCallback> m_callbackTimer;
};
- HashMap<CachedResourceClient*, OwnPtr<CachedResourceCallback> > m_clientsAwaitingCallback;
+ HashMap<CachedResourceClient*, OwnPtr<CachedResourceCallback>> m_clientsAwaitingCallback;
ResourceRequest m_resourceRequest;
String m_accept;
diff --git a/Source/WebCore/loader/cache/CachedResourceLoader.h b/Source/WebCore/loader/cache/CachedResourceLoader.h
index 9c959c4..9db9b59 100644
--- a/Source/WebCore/loader/cache/CachedResourceLoader.h
+++ b/Source/WebCore/loader/cache/CachedResourceLoader.h
@@ -102,7 +102,7 @@
CachedResource* cachedResource(const String& url) const;
CachedResource* cachedResource(const URL& url) const;
- typedef HashMap<String, CachedResourceHandle<CachedResource> > DocumentResourceMap;
+ typedef HashMap<String, CachedResourceHandle<CachedResource>> DocumentResourceMap;
const DocumentResourceMap& allCachedResources() const { return m_documentResources; }
bool autoLoadImages() const { return m_autoLoadImages; }
@@ -167,7 +167,7 @@
int m_requestCount;
- OwnPtr<ListHashSet<CachedResource*> > m_preloads;
+ OwnPtr<ListHashSet<CachedResource*>> m_preloads;
struct PendingPreload {
CachedResource::Type m_type;
CachedResourceRequest m_request;
diff --git a/Source/WebCore/loader/cache/MemoryCache.h b/Source/WebCore/loader/cache/MemoryCache.h
index 3d4d2a6..3f8b616 100644
--- a/Source/WebCore/loader/cache/MemoryCache.h
+++ b/Source/WebCore/loader/cache/MemoryCache.h
@@ -82,7 +82,7 @@
#if ENABLE(CACHE_PARTITIONING)
typedef HashMap<String, CachedResource*> CachedResourceItem;
- typedef HashMap<String, OwnPtr<CachedResourceItem> > CachedResourceMap;
+ typedef HashMap<String, OwnPtr<CachedResourceItem>> CachedResourceMap;
#else
typedef HashMap<String, CachedResource*> CachedResourceMap;
#endif
@@ -177,7 +177,7 @@
void resourceAccessed(CachedResource*);
- typedef HashSet<RefPtr<SecurityOrigin> > SecurityOriginSet;
+ typedef HashSet<RefPtr<SecurityOrigin>> SecurityOriginSet;
void removeResourcesWithOrigin(SecurityOrigin*);
void getOriginsWithCache(SecurityOriginSet& origins);
diff --git a/Source/WebCore/loader/icon/IconDatabase.cpp b/Source/WebCore/loader/icon/IconDatabase.cpp
index 2a593dc..b1dba33 100644
--- a/Source/WebCore/loader/icon/IconDatabase.cpp
+++ b/Source/WebCore/loader/icon/IconDatabase.cpp
@@ -823,8 +823,8 @@
ASSERT(m_iconURLImportComplete);
LOG(IconDatabase, "Notifying all DocumentLoaders that were waiting on a load decision for their icons");
- HashSet<RefPtr<DocumentLoader> >::iterator i = m_loadersPendingDecision.begin();
- HashSet<RefPtr<DocumentLoader> >::iterator end = m_loadersPendingDecision.end();
+ HashSet<RefPtr<DocumentLoader>>::iterator i = m_loadersPendingDecision.begin();
+ HashSet<RefPtr<DocumentLoader>>::iterator end = m_loadersPendingDecision.end();
for (; i != end; ++i)
if ((*i)->refCount() > 1)
diff --git a/Source/WebCore/loader/icon/IconDatabase.h b/Source/WebCore/loader/icon/IconDatabase.h
index c777dd4..3fede30 100644
--- a/Source/WebCore/loader/icon/IconDatabase.h
+++ b/Source/WebCore/loader/icon/IconDatabase.h
@@ -133,7 +133,7 @@
ThreadIdentifier m_syncThread;
bool m_syncThreadRunning;
- HashSet<RefPtr<DocumentLoader> > m_loadersPendingDecision;
+ HashSet<RefPtr<DocumentLoader>> m_loadersPendingDecision;
RefPtr<IconRecord> m_defaultIconRecord;
diff --git a/Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp b/Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp
index e54fe8c..a105da9 100644
--- a/Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp
+++ b/Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp
@@ -761,11 +761,11 @@
return codePointCompare(trackDisplayName(a.get()), trackDisplayName(b.get())) < 0;
}
-Vector<RefPtr<TextTrack> > CaptionUserPreferencesMediaAF::sortedTrackListForMenu(TextTrackList* trackList)
+Vector<RefPtr<TextTrack>> CaptionUserPreferencesMediaAF::sortedTrackListForMenu(TextTrackList* trackList)
{
ASSERT(trackList);
- Vector<RefPtr<TextTrack> > tracksForMenu;
+ Vector<RefPtr<TextTrack>> tracksForMenu;
HashSet<String> languagesIncluded;
bool prefersAccessibilityTracks = userPrefersCaptions();
bool filterTrackList = shouldFilterTrackMenu();
diff --git a/Source/WebCore/page/CaptionUserPreferencesMediaAF.h b/Source/WebCore/page/CaptionUserPreferencesMediaAF.h
index 3d4f573..b9bf2df 100644
--- a/Source/WebCore/page/CaptionUserPreferencesMediaAF.h
+++ b/Source/WebCore/page/CaptionUserPreferencesMediaAF.h
@@ -63,7 +63,7 @@
virtual String captionsStyleSheetOverride() const OVERRIDE;
virtual int textTrackSelectionScore(TextTrack*, HTMLMediaElement*) const OVERRIDE;
- virtual Vector<RefPtr<TextTrack> > sortedTrackListForMenu(TextTrackList*) OVERRIDE;
+ virtual Vector<RefPtr<TextTrack>> sortedTrackListForMenu(TextTrackList*) OVERRIDE;
virtual String displayNameForTrack(TextTrack*) const OVERRIDE;
private:
diff --git a/Source/WebCore/page/ChromeClient.h b/Source/WebCore/page/ChromeClient.h
index ede0f8d..e436106 100644
--- a/Source/WebCore/page/ChromeClient.h
+++ b/Source/WebCore/page/ChromeClient.h
@@ -358,7 +358,7 @@
virtual String plugInExtraStyleSheet() const { return String(); }
virtual String plugInExtraScript() const { return String(); }
- virtual void didAssociateFormControls(const Vector<RefPtr<Element> >&) { };
+ virtual void didAssociateFormControls(const Vector<RefPtr<Element>>&) { };
virtual bool shouldNotifyOnFormChanges() { return false; };
virtual void didAddHeaderLayer(GraphicsLayer*) { }
diff --git a/Source/WebCore/page/Console.h b/Source/WebCore/page/Console.h
index ca09a53..3332d01 100644
--- a/Source/WebCore/page/Console.h
+++ b/Source/WebCore/page/Console.h
@@ -44,7 +44,7 @@
class ScriptArguments;
#if ENABLE(JAVASCRIPT_DEBUGGER)
-typedef Vector<RefPtr<ScriptProfile> > ProfilesArray;
+typedef Vector<RefPtr<ScriptProfile>> ProfilesArray;
#endif
class Console : public ScriptWrappable, public RefCounted<Console>, public DOMWindowProperty {
diff --git a/Source/WebCore/page/ContentSecurityPolicy.h b/Source/WebCore/page/ContentSecurityPolicy.h
index 2ea88f2..a834bbb 100644
--- a/Source/WebCore/page/ContentSecurityPolicy.h
+++ b/Source/WebCore/page/ContentSecurityPolicy.h
@@ -46,7 +46,7 @@
class SecurityOrigin;
typedef int SandboxFlags;
-typedef Vector<OwnPtr<CSPDirectiveList> > CSPDirectiveListVector;
+typedef Vector<OwnPtr<CSPDirectiveList>> CSPDirectiveListVector;
class ContentSecurityPolicy {
WTF_MAKE_FAST_ALLOCATED;
diff --git a/Source/WebCore/page/DOMWindow.cpp b/Source/WebCore/page/DOMWindow.cpp
index 2c9e195..8c7d0da 100644
--- a/Source/WebCore/page/DOMWindow.cpp
+++ b/Source/WebCore/page/DOMWindow.cpp
@@ -1363,7 +1363,7 @@
PseudoId pseudoId = CSSSelector::pseudoId(pseudoType);
- Vector<RefPtr<StyleRuleBase> > matchedRules = m_frame->document()->ensureStyleResolver().pseudoStyleRulesForElement(element, pseudoId, rulesToInclude);
+ Vector<RefPtr<StyleRuleBase>> matchedRules = m_frame->document()->ensureStyleResolver().pseudoStyleRulesForElement(element, pseudoId, rulesToInclude);
if (matchedRules.isEmpty())
return 0;
diff --git a/Source/WebCore/page/DeviceController.cpp b/Source/WebCore/page/DeviceController.cpp
index 02a8824..293d2d0 100644
--- a/Source/WebCore/page/DeviceController.cpp
+++ b/Source/WebCore/page/DeviceController.cpp
@@ -74,7 +74,7 @@
void DeviceController::dispatchDeviceEvent(PassRefPtr<Event> prpEvent)
{
RefPtr<Event> event = prpEvent;
- Vector<RefPtr<DOMWindow> > listenerVector;
+ Vector<RefPtr<DOMWindow>> listenerVector;
copyToVector(m_listeners, listenerVector);
for (size_t i = 0; i < listenerVector.size(); ++i) {
if (listenerVector[i]->document()
@@ -90,7 +90,7 @@
ASSERT(hasLastData());
m_timer.stop();
- Vector<RefPtr<DOMWindow> > listenerVector;
+ Vector<RefPtr<DOMWindow>> listenerVector;
copyToVector(m_lastEventListeners, listenerVector);
m_lastEventListeners.clear();
for (size_t i = 0; i < listenerVector.size(); ++i) {
diff --git a/Source/WebCore/page/DeviceController.h b/Source/WebCore/page/DeviceController.h
index b7ff782..555b630 100644
--- a/Source/WebCore/page/DeviceController.h
+++ b/Source/WebCore/page/DeviceController.h
@@ -57,8 +57,8 @@
protected:
void fireDeviceEvent(Timer<DeviceController>*);
- HashCountedSet<RefPtr<DOMWindow> > m_listeners;
- HashCountedSet<RefPtr<DOMWindow> > m_lastEventListeners;
+ HashCountedSet<RefPtr<DOMWindow>> m_listeners;
+ HashCountedSet<RefPtr<DOMWindow>> m_lastEventListeners;
DeviceClient* m_client;
Timer<DeviceController> m_timer;
};
diff --git a/Source/WebCore/page/EditorClient.h b/Source/WebCore/page/EditorClient.h
index 385766e..2d5a481 100644
--- a/Source/WebCore/page/EditorClient.h
+++ b/Source/WebCore/page/EditorClient.h
@@ -89,7 +89,7 @@
virtual void didEndEditing() = 0;
virtual void willWriteSelectionToPasteboard(Range*) = 0;
virtual void didWriteSelectionToPasteboard() = 0;
- virtual void getClientPasteboardDataForRange(Range*, Vector<String>& pasteboardTypes, Vector<RefPtr<SharedBuffer> >& pasteboardData) = 0;
+ virtual void getClientPasteboardDataForRange(Range*, Vector<String>& pasteboardTypes, Vector<RefPtr<SharedBuffer>>& pasteboardData) = 0;
virtual void registerUndoStep(PassRefPtr<UndoStep>) = 0;
virtual void registerRedoStep(PassRefPtr<UndoStep>) = 0;
@@ -115,7 +115,7 @@
#if PLATFORM(MAC)
virtual NSString* userVisibleString(NSURL*) = 0;
- virtual DocumentFragment* documentFragmentFromAttributedString(NSAttributedString*, Vector< RefPtr<ArchiveResource> >&) = 0;
+ virtual DocumentFragment* documentFragmentFromAttributedString(NSAttributedString*, Vector< RefPtr<ArchiveResource>>&) = 0;
virtual void setInsertionPasteboard(const String& pasteboardName) = 0;
virtual NSURL* canonicalizeURL(NSURL*) = 0;
virtual NSURL* canonicalizeURLString(NSString*) = 0;
diff --git a/Source/WebCore/page/EventHandler.cpp b/Source/WebCore/page/EventHandler.cpp
index b0d9a8e..aa9c8f3 100644
--- a/Source/WebCore/page/EventHandler.cpp
+++ b/Source/WebCore/page/EventHandler.cpp
@@ -3553,11 +3553,11 @@
// A different view on the 'touches' list above, filtered and grouped by event target. Used for the
// 'targetTouches' list in the JS event.
- typedef HashMap<EventTarget*, RefPtr<TouchList> > TargetTouchesMap;
+ typedef HashMap<EventTarget*, RefPtr<TouchList>> TargetTouchesMap;
TargetTouchesMap touchesByTarget;
// Array of touches per state, used to assemble the 'changedTouches' list in the JS event.
- typedef HashSet<RefPtr<EventTarget> > EventTargetSet;
+ typedef HashSet<RefPtr<EventTarget>> EventTargetSet;
struct {
// The touches corresponding to the particular change state this struct instance represents.
RefPtr<TouchList> m_touches;
diff --git a/Source/WebCore/page/EventHandler.h b/Source/WebCore/page/EventHandler.h
index 11665cf..34c0095 100644
--- a/Source/WebCore/page/EventHandler.h
+++ b/Source/WebCore/page/EventHandler.h
@@ -458,7 +458,7 @@
int m_activationEventNumber;
#endif
#if ENABLE(TOUCH_EVENTS)
- typedef HashMap<int, RefPtr<EventTarget> > TouchTargetMap;
+ typedef HashMap<int, RefPtr<EventTarget>> TouchTargetMap;
TouchTargetMap m_originatingTouchPointTargets;
RefPtr<Document> m_originatingTouchPointDocument;
unsigned m_originatingTouchPointTargetKey;
diff --git a/Source/WebCore/page/FrameView.cpp b/Source/WebCore/page/FrameView.cpp
index 87ae952..73a86cd 100644
--- a/Source/WebCore/page/FrameView.cpp
+++ b/Source/WebCore/page/FrameView.cpp
@@ -2479,7 +2479,7 @@
frame->animation().serviceAnimations();
}
- Vector<RefPtr<Document> > documents;
+ Vector<RefPtr<Document>> documents;
for (Frame* frame = m_frame.get(); frame; frame = frame->tree().traverseNext())
documents.append(frame->document());
diff --git a/Source/WebCore/page/Page.cpp b/Source/WebCore/page/Page.cpp
index 03decb4..6ca0f0f 100644
--- a/Source/WebCore/page/Page.cpp
+++ b/Source/WebCore/page/Page.cpp
@@ -576,7 +576,7 @@
return false;
}
-void Page::findStringMatchingRanges(const String& target, FindOptions options, int limit, Vector<RefPtr<Range> >* matchRanges, int& indexForSelection)
+void Page::findStringMatchingRanges(const String& target, FindOptions options, int limit, Vector<RefPtr<Range>>* matchRanges, int& indexForSelection)
{
indexForSelection = 0;
diff --git a/Source/WebCore/page/Page.h b/Source/WebCore/page/Page.h
index 511b6ce..259186e 100644
--- a/Source/WebCore/page/Page.h
+++ b/Source/WebCore/page/Page.h
@@ -250,7 +250,7 @@
// the index of the first range after the user selection
// NoMatchAfterUserSelection if there is no matching text after the user selection.
enum { NoMatchAfterUserSelection = -1 };
- void findStringMatchingRanges(const String&, FindOptions, int maxCount, Vector<RefPtr<Range> >*, int& indexForSelection);
+ void findStringMatchingRanges(const String&, FindOptions, int maxCount, Vector<RefPtr<Range>>*, int& indexForSelection);
#if PLATFORM(MAC)
void addSchedulePair(PassRefPtr<SchedulePair>);
void removeSchedulePair(PassRefPtr<SchedulePair>);
diff --git a/Source/WebCore/page/PageGroup.h b/Source/WebCore/page/PageGroup.h
index cfbc0ed..08fa74a 100644
--- a/Source/WebCore/page/PageGroup.h
+++ b/Source/WebCore/page/PageGroup.h
@@ -120,7 +120,7 @@
unsigned m_identifier;
RefPtr<StorageNamespace> m_localStorage;
- HashMap<RefPtr<SecurityOrigin>, RefPtr<StorageNamespace> > m_transientLocalStorageMap;
+ HashMap<RefPtr<SecurityOrigin>, RefPtr<StorageNamespace>> m_transientLocalStorageMap;
std::unique_ptr<UserScriptMap> m_userScripts;
std::unique_ptr<UserStyleSheetMap> m_userStyleSheets;
diff --git a/Source/WebCore/page/Performance.cpp b/Source/WebCore/page/Performance.cpp
index 180bd8c..b4372f6 100644
--- a/Source/WebCore/page/Performance.cpp
+++ b/Source/WebCore/page/Performance.cpp
@@ -116,7 +116,7 @@
#if ENABLE(RESOURCE_TIMING)
if (equalIgnoringCase(entryType, "resource"))
- for (Vector<RefPtr<PerformanceEntry> >::const_iterator resource = m_resourceTimingBuffer.begin(); resource != m_resourceTimingBuffer.end(); ++resource)
+ for (Vector<RefPtr<PerformanceEntry>>::const_iterator resource = m_resourceTimingBuffer.begin(); resource != m_resourceTimingBuffer.end(); ++resource)
entries->append(*resource);
#endif // ENABLE(RESOURCE_TIMING)
@@ -139,7 +139,7 @@
#if ENABLE(RESOURCE_TIMING)
if (entryType.isNull() || equalIgnoringCase(entryType, "resource"))
- for (Vector<RefPtr<PerformanceEntry> >::const_iterator resource = m_resourceTimingBuffer.begin(); resource != m_resourceTimingBuffer.end(); ++resource)
+ for (Vector<RefPtr<PerformanceEntry>>::const_iterator resource = m_resourceTimingBuffer.begin(); resource != m_resourceTimingBuffer.end(); ++resource)
if ((*resource)->name() == name)
entries->append(*resource);
#endif // ENABLE(RESOURCE_TIMING)
diff --git a/Source/WebCore/page/Performance.h b/Source/WebCore/page/Performance.h
index 5af595f..5a53b4b 100644
--- a/Source/WebCore/page/Performance.h
+++ b/Source/WebCore/page/Performance.h
@@ -101,7 +101,7 @@
mutable RefPtr<PerformanceTiming> m_timing;
#if ENABLE(RESOURCE_TIMING)
- Vector<RefPtr<PerformanceEntry> > m_resourceTimingBuffer;
+ Vector<RefPtr<PerformanceEntry>> m_resourceTimingBuffer;
unsigned m_resourceTimingBufferSize;
#endif
diff --git a/Source/WebCore/page/PerformanceEntryList.cpp b/Source/WebCore/page/PerformanceEntryList.cpp
index f399e07..d9fa055 100644
--- a/Source/WebCore/page/PerformanceEntryList.cpp
+++ b/Source/WebCore/page/PerformanceEntryList.cpp
@@ -63,7 +63,7 @@
m_entries.append(entry);
}
-void PerformanceEntryList::appendAll(const Vector<RefPtr<PerformanceEntry> >& entries)
+void PerformanceEntryList::appendAll(const Vector<RefPtr<PerformanceEntry>>& entries)
{
m_entries.appendVector(entries);
}
diff --git a/Source/WebCore/page/PerformanceEntryList.h b/Source/WebCore/page/PerformanceEntryList.h
index 4feb4e7..d900287 100644
--- a/Source/WebCore/page/PerformanceEntryList.h
+++ b/Source/WebCore/page/PerformanceEntryList.h
@@ -52,14 +52,14 @@
PerformanceEntry* item(unsigned index);
void append(PassRefPtr<PerformanceEntry>);
- void appendAll(const Vector<RefPtr<PerformanceEntry> >&);
+ void appendAll(const Vector<RefPtr<PerformanceEntry>>&);
void sort();
private:
PerformanceEntryList();
- Vector<RefPtr<PerformanceEntry> > m_entries;
+ Vector<RefPtr<PerformanceEntry>> m_entries;
};
} // namespace WebCore
diff --git a/Source/WebCore/page/SecurityOriginHash.h b/Source/WebCore/page/SecurityOriginHash.h
index 96b8754..9886c7d 100644
--- a/Source/WebCore/page/SecurityOriginHash.h
+++ b/Source/WebCore/page/SecurityOriginHash.h
@@ -77,7 +77,7 @@
namespace WTF {
template<typename> struct DefaultHash;
- template<> struct DefaultHash<RefPtr<WebCore::SecurityOrigin> > {
+ template<> struct DefaultHash<RefPtr<WebCore::SecurityOrigin>> {
typedef WebCore::SecurityOriginHash Hash;
};
diff --git a/Source/WebCore/page/SecurityPolicy.cpp b/Source/WebCore/page/SecurityPolicy.cpp
index b24ca94..97e0706 100644
--- a/Source/WebCore/page/SecurityPolicy.cpp
+++ b/Source/WebCore/page/SecurityPolicy.cpp
@@ -42,7 +42,7 @@
static SecurityPolicy::LocalLoadPolicy localLoadPolicy = SecurityPolicy::AllowLocalLoadsForLocalOnly;
typedef Vector<OriginAccessEntry> OriginAccessWhiteList;
-typedef HashMap<String, OwnPtr<OriginAccessWhiteList> > OriginAccessMap;
+typedef HashMap<String, OwnPtr<OriginAccessWhiteList>> OriginAccessMap;
static OriginAccessMap& originAccessMap()
{
diff --git a/Source/WebCore/page/SpeechInputResult.h b/Source/WebCore/page/SpeechInputResult.h
index 895f122..1070e12 100644
--- a/Source/WebCore/page/SpeechInputResult.h
+++ b/Source/WebCore/page/SpeechInputResult.h
@@ -51,7 +51,7 @@
double m_confidence;
};
-typedef Vector<RefPtr<SpeechInputResult> > SpeechInputResultArray;
+typedef Vector<RefPtr<SpeechInputResult>> SpeechInputResultArray;
} // namespace WebCore
diff --git a/Source/WebCore/page/animation/AnimationController.cpp b/Source/WebCore/page/animation/AnimationController.cpp
index b711e85..6fbc46e 100644
--- a/Source/WebCore/page/animation/AnimationController.cpp
+++ b/Source/WebCore/page/animation/AnimationController.cpp
@@ -179,8 +179,8 @@
}
// call setChanged on all the elements
- Vector<RefPtr<Node> >::const_iterator nodeChangesToDispatchEnd = m_nodeChangesToDispatch.end();
- for (Vector<RefPtr<Node> >::const_iterator it = m_nodeChangesToDispatch.begin(); it != nodeChangesToDispatchEnd; ++it)
+ Vector<RefPtr<Node>>::const_iterator nodeChangesToDispatchEnd = m_nodeChangesToDispatch.end();
+ for (Vector<RefPtr<Node>>::const_iterator it = m_nodeChangesToDispatch.begin(); it != nodeChangesToDispatchEnd; ++it)
(*it)->setNeedsStyleRecalc(SyntheticStyleChange);
m_nodeChangesToDispatch.clear();
diff --git a/Source/WebCore/page/animation/AnimationControllerPrivate.h b/Source/WebCore/page/animation/AnimationControllerPrivate.h
index 95f1642..5699ed3 100644
--- a/Source/WebCore/page/animation/AnimationControllerPrivate.h
+++ b/Source/WebCore/page/animation/AnimationControllerPrivate.h
@@ -134,11 +134,11 @@
};
Vector<EventToDispatch> m_eventsToDispatch;
- Vector<RefPtr<Node> > m_nodeChangesToDispatch;
+ Vector<RefPtr<Node>> m_nodeChangesToDispatch;
double m_beginAnimationUpdateTime;
- typedef HashSet<RefPtr<AnimationBase> > WaitingAnimationsSet;
+ typedef HashSet<RefPtr<AnimationBase>> WaitingAnimationsSet;
WaitingAnimationsSet m_animationsWaitingForStyle;
WaitingAnimationsSet m_animationsWaitingForStartTimeResponse;
bool m_waitingForAsyncStartNotification;
diff --git a/Source/WebCore/page/animation/CSSPropertyAnimation.cpp b/Source/WebCore/page/animation/CSSPropertyAnimation.cpp
index 35890b1..ed35ec3 100644
--- a/Source/WebCore/page/animation/CSSPropertyAnimation.cpp
+++ b/Source/WebCore/page/animation/CSSPropertyAnimation.cpp
@@ -1270,7 +1270,7 @@
new PropertyWrapperSVGPaint(CSSPropertyStroke, &RenderStyle::strokePaintType, &RenderStyle::strokePaintColor, &RenderStyle::setStrokePaintColor),
new PropertyWrapper<float>(CSSPropertyStrokeOpacity, &RenderStyle::strokeOpacity, &RenderStyle::setStrokeOpacity),
new PropertyWrapper<SVGLength>(CSSPropertyStrokeWidth, &RenderStyle::strokeWidth, &RenderStyle::setStrokeWidth),
- new PropertyWrapper< Vector<SVGLength> >(CSSPropertyStrokeDasharray, &RenderStyle::strokeDashArray, &RenderStyle::setStrokeDashArray),
+ new PropertyWrapper< Vector<SVGLength>>(CSSPropertyStrokeDasharray, &RenderStyle::strokeDashArray, &RenderStyle::setStrokeDashArray),
new PropertyWrapper<SVGLength>(CSSPropertyStrokeDashoffset, &RenderStyle::strokeDashOffset, &RenderStyle::setStrokeDashOffset),
new PropertyWrapper<float>(CSSPropertyStrokeMiterlimit, &RenderStyle::strokeMiterLimit, &RenderStyle::setStrokeMiterLimit),
diff --git a/Source/WebCore/page/animation/CompositeAnimation.h b/Source/WebCore/page/animation/CompositeAnimation.h
index 15e9053..8e18774 100644
--- a/Source/WebCore/page/animation/CompositeAnimation.h
+++ b/Source/WebCore/page/animation/CompositeAnimation.h
@@ -85,8 +85,8 @@
void updateTransitions(RenderElement*, RenderStyle* currentStyle, RenderStyle* targetStyle);
void updateKeyframeAnimations(RenderElement*, RenderStyle* currentStyle, RenderStyle* targetStyle);
- typedef HashMap<int, RefPtr<ImplicitAnimation> > CSSPropertyTransitionsMap;
- typedef HashMap<AtomicStringImpl*, RefPtr<KeyframeAnimation> > AnimationNameMap;
+ typedef HashMap<int, RefPtr<ImplicitAnimation>> CSSPropertyTransitionsMap;
+ typedef HashMap<AtomicStringImpl*, RefPtr<KeyframeAnimation>> AnimationNameMap;
AnimationControllerPrivate* m_animationController;
CSSPropertyTransitionsMap m_transitions;
diff --git a/Source/WebCore/page/scrolling/ScrollingStateNode.cpp b/Source/WebCore/page/scrolling/ScrollingStateNode.cpp
index b725eb7..40dc42b 100644
--- a/Source/WebCore/page/scrolling/ScrollingStateNode.cpp
+++ b/Source/WebCore/page/scrolling/ScrollingStateNode.cpp
@@ -87,7 +87,7 @@
childNode->setParent(this);
if (!m_children)
- m_children = adoptPtr(new Vector<OwnPtr<ScrollingStateNode> >);
+ m_children = adoptPtr(new Vector<OwnPtr<ScrollingStateNode>>);
m_children->append(childNode);
}
diff --git a/Source/WebCore/page/scrolling/ScrollingStateNode.h b/Source/WebCore/page/scrolling/ScrollingStateNode.h
index c265bf8..d26fb34 100644
--- a/Source/WebCore/page/scrolling/ScrollingStateNode.h
+++ b/Source/WebCore/page/scrolling/ScrollingStateNode.h
@@ -83,7 +83,7 @@
ScrollingStateNode* parent() const { return m_parent; }
void setParent(ScrollingStateNode* parent) { m_parent = parent; }
- Vector<OwnPtr<ScrollingStateNode> >* children() const { return m_children.get(); }
+ Vector<OwnPtr<ScrollingStateNode>>* children() const { return m_children.get(); }
void appendChild(PassOwnPtr<ScrollingStateNode>);
void removeChild(ScrollingStateNode*);
@@ -107,7 +107,7 @@
ChangedProperties m_changedProperties;
ScrollingStateNode* m_parent;
- OwnPtr<Vector<OwnPtr<ScrollingStateNode> > > m_children;
+ OwnPtr<Vector<OwnPtr<ScrollingStateNode>>> m_children;
#if PLATFORM(MAC)
RetainPtr<PlatformLayer> m_platformScrollLayer;
diff --git a/Source/WebCore/page/scrolling/ScrollingThread.cpp b/Source/WebCore/page/scrolling/ScrollingThread.cpp
index 5d31edc..45e788c 100644
--- a/Source/WebCore/page/scrolling/ScrollingThread.cpp
+++ b/Source/WebCore/page/scrolling/ScrollingThread.cpp
@@ -106,7 +106,7 @@
{
ASSERT(isCurrentThread());
- Vector<Function<void()> > functions;
+ Vector<Function<void()>> functions;
{
MutexLocker locker(m_functionsMutex);
diff --git a/Source/WebCore/page/scrolling/ScrollingThread.h b/Source/WebCore/page/scrolling/ScrollingThread.h
index 758182e..9d3edd7 100644
--- a/Source/WebCore/page/scrolling/ScrollingThread.h
+++ b/Source/WebCore/page/scrolling/ScrollingThread.h
@@ -74,7 +74,7 @@
Mutex m_initializeRunLoopConditionMutex;
Mutex m_functionsMutex;
- Vector<Function<void()> > m_functions;
+ Vector<Function<void()>> m_functions;
#if PLATFORM(MAC)
// FIXME: We should use WebCore::RunLoop here.
diff --git a/Source/WebCore/page/scrolling/ScrollingTree.cpp b/Source/WebCore/page/scrolling/ScrollingTree.cpp
index 228ae3e..e2843f4 100644
--- a/Source/WebCore/page/scrolling/ScrollingTree.cpp
+++ b/Source/WebCore/page/scrolling/ScrollingTree.cpp
@@ -203,7 +203,7 @@
}
// Now update the children if we have any.
- Vector<OwnPtr<ScrollingStateNode> >* stateNodeChildren = stateNode->children();
+ Vector<OwnPtr<ScrollingStateNode>>* stateNodeChildren = stateNode->children();
if (stateNodeChildren) {
size_t size = stateNodeChildren->size();
for (size_t i = 0; i < size; ++i)
diff --git a/Source/WebCore/page/scrolling/ScrollingTreeNode.cpp b/Source/WebCore/page/scrolling/ScrollingTreeNode.cpp
index d810b408..0412e05 100644
--- a/Source/WebCore/page/scrolling/ScrollingTreeNode.cpp
+++ b/Source/WebCore/page/scrolling/ScrollingTreeNode.cpp
@@ -48,7 +48,7 @@
childNode->setParent(this);
if (!m_children)
- m_children = adoptPtr(new Vector<OwnPtr<ScrollingTreeNode> >);
+ m_children = adoptPtr(new Vector<OwnPtr<ScrollingTreeNode>>);
m_children->append(childNode);
}
diff --git a/Source/WebCore/page/scrolling/ScrollingTreeNode.h b/Source/WebCore/page/scrolling/ScrollingTreeNode.h
index 56e100d..a526edb 100644
--- a/Source/WebCore/page/scrolling/ScrollingTreeNode.h
+++ b/Source/WebCore/page/scrolling/ScrollingTreeNode.h
@@ -60,7 +60,7 @@
protected:
ScrollingTree* scrollingTree() const { return m_scrollingTree; }
- typedef Vector<OwnPtr<ScrollingTreeNode> > ScrollingTreeChildrenVector;
+ typedef Vector<OwnPtr<ScrollingTreeNode>> ScrollingTreeChildrenVector;
OwnPtr<ScrollingTreeChildrenVector> m_children;
private:
diff --git a/Source/WebCore/page/scrolling/mac/ScrollingCoordinatorMac.mm b/Source/WebCore/page/scrolling/mac/ScrollingCoordinatorMac.mm
index ea82a29..de3716d 100644
--- a/Source/WebCore/page/scrolling/mac/ScrollingCoordinatorMac.mm
+++ b/Source/WebCore/page/scrolling/mac/ScrollingCoordinatorMac.mm
@@ -358,7 +358,7 @@
if (!m_scrollingStateTree->rootStateNode())
return;
- Vector<OwnPtr<ScrollingStateNode> >* children = m_scrollingStateTree->rootStateNode()->children();
+ Vector<OwnPtr<ScrollingStateNode>>* children = m_scrollingStateTree->rootStateNode()->children();
if (!children)
return;
diff --git a/Source/WebCore/platform/CrossThreadCopier.cpp b/Source/WebCore/platform/CrossThreadCopier.cpp
index 2e8611b..5e8ba79 100644
--- a/Source/WebCore/platform/CrossThreadCopier.cpp
+++ b/Source/WebCore/platform/CrossThreadCopier.cpp
@@ -75,12 +75,12 @@
COMPILE_ASSERT((std::is_same<
PassRefPtr<CopierThreadSafeRefCountedTest>,
- CrossThreadCopier<PassRefPtr<CopierThreadSafeRefCountedTest> >::Type
+ CrossThreadCopier<PassRefPtr<CopierThreadSafeRefCountedTest>>::Type
>::value),
PassRefPtrTest);
COMPILE_ASSERT((std::is_same<
PassRefPtr<CopierThreadSafeRefCountedTest>,
- CrossThreadCopier<RefPtr<CopierThreadSafeRefCountedTest> >::Type
+ CrossThreadCopier<RefPtr<CopierThreadSafeRefCountedTest>>::Type
>::value),
RefPtrTest);
COMPILE_ASSERT((std::is_same<
@@ -101,13 +101,13 @@
COMPILE_ASSERT((std::is_same<
int,
- CrossThreadCopier<PassRefPtr<CopierRefCountedTest> >::Type
+ CrossThreadCopier<PassRefPtr<CopierRefCountedTest>>::Type
>::value),
PassRefPtrRefCountedTest);
COMPILE_ASSERT((std::is_same<
int,
- CrossThreadCopier<RefPtr<CopierRefCountedTest> >::Type
+ CrossThreadCopier<RefPtr<CopierRefCountedTest>>::Type
>::value),
RefPtrRefCountedTest);
@@ -120,14 +120,14 @@
// Verify that PassOwnPtr gets passed through.
COMPILE_ASSERT((std::is_same<
PassOwnPtr<float>,
- CrossThreadCopier<PassOwnPtr<float> >::Type
+ CrossThreadCopier<PassOwnPtr<float>>::Type
>::value),
PassOwnPtrTest);
// Verify that PassOwnPtr does not get passed through.
COMPILE_ASSERT((std::is_same<
int,
- CrossThreadCopier<OwnPtr<float> >::Type
+ CrossThreadCopier<OwnPtr<float>>::Type
>::value),
OwnPtrTest);
diff --git a/Source/WebCore/platform/CrossThreadCopier.h b/Source/WebCore/platform/CrossThreadCopier.h
index ae2ef24..c77c91b 100644
--- a/Source/WebCore/platform/CrossThreadCopier.h
+++ b/Source/WebCore/platform/CrossThreadCopier.h
@@ -112,7 +112,7 @@
}
};
- template<typename T> struct CrossThreadCopierBase<false, false, PassOwnPtr<T> > {
+ template<typename T> struct CrossThreadCopierBase<false, false, PassOwnPtr<T>> {
typedef PassOwnPtr<T> Type;
static Type copy(Type ownPtr)
{
@@ -157,7 +157,7 @@
T* m_value;
};
- template<typename T> struct CrossThreadCopierBase<false, false, AllowCrossThreadAccessWrapper<T> > {
+ template<typename T> struct CrossThreadCopierBase<false, false, AllowCrossThreadAccessWrapper<T>> {
typedef T* Type;
static Type copy(const AllowCrossThreadAccessWrapper<T>& wrapper) { return wrapper.value(); }
};
@@ -177,7 +177,7 @@
T* m_value;
};
- template<typename T> struct CrossThreadCopierBase<false, false, AllowAccessLaterWrapper<T> > {
+ template<typename T> struct CrossThreadCopierBase<false, false, AllowAccessLaterWrapper<T>> {
typedef T* Type;
static Type copy(const AllowAccessLaterWrapper<T>& wrapper) { return wrapper.value(); }
};
diff --git a/Source/WebCore/platform/DragData.h b/Source/WebCore/platform/DragData.h
index 1784ef4..f35356c 100644
--- a/Source/WebCore/platform/DragData.h
+++ b/Source/WebCore/platform/DragData.h
@@ -76,7 +76,7 @@
};
#if PLATFORM(WIN)
-typedef HashMap<UINT, Vector<String> > DragDataMap;
+typedef HashMap<UINT, Vector<String>> DragDataMap;
#endif
class DragData {
diff --git a/Source/WebCore/platform/MainThreadTask.h b/Source/WebCore/platform/MainThreadTask.h
index 8e78d9d..2620397 100644
--- a/Source/WebCore/platform/MainThreadTask.h
+++ b/Source/WebCore/platform/MainThreadTask.h
@@ -49,11 +49,11 @@
typedef T* ParamType;
};
-template<typename T> struct MainThreadTaskTraits<PassRefPtr<T> > {
+template<typename T> struct MainThreadTaskTraits<PassRefPtr<T>> {
typedef PassRefPtr<T> ParamType;
};
-template<typename T> struct MainThreadTaskTraits<PassOwnPtr<T> > {
+template<typename T> struct MainThreadTaskTraits<PassOwnPtr<T>> {
typedef PassOwnPtr<T> ParamType;
};
diff --git a/Source/WebCore/platform/PODFreeListArena.h b/Source/WebCore/platform/PODFreeListArena.h
index c59bc29..dee1a19 100644
--- a/Source/WebCore/platform/PODFreeListArena.h
+++ b/Source/WebCore/platform/PODFreeListArena.h
@@ -51,7 +51,7 @@
void freeObject(T* ptr)
{
- for (typename Vector<OwnPtr<FreeListChunk> >::const_iterator it = m_chunks.begin(), end = m_chunks.end(); it != end; ++it) {
+ for (typename Vector<OwnPtr<FreeListChunk>>::const_iterator it = m_chunks.begin(), end = m_chunks.end(); it != end; ++it) {
FreeListChunk* chunk = static_cast<FreeListChunk*>(it->get());
if (chunk->contains(ptr))
chunk->free(ptr);
@@ -79,7 +79,7 @@
ptr = m_current->allocate(size);
if (!ptr) {
// Check if we can allocate from other chunks' free list.
- for (typename Vector<OwnPtr<FreeListChunk> >::const_iterator it = m_chunks.begin(), end = m_chunks.end(); it != end; ++it) {
+ for (typename Vector<OwnPtr<FreeListChunk>>::const_iterator it = m_chunks.begin(), end = m_chunks.end(); it != end; ++it) {
FreeListChunk* chunk = static_cast<FreeListChunk*>(it->get());
if (chunk->hasFreeList()) {
ptr = chunk->allocate(size);
@@ -176,7 +176,7 @@
FreeListChunk* m_current;
size_t m_currentChunkSize;
- Vector<OwnPtr<FreeListChunk> > m_chunks;
+ Vector<OwnPtr<FreeListChunk>> m_chunks;
};
} // namespace WebCore
diff --git a/Source/WebCore/platform/PODIntervalTree.h b/Source/WebCore/platform/PODIntervalTree.h
index 5951103..264e6df 100644
--- a/Source/WebCore/platform/PODIntervalTree.h
+++ b/Source/WebCore/platform/PODIntervalTree.h
@@ -70,7 +70,7 @@
// supports efficient (O(lg n)) insertion, removal and querying of
// intervals in the tree.
template<class T, class UserData = void*>
-class PODIntervalTree : public PODRedBlackTree<PODInterval<T, UserData> > {
+class PODIntervalTree : public PODRedBlackTree<PODInterval<T, UserData>> {
WTF_MAKE_NONCOPYABLE(PODIntervalTree);
public:
// Typedef to reduce typing when declaring intervals to be stored in
@@ -253,7 +253,7 @@
#ifndef NDEBUG
// Support for printing PODIntervals at the PODRedBlackTree level.
template<class T, class UserData>
-struct ValueToString<PODInterval<T, UserData> > {
+struct ValueToString<PODInterval<T, UserData>> {
static String string(const PODInterval<T, UserData>& interval)
{
return interval.toString();
diff --git a/Source/WebCore/platform/PODRedBlackTree.h b/Source/WebCore/platform/PODRedBlackTree.h
index 90dc2fa..bd3de02 100644
--- a/Source/WebCore/platform/PODRedBlackTree.h
+++ b/Source/WebCore/platform/PODRedBlackTree.h
@@ -133,7 +133,7 @@
// Constructs a new red-black tree, allocating temporary objects
// from the given PODArena.
- explicit PODRedBlackTree(PassRefPtr<PODFreeListArena<Node> > arena)
+ explicit PODRedBlackTree(PassRefPtr<PODFreeListArena<Node>> arena)
: m_arena(arena)
, m_root(0)
, m_needsFullOrderingComparisons(false)
@@ -814,7 +814,7 @@
//----------------------------------------------------------------------
// Data members
- RefPtr<PODFreeListArena<Node> > m_arena;
+ RefPtr<PODFreeListArena<Node>> m_arena;
Node* m_root;
bool m_needsFullOrderingComparisons;
#ifndef NDEBUG
diff --git a/Source/WebCore/platform/PlatformSpeechSynthesizer.cpp b/Source/WebCore/platform/PlatformSpeechSynthesizer.cpp
index f23687a..7be31cb 100644
--- a/Source/WebCore/platform/PlatformSpeechSynthesizer.cpp
+++ b/Source/WebCore/platform/PlatformSpeechSynthesizer.cpp
@@ -35,7 +35,7 @@
return adoptPtr(new PlatformSpeechSynthesizer(client));
}
-const Vector<RefPtr<PlatformSpeechSynthesisVoice> >& PlatformSpeechSynthesizer::voiceList() const
+const Vector<RefPtr<PlatformSpeechSynthesisVoice>>& PlatformSpeechSynthesizer::voiceList() const
{
if (!m_voiceListIsInitialized) {
ASSERT(m_voiceList.isEmpty());
diff --git a/Source/WebCore/platform/PlatformSpeechSynthesizer.h b/Source/WebCore/platform/PlatformSpeechSynthesizer.h
index b223cfc..cfae5ca 100644
--- a/Source/WebCore/platform/PlatformSpeechSynthesizer.h
+++ b/Source/WebCore/platform/PlatformSpeechSynthesizer.h
@@ -67,7 +67,7 @@
// Seems wasteful. Would be nice to find a better way.
virtual ~PlatformSpeechSynthesizer();
- const Vector<RefPtr<PlatformSpeechSynthesisVoice> >& voiceList() const;
+ const Vector<RefPtr<PlatformSpeechSynthesisVoice>>& voiceList() const;
virtual void speak(PassRefPtr<PlatformSpeechSynthesisUtterance>);
virtual void pause();
virtual void resume();
@@ -78,7 +78,7 @@
protected:
explicit PlatformSpeechSynthesizer(PlatformSpeechSynthesizerClient*);
- Vector<RefPtr<PlatformSpeechSynthesisVoice> > m_voiceList;
+ Vector<RefPtr<PlatformSpeechSynthesisVoice>> m_voiceList;
private:
virtual void initializeVoiceList();
diff --git a/Source/WebCore/platform/RunLoop.h b/Source/WebCore/platform/RunLoop.h
index 303e5f2..8327164 100644
--- a/Source/WebCore/platform/RunLoop.h
+++ b/Source/WebCore/platform/RunLoop.h
@@ -133,7 +133,7 @@
void performWork();
Mutex m_functionQueueLock;
- Deque<Function<void()> > m_functionQueue;
+ Deque<Function<void()>> m_functionQueue;
#if PLATFORM(WIN)
static bool registerRunLoopMessageWindowClass();
@@ -166,7 +166,7 @@
void popNestedMainLoop();
private:
GRefPtr<GMainContext> m_runLoopContext;
- Vector<GRefPtr<GMainLoop> > m_runLoopMainLoops;
+ Vector<GRefPtr<GMainLoop>> m_runLoopMainLoops;
#endif
};
diff --git a/Source/WebCore/platform/ScrollView.cpp b/Source/WebCore/platform/ScrollView.cpp
index 102c0d7..3f2b678 100644
--- a/Source/WebCore/platform/ScrollView.cpp
+++ b/Source/WebCore/platform/ScrollView.cpp
@@ -942,15 +942,15 @@
if (platformWidget())
return;
- HashSet<RefPtr<Widget> >::const_iterator end = m_children.end();
- for (HashSet<RefPtr<Widget> >::const_iterator current = m_children.begin(); current != end; ++current)
+ HashSet<RefPtr<Widget>>::const_iterator end = m_children.end();
+ for (HashSet<RefPtr<Widget>>::const_iterator current = m_children.begin(); current != end; ++current)
(*current)->frameRectsChanged();
}
void ScrollView::clipRectChanged()
{
- HashSet<RefPtr<Widget> >::const_iterator end = m_children.end();
- for (HashSet<RefPtr<Widget> >::const_iterator current = m_children.begin(); current != end; ++current)
+ HashSet<RefPtr<Widget>>::const_iterator end = m_children.end();
+ for (HashSet<RefPtr<Widget>>::const_iterator current = m_children.begin(); current != end; ++current)
(*current)->clipRectChanged();
}
@@ -1306,8 +1306,8 @@
if (!isSelfVisible())
return;
- HashSet<RefPtr<Widget> >::iterator end = m_children.end();
- for (HashSet<RefPtr<Widget> >::iterator it = m_children.begin(); it != end; ++it)
+ HashSet<RefPtr<Widget>>::iterator end = m_children.end();
+ for (HashSet<RefPtr<Widget>>::iterator it = m_children.begin(); it != end; ++it)
(*it)->setParentVisible(visible);
}
@@ -1316,8 +1316,8 @@
if (!isSelfVisible()) {
setSelfVisible(true);
if (isParentVisible()) {
- HashSet<RefPtr<Widget> >::iterator end = m_children.end();
- for (HashSet<RefPtr<Widget> >::iterator it = m_children.begin(); it != end; ++it)
+ HashSet<RefPtr<Widget>>::iterator end = m_children.end();
+ for (HashSet<RefPtr<Widget>>::iterator it = m_children.begin(); it != end; ++it)
(*it)->setParentVisible(true);
}
}
@@ -1329,8 +1329,8 @@
{
if (isSelfVisible()) {
if (isParentVisible()) {
- HashSet<RefPtr<Widget> >::iterator end = m_children.end();
- for (HashSet<RefPtr<Widget> >::iterator it = m_children.begin(); it != end; ++it)
+ HashSet<RefPtr<Widget>>::iterator end = m_children.end();
+ for (HashSet<RefPtr<Widget>>::iterator it = m_children.begin(); it != end; ++it)
(*it)->setParentVisible(false);
}
setSelfVisible(false);
diff --git a/Source/WebCore/platform/ScrollView.h b/Source/WebCore/platform/ScrollView.h
index f4c513b..5ac373e 100644
--- a/Source/WebCore/platform/ScrollView.h
+++ b/Source/WebCore/platform/ScrollView.h
@@ -348,7 +348,7 @@
bool m_prohibitsScrolling;
- HashSet<RefPtr<Widget> > m_children;
+ HashSet<RefPtr<Widget>> m_children;
// This bool is unused on Mac OS because we directly ask the platform widget
// whether it is safe to blit on scroll.
diff --git a/Source/WebCore/platform/SharedBuffer.h b/Source/WebCore/platform/SharedBuffer.h
index 79dae1b..3c3dda6 100644
--- a/Source/WebCore/platform/SharedBuffer.h
+++ b/Source/WebCore/platform/SharedBuffer.h
@@ -181,7 +181,7 @@
mutable Vector<char> m_buffer;
mutable OwnPtr<PurgeableBuffer> m_purgeableBuffer;
#if USE(NETWORK_CFDATA_ARRAY_CALLBACK)
- mutable Vector<RetainPtr<CFDataRef> > m_dataArray;
+ mutable Vector<RetainPtr<CFDataRef>> m_dataArray;
unsigned copySomeDataFromDataArray(const char*& someData, unsigned position) const;
const char *singleDataArrayBuffer() const;
#else
diff --git a/Source/WebCore/platform/Supplementable.h b/Source/WebCore/platform/Supplementable.h
index 352d7ea..277aaef 100644
--- a/Source/WebCore/platform/Supplementable.h
+++ b/Source/WebCore/platform/Supplementable.h
@@ -83,7 +83,7 @@
virtual bool isRefCountedWrapper() const { return false; }
#endif
- static void provideTo(Supplementable<T>* host, const char* key, PassOwnPtr<Supplement<T> > supplement)
+ static void provideTo(Supplementable<T>* host, const char* key, PassOwnPtr<Supplement<T>> supplement)
{
host->provideSupplement(key, supplement);
}
@@ -97,7 +97,7 @@
template<typename T>
class Supplementable {
public:
- void provideSupplement(const char* key, PassOwnPtr<Supplement<T> > supplement)
+ void provideSupplement(const char* key, PassOwnPtr<Supplement<T>> supplement)
{
ASSERT(m_threadId == currentThread());
ASSERT(!m_supplements.get(key));
@@ -122,7 +122,7 @@
#endif
private:
- typedef HashMap<const char*, OwnPtr<Supplement<T> >, PtrHash<const char*> > SupplementMap;
+ typedef HashMap<const char*, OwnPtr<Supplement<T>>, PtrHash<const char*>> SupplementMap;
SupplementMap m_supplements;
#if !ASSERT_DISABLED
ThreadIdentifier m_threadId;
diff --git a/Source/WebCore/platform/URL.cpp b/Source/WebCore/platform/URL.cpp
index edc7836..a4e4111 100644
--- a/Source/WebCore/platform/URL.cpp
+++ b/Source/WebCore/platform/URL.cpp
@@ -1499,7 +1499,7 @@
#endif
}
-static void findHostnamesInMailToURL(const UChar* str, int strLen, Vector<pair<int, int> >& nameRanges)
+static void findHostnamesInMailToURL(const UChar* str, int strLen, Vector<pair<int, int>>& nameRanges)
{
// In a mailto: URL, host names come after a '@' character and end with a '>' or ',' or '?' or end of string character.
// Skip quoted strings so that characters in them don't confuse us.
@@ -1615,7 +1615,7 @@
output.clear();
if (protocolIs(str, "mailto")) {
- Vector<pair<int, int> > hostnameRanges;
+ Vector<pair<int, int>> hostnameRanges;
findHostnamesInMailToURL(str.characters(), str.length(), hostnameRanges);
int n = hostnameRanges.size();
int p = 0;
diff --git a/Source/WebCore/platform/audio/AudioBus.h b/Source/WebCore/platform/audio/AudioBus.h
index 01a996c..1e1c04f 100644
--- a/Source/WebCore/platform/audio/AudioBus.h
+++ b/Source/WebCore/platform/audio/AudioBus.h
@@ -158,7 +158,7 @@
void speakersSumFrom5_1_ToMono(const AudioBus&);
size_t m_length;
- Vector<OwnPtr<AudioChannel> > m_channels;
+ Vector<OwnPtr<AudioChannel>> m_channels;
int m_layout;
float m_busGain;
OwnPtr<AudioFloatArray> m_dezipperGainValues;
diff --git a/Source/WebCore/platform/audio/AudioDSPKernelProcessor.h b/Source/WebCore/platform/audio/AudioDSPKernelProcessor.h
index 15df986..f6cad8e 100644
--- a/Source/WebCore/platform/audio/AudioDSPKernelProcessor.h
+++ b/Source/WebCore/platform/audio/AudioDSPKernelProcessor.h
@@ -68,7 +68,7 @@
virtual double latencyTime() const OVERRIDE;
protected:
- Vector<OwnPtr<AudioDSPKernel> > m_kernels;
+ Vector<OwnPtr<AudioDSPKernel>> m_kernels;
bool m_hasJustReset;
};
diff --git a/Source/WebCore/platform/audio/AudioResampler.h b/Source/WebCore/platform/audio/AudioResampler.h
index b9bd985..0f332ae 100644
--- a/Source/WebCore/platform/audio/AudioResampler.h
+++ b/Source/WebCore/platform/audio/AudioResampler.h
@@ -59,7 +59,7 @@
private:
double m_rate;
- Vector<OwnPtr<AudioResamplerKernel> > m_kernels;
+ Vector<OwnPtr<AudioResamplerKernel>> m_kernels;
RefPtr<AudioBus> m_sourceBus;
};
diff --git a/Source/WebCore/platform/audio/DynamicsCompressor.h b/Source/WebCore/platform/audio/DynamicsCompressor.h
index 59c17e0..83c2dd3 100644
--- a/Source/WebCore/platform/audio/DynamicsCompressor.h
+++ b/Source/WebCore/platform/audio/DynamicsCompressor.h
@@ -99,8 +99,8 @@
} ZeroPoleFilterPack4;
// Per-channel emphasis filters.
- Vector<OwnPtr<ZeroPoleFilterPack4> > m_preFilterPacks;
- Vector<OwnPtr<ZeroPoleFilterPack4> > m_postFilterPacks;
+ Vector<OwnPtr<ZeroPoleFilterPack4>> m_preFilterPacks;
+ Vector<OwnPtr<ZeroPoleFilterPack4>> m_postFilterPacks;
std::unique_ptr<const float*[]> m_sourceChannels;
std::unique_ptr<float*[]> m_destinationChannels;
diff --git a/Source/WebCore/platform/audio/DynamicsCompressorKernel.h b/Source/WebCore/platform/audio/DynamicsCompressorKernel.h
index 6454251..ffa5630 100644
--- a/Source/WebCore/platform/audio/DynamicsCompressorKernel.h
+++ b/Source/WebCore/platform/audio/DynamicsCompressorKernel.h
@@ -88,7 +88,7 @@
unsigned m_lastPreDelayFrames;
void setPreDelayTime(float);
- Vector<OwnPtr<AudioFloatArray> > m_preDelayBuffers;
+ Vector<OwnPtr<AudioFloatArray>> m_preDelayBuffers;
int m_preDelayReadIndex;
int m_preDelayWriteIndex;
diff --git a/Source/WebCore/platform/audio/HRTFDatabase.h b/Source/WebCore/platform/audio/HRTFDatabase.h
index 9ae0574..915ad6d 100644
--- a/Source/WebCore/platform/audio/HRTFDatabase.h
+++ b/Source/WebCore/platform/audio/HRTFDatabase.h
@@ -76,7 +76,7 @@
// Returns the index for the correct HRTFElevation given the elevation angle.
static unsigned indexFromElevationAngle(double);
- Vector<OwnPtr<HRTFElevation> > m_elevations;
+ Vector<OwnPtr<HRTFElevation>> m_elevations;
float m_sampleRate;
};
diff --git a/Source/WebCore/platform/audio/HRTFKernel.h b/Source/WebCore/platform/audio/HRTFKernel.h
index f86cbe4..e135ea2 100644
--- a/Source/WebCore/platform/audio/HRTFKernel.h
+++ b/Source/WebCore/platform/audio/HRTFKernel.h
@@ -91,7 +91,7 @@
float m_sampleRate;
};
-typedef Vector<RefPtr<HRTFKernel> > HRTFKernelList;
+typedef Vector<RefPtr<HRTFKernel>> HRTFKernelList;
} // namespace WebCore
diff --git a/Source/WebCore/platform/audio/MultiChannelResampler.h b/Source/WebCore/platform/audio/MultiChannelResampler.h
index 150729d..04478a2 100644
--- a/Source/WebCore/platform/audio/MultiChannelResampler.h
+++ b/Source/WebCore/platform/audio/MultiChannelResampler.h
@@ -49,7 +49,7 @@
// https://bugs.webkit.org/show_bug.cgi?id=75118
// Each channel will be resampled using a high-quality SincResampler.
- Vector<OwnPtr<SincResampler> > m_kernels;
+ Vector<OwnPtr<SincResampler>> m_kernels;
unsigned m_numberOfChannels;
};
diff --git a/Source/WebCore/platform/audio/Reverb.h b/Source/WebCore/platform/audio/Reverb.h
index f6cdfa6..e5b3106 100644
--- a/Source/WebCore/platform/audio/Reverb.h
+++ b/Source/WebCore/platform/audio/Reverb.h
@@ -56,7 +56,7 @@
size_t m_impulseResponseLength;
- Vector<OwnPtr<ReverbConvolver> > m_convolvers;
+ Vector<OwnPtr<ReverbConvolver>> m_convolvers;
// For "True" stereo processing
RefPtr<AudioBus> m_tempBuffer;
diff --git a/Source/WebCore/platform/audio/ReverbConvolver.h b/Source/WebCore/platform/audio/ReverbConvolver.h
index de3522c..83fbfe1 100644
--- a/Source/WebCore/platform/audio/ReverbConvolver.h
+++ b/Source/WebCore/platform/audio/ReverbConvolver.h
@@ -65,8 +65,8 @@
size_t latencyFrames() const;
private:
- Vector<OwnPtr<ReverbConvolverStage> > m_stages;
- Vector<OwnPtr<ReverbConvolverStage> > m_backgroundStages;
+ Vector<OwnPtr<ReverbConvolverStage>> m_stages;
+ Vector<OwnPtr<ReverbConvolverStage>> m_backgroundStages;
size_t m_impulseResponseLength;
ReverbAccumulationBuffer m_accumulationBuffer;
diff --git a/Source/WebCore/platform/cf/SharedBufferCF.cpp b/Source/WebCore/platform/cf/SharedBufferCF.cpp
index 75a9379..8e7c7a3 100644
--- a/Source/WebCore/platform/cf/SharedBufferCF.cpp
+++ b/Source/WebCore/platform/cf/SharedBufferCF.cpp
@@ -126,8 +126,8 @@
return;
CFIndex bytesLeft = bytesToCopy;
- Vector<RetainPtr<CFDataRef> >::const_iterator end = m_dataArray.end();
- for (Vector<RetainPtr<CFDataRef> >::const_iterator it = m_dataArray.begin(); it != end; ++it) {
+ Vector<RetainPtr<CFDataRef>>::const_iterator end = m_dataArray.end();
+ for (Vector<RetainPtr<CFDataRef>>::const_iterator it = m_dataArray.begin(); it != end; ++it) {
CFIndex dataLen = CFDataGetLength(it->get());
ASSERT(bytesLeft >= dataLen);
memcpy(destination, CFDataGetBytePtr(it->get()), dataLen);
@@ -139,9 +139,9 @@
unsigned SharedBuffer::copySomeDataFromDataArray(const char*& someData, unsigned position) const
{
- Vector<RetainPtr<CFDataRef> >::const_iterator end = m_dataArray.end();
+ Vector<RetainPtr<CFDataRef>>::const_iterator end = m_dataArray.end();
unsigned totalOffset = 0;
- for (Vector<RetainPtr<CFDataRef> >::const_iterator it = m_dataArray.begin(); it != end; ++it) {
+ for (Vector<RetainPtr<CFDataRef>>::const_iterator it = m_dataArray.begin(); it != end; ++it) {
unsigned dataLen = static_cast<unsigned>(CFDataGetLength(it->get()));
ASSERT(totalOffset <= position);
unsigned localOffset = position - totalOffset;
diff --git a/Source/WebCore/platform/graphics/FloatPolygon.cpp b/Source/WebCore/platform/graphics/FloatPolygon.cpp
index cdc5984..c39e285 100644
--- a/Source/WebCore/platform/graphics/FloatPolygon.cpp
+++ b/Source/WebCore/platform/graphics/FloatPolygon.cpp
@@ -79,7 +79,7 @@
return vertexIndex2;
}
-FloatPolygon::FloatPolygon(PassOwnPtr<Vector<FloatPoint> > vertices, WindRule fillRule)
+FloatPolygon::FloatPolygon(PassOwnPtr<Vector<FloatPoint>> vertices, WindRule fillRule)
: m_vertices(vertices)
, m_fillRule(fillRule)
{
diff --git a/Source/WebCore/platform/graphics/FloatPolygon.h b/Source/WebCore/platform/graphics/FloatPolygon.h
index 071d433..67e0916 100644
--- a/Source/WebCore/platform/graphics/FloatPolygon.h
+++ b/Source/WebCore/platform/graphics/FloatPolygon.h
@@ -49,7 +49,7 @@
class FloatPolygon {
public:
- FloatPolygon(PassOwnPtr<Vector<FloatPoint> > vertices, WindRule fillRule);
+ FloatPolygon(PassOwnPtr<Vector<FloatPoint>> vertices, WindRule fillRule);
const FloatPoint& vertexAt(unsigned index) const { return (*m_vertices)[index]; }
unsigned numberOfVertices() const { return m_vertices->size(); }
@@ -71,7 +71,7 @@
bool containsNonZero(const FloatPoint&) const;
bool containsEvenOdd(const FloatPoint&) const;
- OwnPtr<Vector<FloatPoint> > m_vertices;
+ OwnPtr<Vector<FloatPoint>> m_vertices;
WindRule m_fillRule;
FloatRect m_boundingBox;
bool m_empty;
diff --git a/Source/WebCore/platform/graphics/FontCache.cpp b/Source/WebCore/platform/graphics/FontCache.cpp
index a33535f..c1dcc2a 100644
--- a/Source/WebCore/platform/graphics/FontCache.cpp
+++ b/Source/WebCore/platform/graphics/FontCache.cpp
@@ -226,7 +226,7 @@
}
#if ENABLE(OPENTYPE_VERTICAL)
-typedef HashMap<FontCache::FontFileKey, RefPtr<OpenTypeVerticalData>, WTF::IntHash<FontCache::FontFileKey>, WTF::UnsignedWithZeroKeyHashTraits<FontCache::FontFileKey> > FontVerticalDataCache;
+typedef HashMap<FontCache::FontFileKey, RefPtr<OpenTypeVerticalData>, WTF::IntHash<FontCache::FontFileKey>, WTF::UnsignedWithZeroKeyHashTraits<FontCache::FontFileKey>> FontVerticalDataCache;
FontVerticalDataCache& fontVerticalDataCacheInstance()
{
@@ -287,7 +287,7 @@
const int cMaxInactiveFontData = 225;
const int cTargetInactiveFontData = 200;
-static ListHashSet<RefPtr<SimpleFontData> >* gInactiveFontData = 0;
+static ListHashSet<RefPtr<SimpleFontData>>* gInactiveFontData = 0;
PassRefPtr<SimpleFontData> FontCache::getCachedFontData(const FontDescription& fontDescription, const AtomicString& family, bool checkingAlternateName, ShouldRetain shouldRetain)
{
@@ -310,7 +310,7 @@
if (!gFontDataCache) {
gFontDataCache = new FontDataCache;
- gInactiveFontData = new ListHashSet<RefPtr<SimpleFontData> >;
+ gInactiveFontData = new ListHashSet<RefPtr<SimpleFontData>>;
}
FontDataCache::iterator result = gFontDataCache->find(*platformData);
@@ -378,8 +378,8 @@
isPurging = true;
Vector<RefPtr<SimpleFontData>, 20> fontDataToDelete;
- ListHashSet<RefPtr<SimpleFontData> >::iterator end = gInactiveFontData->end();
- ListHashSet<RefPtr<SimpleFontData> >::iterator it = gInactiveFontData->begin();
+ ListHashSet<RefPtr<SimpleFontData>>::iterator end = gInactiveFontData->end();
+ ListHashSet<RefPtr<SimpleFontData>>::iterator it = gInactiveFontData->begin();
for (int i = 0; i < count && it != end; ++it, ++i) {
RefPtr<SimpleFontData>& fontData = *it.get();
gFontDataCache->remove(fontData->platformData());
diff --git a/Source/WebCore/platform/graphics/GlyphMetricsMap.h b/Source/WebCore/platform/graphics/GlyphMetricsMap.h
index 34556a79..217788b 100644
--- a/Source/WebCore/platform/graphics/GlyphMetricsMap.h
+++ b/Source/WebCore/platform/graphics/GlyphMetricsMap.h
@@ -83,7 +83,7 @@
bool m_filledPrimaryPage;
GlyphMetricsPage m_primaryPage; // We optimize for the page that contains glyph indices 0-255.
- OwnPtr<HashMap<int, OwnPtr<GlyphMetricsPage> > > m_pages;
+ OwnPtr<HashMap<int, OwnPtr<GlyphMetricsPage>>> m_pages;
};
template<> inline float GlyphMetricsMap<float>::unknownMetrics()
@@ -108,7 +108,7 @@
if ((page = m_pages->get(pageNumber)))
return page;
} else
- m_pages = adoptPtr(new HashMap<int, OwnPtr<GlyphMetricsPage> >);
+ m_pages = adoptPtr(new HashMap<int, OwnPtr<GlyphMetricsPage>>);
page = new GlyphMetricsPage;
m_pages->set(pageNumber, adoptPtr(page));
}
diff --git a/Source/WebCore/platform/graphics/GlyphPageTreeNode.h b/Source/WebCore/platform/graphics/GlyphPageTreeNode.h
index 5b50a01..b687729 100644
--- a/Source/WebCore/platform/graphics/GlyphPageTreeNode.h
+++ b/Source/WebCore/platform/graphics/GlyphPageTreeNode.h
@@ -118,7 +118,7 @@
static HashMap<int, GlyphPageTreeNode*>* roots;
static GlyphPageTreeNode* pageZeroRoot;
- typedef HashMap<const FontData*, OwnPtr<GlyphPageTreeNode> > GlyphPageTreeNodeMap;
+ typedef HashMap<const FontData*, OwnPtr<GlyphPageTreeNode>> GlyphPageTreeNodeMap;
GlyphPageTreeNodeMap m_children;
GlyphPageTreeNode* m_parent;
diff --git a/Source/WebCore/platform/graphics/GraphicsContext3D.h b/Source/WebCore/platform/graphics/GraphicsContext3D.h
index 36557fa..cd8c54d 100644
--- a/Source/WebCore/platform/graphics/GraphicsContext3D.h
+++ b/Source/WebCore/platform/graphics/GraphicsContext3D.h
@@ -1023,7 +1023,7 @@
Attributes m_attrs;
RenderStyle m_renderStyle;
- Vector<Vector<float> > m_vertexArray;
+ Vector<Vector<float>> m_vertexArray;
GC3Duint m_texture;
#if !PLATFORM(BLACKBERRY)
diff --git a/Source/WebCore/platform/graphics/GraphicsLayer.cpp b/Source/WebCore/platform/graphics/GraphicsLayer.cpp
index 5b22698..6b3a4f8 100644
--- a/Source/WebCore/platform/graphics/GraphicsLayer.cpp
+++ b/Source/WebCore/platform/graphics/GraphicsLayer.cpp
@@ -46,7 +46,7 @@
namespace WebCore {
-typedef HashMap<const GraphicsLayer*, Vector<FloatRect> > RepaintMap;
+typedef HashMap<const GraphicsLayer*, Vector<FloatRect>> RepaintMap;
static RepaintMap& repaintRectMap()
{
DEFINE_STATIC_LOCAL(RepaintMap, map, ());
diff --git a/Source/WebCore/platform/graphics/GraphicsLayer.h b/Source/WebCore/platform/graphics/GraphicsLayer.h
index 86cbc16..3126137 100644
--- a/Source/WebCore/platform/graphics/GraphicsLayer.h
+++ b/Source/WebCore/platform/graphics/GraphicsLayer.h
@@ -214,7 +214,7 @@
void insert(PassOwnPtr<const AnimationValue>);
protected:
- Vector<OwnPtr<const AnimationValue> > m_values;
+ Vector<OwnPtr<const AnimationValue>> m_values;
AnimatedPropertyID m_property;
};
diff --git a/Source/WebCore/platform/graphics/PlatformTextTrackMenu.h b/Source/WebCore/platform/graphics/PlatformTextTrackMenu.h
index 0c528ea..7591abc 100644
--- a/Source/WebCore/platform/graphics/PlatformTextTrackMenu.h
+++ b/Source/WebCore/platform/graphics/PlatformTextTrackMenu.h
@@ -41,7 +41,7 @@
virtual ~PlatformTextTrackMenuClient() { }
virtual void setSelectedTextTrack(PassRefPtr<PlatformTextTrack>) = 0;
- virtual Vector<RefPtr<PlatformTextTrack> > platformTextTracks() = 0;
+ virtual Vector<RefPtr<PlatformTextTrack>> platformTextTracks() = 0;
};
class PlatformTextTrackMenuInterface : public RefCounted<PlatformTextTrackMenuInterface> {
diff --git a/Source/WebCore/platform/graphics/SimpleFontData.h b/Source/WebCore/platform/graphics/SimpleFontData.h
index edb8670..53985ec 100644
--- a/Source/WebCore/platform/graphics/SimpleFontData.h
+++ b/Source/WebCore/platform/graphics/SimpleFontData.h
@@ -249,7 +249,7 @@
FontPlatformData m_platformData;
OwnPtr<AdditionalFontData> m_fontData;
- mutable OwnPtr<GlyphMetricsMap<FloatRect> > m_glyphToBoundsMap;
+ mutable OwnPtr<GlyphMetricsMap<FloatRect>> m_glyphToBoundsMap;
mutable GlyphMetricsMap<float> m_glyphToWidthMap;
bool m_treatAsFixedPitch;
@@ -301,11 +301,11 @@
#endif
#if PLATFORM(MAC)
- mutable HashMap<unsigned, RetainPtr<CFDictionaryRef> > m_CFStringAttributes;
+ mutable HashMap<unsigned, RetainPtr<CFDictionaryRef>> m_CFStringAttributes;
#endif
#if PLATFORM(MAC) || USE(HARFBUZZ)
- mutable OwnPtr<HashMap<String, bool> > m_combiningCharacterSequenceSupport;
+ mutable OwnPtr<HashMap<String, bool>> m_combiningCharacterSequenceSupport;
#endif
#if PLATFORM(WIN)
diff --git a/Source/WebCore/platform/graphics/WidthCache.h b/Source/WebCore/platform/graphics/WidthCache.h
index 1f7464a..884d2a2 100644
--- a/Source/WebCore/platform/graphics/WidthCache.h
+++ b/Source/WebCore/platform/graphics/WidthCache.h
@@ -193,7 +193,7 @@
}
typedef HashMap<SmallStringKey, float, SmallStringKeyHash, SmallStringKeyHashTraits> Map;
- typedef HashMap<uint32_t, float, DefaultHash<uint32_t>::Hash, WTF::UnsignedWithZeroKeyHashTraits<uint32_t> > SingleCharMap;
+ typedef HashMap<uint32_t, float, DefaultHash<uint32_t>::Hash, WTF::UnsignedWithZeroKeyHashTraits<uint32_t>> SingleCharMap;
static const int s_minInterval = -3; // A cache hit pays for about 3 cache misses.
static const int s_maxInterval = 20; // Sampling at this interval has almost no overhead.
static const int s_maxSize = 500000; // Just enough to guard against pathological growth.
diff --git a/Source/WebCore/platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h b/Source/WebCore/platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h
index 4cda84c..0372766 100644
--- a/Source/WebCore/platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h
+++ b/Source/WebCore/platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h
@@ -72,7 +72,7 @@
double m_currentCueStartTime;
double m_currentCueEndTime;
- Vector<RefPtr<GenericCueData> > m_cues;
+ Vector<RefPtr<GenericCueData>> m_cues;
AVFInbandTrackParent* m_owner;
enum PendingCueStatus {
diff --git a/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp b/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp
index 8742487..faca096 100644
--- a/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp
+++ b/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp
@@ -919,7 +919,7 @@
m_textTracks.clear();
}
-void MediaPlayerPrivateAVFoundation::processNewAndRemovedTextTracks(const Vector<RefPtr<InbandTextTrackPrivateAVF> >& removedTextTracks)
+void MediaPlayerPrivateAVFoundation::processNewAndRemovedTextTracks(const Vector<RefPtr<InbandTextTrackPrivateAVF>>& removedTextTracks)
{
if (removedTextTracks.size()) {
for (unsigned i = 0; i < m_textTracks.size(); ++i) {
diff --git a/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h b/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h
index 7f503cc..1475401 100644
--- a/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h
+++ b/Source/WebCore/platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h
@@ -274,9 +274,9 @@
virtual size_t extraMemoryCost() const OVERRIDE;
virtual void trackModeChanged() OVERRIDE;
- void processNewAndRemovedTextTracks(const Vector<RefPtr<InbandTextTrackPrivateAVF> >&);
+ void processNewAndRemovedTextTracks(const Vector<RefPtr<InbandTextTrackPrivateAVF>>&);
void clearTextTracks();
- Vector<RefPtr<InbandTextTrackPrivateAVF> > m_textTracks;
+ Vector<RefPtr<InbandTextTrackPrivateAVF>> m_textTracks;
private:
MediaPlayer* m_player;
diff --git a/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h b/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h
index 3c4cb30..f4c7b27 100644
--- a/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h
+++ b/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h
@@ -212,10 +212,10 @@
RetainPtr<VTPixelTransferSessionRef> m_pixelTransferSession;
friend class WebCoreAVFResourceLoader;
- HashMap<RetainPtr<AVAssetResourceLoadingRequest>, RefPtr<WebCoreAVFResourceLoader> > m_resourceLoaderMap;
+ HashMap<RetainPtr<AVAssetResourceLoadingRequest>, RefPtr<WebCoreAVFResourceLoader>> m_resourceLoaderMap;
RetainPtr<WebCoreAVFLoaderDelegate> m_loaderDelegate;
- HashMap<String, RetainPtr<AVAssetResourceLoadingRequest> > m_keyURIToRequestMap;
- HashMap<String, RetainPtr<AVAssetResourceLoadingRequest> > m_sessionIDToRequestMap;
+ HashMap<String, RetainPtr<AVAssetResourceLoadingRequest>> m_keyURIToRequestMap;
+ HashMap<String, RetainPtr<AVAssetResourceLoadingRequest>> m_sessionIDToRequestMap;
#endif
#if HAVE(AVFOUNDATION_MEDIA_SELECTION_GROUP) && HAVE(AVFOUNDATION_LEGIBLE_OUTPUT_SUPPORT)
diff --git a/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm b/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
index 7e27fac..3cf0985 100644
--- a/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
+++ b/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
@@ -1446,7 +1446,7 @@
[m_avPlayerItem.get() selectMediaOption:nil inMediaSelectionGroup:safeMediaSelectionGroupForLegibleMedia()];
#endif
- Vector<RefPtr<InbandTextTrackPrivateAVF> > removedTextTracks = m_textTracks;
+ Vector<RefPtr<InbandTextTrackPrivateAVF>> removedTextTracks = m_textTracks;
NSArray *tracks = [m_avPlayerItem.get() tracks];
for (AVPlayerItemTrack *playerItemTrack in tracks) {
@@ -1502,7 +1502,7 @@
if (!m_textTracks.size())
[m_avPlayerItem.get() selectMediaOption:nil inMediaSelectionGroup:safeMediaSelectionGroupForLegibleMedia()];
- Vector<RefPtr<InbandTextTrackPrivateAVF> > removedTextTracks = m_textTracks;
+ Vector<RefPtr<InbandTextTrackPrivateAVF>> removedTextTracks = m_textTracks;
NSArray *legibleOptions = [AVMediaSelectionGroup playableMediaSelectionOptionsFromArray:[legibleGroup options]];
for (AVMediaSelectionOptionType *option in legibleOptions) {
bool newTrack = true;
diff --git a/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp b/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp
index 8badef1..b689b30 100644
--- a/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp
+++ b/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp
@@ -2728,7 +2728,7 @@
bool GraphicsLayerCA::setFilterAnimationKeyframes(const KeyframeValueList& valueList, const Animation* animation, PlatformCAAnimation* keyframeAnim, int functionIndex, int internalFilterPropertyIndex, FilterOperation::OperationType filterOp)
{
Vector<float> keyTimes;
- Vector<RefPtr<FilterOperation> > values;
+ Vector<RefPtr<FilterOperation>> values;
Vector<const TimingFunction*> timingFunctions;
RefPtr<DefaultFilterOperation> defaultOperation;
@@ -3125,7 +3125,7 @@
}
const Vector<GraphicsLayer*>& childLayers = children();
- Vector<RefPtr<PlatformCALayer> > clonalSublayers;
+ Vector<RefPtr<PlatformCALayer>> clonalSublayers;
RefPtr<PlatformCALayer> replicaLayer;
diff --git a/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h b/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h
index f40b255..73afa10 100644
--- a/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h
+++ b/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h
@@ -503,12 +503,12 @@
AnimationsToProcessMap m_animationsToProcess;
// Map of animation names to their associated lists of property animations, so we can remove/pause them.
- typedef HashMap<String, Vector<LayerPropertyAnimation> > AnimationsMap;
+ typedef HashMap<String, Vector<LayerPropertyAnimation>> AnimationsMap;
AnimationsMap m_runningAnimations;
// Map from animation key to TransformationMatrices for animations of transform. The vector contains a matrix for
// the two endpoints, or each keyframe. Used for contentsScale adjustment.
- typedef HashMap<String, Vector<TransformationMatrix> > TransformsMap;
+ typedef HashMap<String, Vector<TransformationMatrix>> TransformsMap;
TransformsMap m_animationTransforms;
Vector<FloatRect> m_dirtyRects;
diff --git a/Source/WebCore/platform/graphics/ca/PlatformCAAnimation.h b/Source/WebCore/platform/graphics/ca/PlatformCAAnimation.h
index c157e48..f5380ee 100644
--- a/Source/WebCore/platform/graphics/ca/PlatformCAAnimation.h
+++ b/Source/WebCore/platform/graphics/ca/PlatformCAAnimation.h
@@ -133,7 +133,7 @@
void setValues(const Vector<FloatPoint3D>&);
void setValues(const Vector<WebCore::Color>&);
#if ENABLE(CSS_FILTERS)
- void setValues(const Vector<RefPtr<FilterOperation> >&, int internalFilterPropertyIndex);
+ void setValues(const Vector<RefPtr<FilterOperation>>&, int internalFilterPropertyIndex);
#endif
void copyValuesFrom(const PlatformCAAnimation*);
diff --git a/Source/WebCore/platform/graphics/ca/PlatformCALayer.h b/Source/WebCore/platform/graphics/ca/PlatformCALayer.h
index 2c13774..28afd0b 100644
--- a/Source/WebCore/platform/graphics/ca/PlatformCALayer.h
+++ b/Source/WebCore/platform/graphics/ca/PlatformCALayer.h
@@ -47,7 +47,7 @@
class PlatformCALayer;
-typedef Vector<RefPtr<PlatformCALayer> > PlatformCALayerList;
+typedef Vector<RefPtr<PlatformCALayer>> PlatformCALayerList;
class PlatformCALayer : public RefCounted<PlatformCALayer> {
#if PLATFORM(MAC)
diff --git a/Source/WebCore/platform/graphics/ca/mac/LayerPool.h b/Source/WebCore/platform/graphics/ca/mac/LayerPool.h
index 2e7f378..60919aa 100644
--- a/Source/WebCore/platform/graphics/ca/mac/LayerPool.h
+++ b/Source/WebCore/platform/graphics/ca/mac/LayerPool.h
@@ -55,7 +55,7 @@
private:
LayerPool();
- typedef Deque<RetainPtr<WebTileLayer> > LayerList;
+ typedef Deque<RetainPtr<WebTileLayer>> LayerList;
unsigned decayedCapacity() const;
diff --git a/Source/WebCore/platform/graphics/ca/mac/PlatformCAAnimationMac.mm b/Source/WebCore/platform/graphics/ca/mac/PlatformCAAnimationMac.mm
index d3f0f1c..1820ddb 100644
--- a/Source/WebCore/platform/graphics/ca/mac/PlatformCAAnimationMac.mm
+++ b/Source/WebCore/platform/graphics/ca/mac/PlatformCAAnimationMac.mm
@@ -524,7 +524,7 @@
}
#if ENABLE(CSS_FILTERS)
-void PlatformCAAnimation::setValues(const Vector<RefPtr<FilterOperation> >& values, int internalFilterPropertyIndex)
+void PlatformCAAnimation::setValues(const Vector<RefPtr<FilterOperation>>& values, int internalFilterPropertyIndex)
{
if (animationType() != Keyframe)
return;
diff --git a/Source/WebCore/platform/graphics/ca/mac/TileController.h b/Source/WebCore/platform/graphics/ca/mac/TileController.h
index 1429688..7e5d04d 100644
--- a/Source/WebCore/platform/graphics/ca/mac/TileController.h
+++ b/Source/WebCore/platform/graphics/ca/mac/TileController.h
@@ -48,7 +48,7 @@
class IntPoint;
class IntRect;
-typedef Vector<RetainPtr<WebTileLayer> > WebTileLayerList;
+typedef Vector<RetainPtr<WebTileLayer>> WebTileLayerList;
class TileController : public TiledBacking {
WTF_MAKE_NONCOPYABLE(TileController);
diff --git a/Source/WebCore/platform/graphics/cg/SubimageCacheWithTimer.h b/Source/WebCore/platform/graphics/cg/SubimageCacheWithTimer.h
index 0f5ceda..563dee8 100644
--- a/Source/WebCore/platform/graphics/cg/SubimageCacheWithTimer.h
+++ b/Source/WebCore/platform/graphics/cg/SubimageCacheWithTimer.h
@@ -52,7 +52,7 @@
};
struct SubimageCacheEntryTraits : WTF::GenericHashTraits<SubimageCacheEntry> {
- typedef HashTraits<RetainPtr<CGImageRef> > ImageTraits;
+ typedef HashTraits<RetainPtr<CGImageRef>> ImageTraits;
static const bool emptyValueIsZero = true;
diff --git a/Source/WebCore/platform/graphics/filters/CustomFilterParameterList.h b/Source/WebCore/platform/graphics/filters/CustomFilterParameterList.h
index 2e128e7..a9bc01f 100644
--- a/Source/WebCore/platform/graphics/filters/CustomFilterParameterList.h
+++ b/Source/WebCore/platform/graphics/filters/CustomFilterParameterList.h
@@ -37,7 +37,7 @@
namespace WebCore {
class CustomFilterParameter;
-typedef Vector<RefPtr<CustomFilterParameter> > CustomFilterParameterListBase;
+typedef Vector<RefPtr<CustomFilterParameter>> CustomFilterParameterListBase;
class CustomFilterParameterList : public CustomFilterParameterListBase {
public:
diff --git a/Source/WebCore/platform/graphics/filters/FilterEffect.h b/Source/WebCore/platform/graphics/filters/FilterEffect.h
index cdc7a50..b1c1186 100644
--- a/Source/WebCore/platform/graphics/filters/FilterEffect.h
+++ b/Source/WebCore/platform/graphics/filters/FilterEffect.h
@@ -47,7 +47,7 @@
class ImageBuffer;
class TextStream;
-typedef Vector<RefPtr<FilterEffect> > FilterEffectVector;
+typedef Vector<RefPtr<FilterEffect>> FilterEffectVector;
enum FilterEffectType {
FilterEffectTypeUnknown,
diff --git a/Source/WebCore/platform/graphics/filters/FilterOperations.h b/Source/WebCore/platform/graphics/filters/FilterOperations.h
index 09a2d8f..77bf3e8 100644
--- a/Source/WebCore/platform/graphics/filters/FilterOperations.h
+++ b/Source/WebCore/platform/graphics/filters/FilterOperations.h
@@ -56,8 +56,8 @@
m_operations.clear();
}
- Vector<RefPtr<FilterOperation> >& operations() { return m_operations; }
- const Vector<RefPtr<FilterOperation> >& operations() const { return m_operations; }
+ Vector<RefPtr<FilterOperation>>& operations() { return m_operations; }
+ const Vector<RefPtr<FilterOperation>>& operations() const { return m_operations; }
bool isEmpty() const { return !m_operations.size(); }
size_t size() const { return m_operations.size(); }
@@ -76,7 +76,7 @@
#endif
bool hasReferenceFilter() const;
private:
- Vector<RefPtr<FilterOperation> > m_operations;
+ Vector<RefPtr<FilterOperation>> m_operations;
};
} // namespace WebCore
diff --git a/Source/WebCore/platform/graphics/gpu/Texture.cpp b/Source/WebCore/platform/graphics/gpu/Texture.cpp
index 3706fee..9eb6d9a 100644
--- a/Source/WebCore/platform/graphics/gpu/Texture.cpp
+++ b/Source/WebCore/platform/graphics/gpu/Texture.cpp
@@ -46,7 +46,7 @@
namespace WebCore {
-Texture::Texture(GraphicsContext3D* context, PassOwnPtr<Vector<unsigned int> > tileTextureIds, Format format, int width, int height, int maxTextureSize)
+Texture::Texture(GraphicsContext3D* context, PassOwnPtr<Vector<unsigned int>> tileTextureIds, Format format, int width, int height, int maxTextureSize)
: m_context(context)
, m_format(format)
, m_tiles(IntSize(maxTextureSize, maxTextureSize), IntSize(width, height), true)
@@ -97,7 +97,7 @@
numTiles = 0;
}
- OwnPtr<Vector<unsigned int> > textureIds = adoptPtr(new Vector<unsigned int>(numTiles));
+ OwnPtr<Vector<unsigned int>> textureIds = adoptPtr(new Vector<unsigned int>(numTiles));
textureIds->fill(0, numTiles);
for (int i = 0; i < numTiles; i++) {
diff --git a/Source/WebCore/platform/graphics/gpu/Texture.h b/Source/WebCore/platform/graphics/gpu/Texture.h
index 1f35006..6e93b91 100644
--- a/Source/WebCore/platform/graphics/gpu/Texture.h
+++ b/Source/WebCore/platform/graphics/gpu/Texture.h
@@ -54,11 +54,11 @@
Format format() const { return m_format; }
const TilingData& tiles() const { return m_tiles; }
private:
- Texture(GraphicsContext3D*, PassOwnPtr<Vector<unsigned int> > tileTextureIds, Format format, int width, int height, int maxTextureSize);
+ Texture(GraphicsContext3D*, PassOwnPtr<Vector<unsigned int>> tileTextureIds, Format format, int width, int height, int maxTextureSize);
GraphicsContext3D* m_context;
Format m_format;
TilingData m_tiles;
- OwnPtr<Vector<unsigned int> > m_tileTextureIds;
+ OwnPtr<Vector<unsigned int>> m_tileTextureIds;
};
}
diff --git a/Source/WebCore/platform/graphics/mac/ComplexTextController.h b/Source/WebCore/platform/graphics/mac/ComplexTextController.h
index 3c69f89..c579dd0 100644
--- a/Source/WebCore/platform/graphics/mac/ComplexTextController.h
+++ b/Source/WebCore/platform/graphics/mac/ComplexTextController.h
@@ -149,7 +149,7 @@
Vector<UChar, 256> m_smallCapsBuffer;
// Retain lines rather than their runs for better performance.
- Vector<RetainPtr<CTLineRef> > m_coreTextLines;
+ Vector<RetainPtr<CTLineRef>> m_coreTextLines;
Vector<RefPtr<ComplexTextRun>, 16> m_complexTextRuns;
Vector<CGSize, 256> m_adjustedAdvances;
Vector<CGGlyph, 256> m_adjustedGlyphs;
diff --git a/Source/WebCore/platform/graphics/mac/SimpleFontDataCoreText.cpp b/Source/WebCore/platform/graphics/mac/SimpleFontDataCoreText.cpp
index 9aaf825..729be6f 100644
--- a/Source/WebCore/platform/graphics/mac/SimpleFontDataCoreText.cpp
+++ b/Source/WebCore/platform/graphics/mac/SimpleFontDataCoreText.cpp
@@ -34,7 +34,7 @@
CFDictionaryRef SimpleFontData::getCFStringAttributes(TypesettingFeatures typesettingFeatures, FontOrientation orientation) const
{
unsigned key = typesettingFeatures + 1;
- HashMap<unsigned, RetainPtr<CFDictionaryRef> >::AddResult addResult = m_CFStringAttributes.add(key, RetainPtr<CFDictionaryRef>());
+ HashMap<unsigned, RetainPtr<CFDictionaryRef>>::AddResult addResult = m_CFStringAttributes.add(key, RetainPtr<CFDictionaryRef>());
RetainPtr<CFDictionaryRef>& attributesDictionary = addResult.iterator->value;
if (!addResult.isNewEntry)
return attributesDictionary.get();
diff --git a/Source/WebCore/platform/graphics/transforms/TransformOperations.h b/Source/WebCore/platform/graphics/transforms/TransformOperations.h
index 5354f81..96045d3 100644
--- a/Source/WebCore/platform/graphics/transforms/TransformOperations.h
+++ b/Source/WebCore/platform/graphics/transforms/TransformOperations.h
@@ -66,8 +66,8 @@
m_operations.clear();
}
- Vector<RefPtr<TransformOperation> >& operations() { return m_operations; }
- const Vector<RefPtr<TransformOperation> >& operations() const { return m_operations; }
+ Vector<RefPtr<TransformOperation>>& operations() { return m_operations; }
+ const Vector<RefPtr<TransformOperation>>& operations() const { return m_operations; }
size_t size() const { return m_operations.size(); }
const TransformOperation* at(size_t index) const { return index < m_operations.size() ? m_operations.at(index).get() : 0; }
@@ -77,7 +77,7 @@
TransformOperations blend(const TransformOperations& from, double progress, const LayoutSize&) const;
private:
- Vector<RefPtr<TransformOperation> > m_operations;
+ Vector<RefPtr<TransformOperation>> m_operations;
};
} // namespace WebCore
diff --git a/Source/WebCore/platform/ios/PasteboardIOS.mm b/Source/WebCore/platform/ios/PasteboardIOS.mm
index ece087b..87b5517 100644
--- a/Source/WebCore/platform/ios/PasteboardIOS.mm
+++ b/Source/WebCore/platform/ios/PasteboardIOS.mm
@@ -309,7 +309,7 @@
if (!wasDeferringCallbacks)
frame->page()->setDefersLoading(true);
- Vector<RefPtr<ArchiveResource> > resources;
+ Vector<RefPtr<ArchiveResource>> resources;
RefPtr<DocumentFragment> fragment = frame->editor().client()->documentFragmentFromAttributedString(string.get(), resources);
size_t size = resources.size();
diff --git a/Source/WebCore/platform/mac/PlatformSpeechSynthesizerMac.mm b/Source/WebCore/platform/mac/PlatformSpeechSynthesizerMac.mm
index fb30bbe..1274519 100644
--- a/Source/WebCore/platform/mac/PlatformSpeechSynthesizerMac.mm
+++ b/Source/WebCore/platform/mac/PlatformSpeechSynthesizerMac.mm
@@ -97,7 +97,7 @@
// Find if we should use a specific voice based on the voiceURI in utterance.
// Otherwise, find the voice that matches the language. The Mac doesn't have a default voice per language, so the first
// one will have to do.
- Vector<RefPtr<WebCore::PlatformSpeechSynthesisVoice> > voiceList = m_synthesizerObject->voiceList();
+ Vector<RefPtr<WebCore::PlatformSpeechSynthesisVoice>> voiceList = m_synthesizerObject->voiceList();
size_t voiceListSize = voiceList.size();
WebCore::PlatformSpeechSynthesisVoice* utteranceVoice = utterance->voice();
diff --git a/Source/WebCore/platform/mediastream/MediaStreamDescriptor.h b/Source/WebCore/platform/mediastream/MediaStreamDescriptor.h
index bb7fd0f..45284ab 100644
--- a/Source/WebCore/platform/mediastream/MediaStreamDescriptor.h
+++ b/Source/WebCore/platform/mediastream/MediaStreamDescriptor.h
@@ -83,12 +83,12 @@
MediaStreamDescriptorClient* m_client;
String m_id;
- Vector<RefPtr<MediaStreamSource> > m_audioStreamSources;
- Vector<RefPtr<MediaStreamSource> > m_videoStreamSources;
+ Vector<RefPtr<MediaStreamSource>> m_audioStreamSources;
+ Vector<RefPtr<MediaStreamSource>> m_videoStreamSources;
bool m_ended;
};
-typedef Vector<RefPtr<MediaStreamDescriptor> > MediaStreamDescriptorVector;
+typedef Vector<RefPtr<MediaStreamDescriptor>> MediaStreamDescriptorVector;
} // namespace WebCore
diff --git a/Source/WebCore/platform/mediastream/MediaStreamSource.h b/Source/WebCore/platform/mediastream/MediaStreamSource.h
index d69e1497..2056419 100644
--- a/Source/WebCore/platform/mediastream/MediaStreamSource.h
+++ b/Source/WebCore/platform/mediastream/MediaStreamSource.h
@@ -122,7 +122,7 @@
bool m_remote;
};
-typedef Vector<RefPtr<MediaStreamSource> > MediaStreamSourceVector;
+typedef Vector<RefPtr<MediaStreamSource>> MediaStreamSourceVector;
} // namespace WebCore
diff --git a/Source/WebCore/platform/mediastream/RTCConfiguration.h b/Source/WebCore/platform/mediastream/RTCConfiguration.h
index 23adb1e..73c4cfc 100644
--- a/Source/WebCore/platform/mediastream/RTCConfiguration.h
+++ b/Source/WebCore/platform/mediastream/RTCConfiguration.h
@@ -78,7 +78,7 @@
private:
RTCConfiguration() { }
- Vector<RefPtr<RTCIceServer> > m_servers;
+ Vector<RefPtr<RTCIceServer>> m_servers;
};
} // namespace WebCore
diff --git a/Source/WebCore/platform/network/BlobRegistryImpl.h b/Source/WebCore/platform/network/BlobRegistryImpl.h
index acf4b37..0b8a1ec 100644
--- a/Source/WebCore/platform/network/BlobRegistryImpl.h
+++ b/Source/WebCore/platform/network/BlobRegistryImpl.h
@@ -63,7 +63,7 @@
virtual void unregisterBlobURL(const URL&) OVERRIDE;
virtual bool isBlobRegistryImpl() const OVERRIDE { return true; }
- HashMap<String, RefPtr<BlobStorageData> > m_blobs;
+ HashMap<String, RefPtr<BlobStorageData>> m_blobs;
};
} // namespace WebCore
diff --git a/Source/WebCore/platform/network/HTTPHeaderMap.h b/Source/WebCore/platform/network/HTTPHeaderMap.h
index f919ba1..f4e6787 100644
--- a/Source/WebCore/platform/network/HTTPHeaderMap.h
+++ b/Source/WebCore/platform/network/HTTPHeaderMap.h
@@ -37,7 +37,7 @@
namespace WebCore {
- typedef Vector<std::pair<String, String> > CrossThreadHTTPHeaderMapData;
+ typedef Vector<std::pair<String, String>> CrossThreadHTTPHeaderMapData;
// FIXME: Not every header fits into a map. Notably, multiple Set-Cookie header fields are needed to set multiple cookies.
class HTTPHeaderMap : public HashMap<AtomicString, String, CaseFoldingHash> {
diff --git a/Source/WebCore/platform/network/ResourceResponseBase.cpp b/Source/WebCore/platform/network/ResourceResponseBase.cpp
index 40522a1..d0711f0 100644
--- a/Source/WebCore/platform/network/ResourceResponseBase.cpp
+++ b/Source/WebCore/platform/network/ResourceResponseBase.cpp
@@ -37,7 +37,7 @@
namespace WebCore {
-static void parseCacheHeader(const String& header, Vector<pair<String, String> >& result);
+static void parseCacheHeader(const String& header, Vector<pair<String, String>>& result);
inline const ResourceResponse& ResourceResponseBase::asResourceResponse() const
{
@@ -358,7 +358,7 @@
String cacheControlValue = m_httpHeaderFields.get(cacheControlString);
if (!cacheControlValue.isEmpty()) {
- Vector<pair<String, String> > directives;
+ Vector<pair<String, String>> directives;
parseCacheHeader(cacheControlValue, directives);
size_t directivesSize = directives.size();
@@ -638,7 +638,7 @@
return str.substring(0, str.find(isCacheHeaderSeparator));
}
-static void parseCacheHeader(const String& header, Vector<pair<String, String> >& result)
+static void parseCacheHeader(const String& header, Vector<pair<String, String>>& result)
{
const String safeHeader = header.removeCharacters(isControlCharacter);
unsigned max = safeHeader.length();
diff --git a/Source/WebCore/platform/network/cf/ResourceHandleCFNet.cpp b/Source/WebCore/platform/network/cf/ResourceHandleCFNet.cpp
index 26e73a5..2e44a9e 100644
--- a/Source/WebCore/platform/network/cf/ResourceHandleCFNet.cpp
+++ b/Source/WebCore/platform/network/cf/ResourceHandleCFNet.cpp
@@ -85,9 +85,9 @@
return hosts;
}
-static HashMap<String, RetainPtr<CFDataRef> >& clientCerts()
+static HashMap<String, RetainPtr<CFDataRef>>& clientCerts()
{
- typedef HashMap<String, RetainPtr<CFDataRef> > CertsMap;
+ typedef HashMap<String, RetainPtr<CFDataRef>> CertsMap;
DEFINE_STATIC_LOCAL(CertsMap, certs, ());
return certs;
}
@@ -390,7 +390,7 @@
CFDictionaryAddValue(sslProps.get(), kCFStreamSSLValidatesCertificateChain, kCFBooleanFalse);
}
- HashMap<String, RetainPtr<CFDataRef> >::iterator clientCert = clientCerts().find(firstRequest().url().host().lower());
+ HashMap<String, RetainPtr<CFDataRef>>::iterator clientCert = clientCerts().find(firstRequest().url().host().lower());
if (clientCert != clientCerts().end()) {
if (!sslProps)
sslProps = adoptCF(CFDictionaryCreateMutable(kCFAllocatorDefault, 0, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks));
diff --git a/Source/WebCore/platform/text/cf/HyphenationCF.cpp b/Source/WebCore/platform/text/cf/HyphenationCF.cpp
index c55828b..5ac794a 100644
--- a/Source/WebCore/platform/text/cf/HyphenationCF.cpp
+++ b/Source/WebCore/platform/text/cf/HyphenationCF.cpp
@@ -35,7 +35,7 @@
namespace WebCore {
template<>
-RetainPtr<CFLocaleRef> AtomicStringKeyedMRUCache<RetainPtr<CFLocaleRef> >::createValueForNullKey()
+RetainPtr<CFLocaleRef> AtomicStringKeyedMRUCache<RetainPtr<CFLocaleRef>>::createValueForNullKey()
{
// CF hyphenation functions use locale (regional formats) language, which doesn't necessarily match primary UI language,
// so we can't use default locale here. See <rdar://problem/14897664>.
@@ -45,16 +45,16 @@
}
template<>
-RetainPtr<CFLocaleRef> AtomicStringKeyedMRUCache<RetainPtr<CFLocaleRef> >::createValueForKey(const AtomicString& localeIdentifier)
+RetainPtr<CFLocaleRef> AtomicStringKeyedMRUCache<RetainPtr<CFLocaleRef>>::createValueForKey(const AtomicString& localeIdentifier)
{
RetainPtr<CFLocaleRef> locale = adoptCF(CFLocaleCreate(kCFAllocatorDefault, localeIdentifier.string().createCFString().get()));
return CFStringIsHyphenationAvailableForLocale(locale.get()) ? locale : 0;
}
-static AtomicStringKeyedMRUCache<RetainPtr<CFLocaleRef> >& cfLocaleCache()
+static AtomicStringKeyedMRUCache<RetainPtr<CFLocaleRef>>& cfLocaleCache()
{
- DEFINE_STATIC_LOCAL(AtomicStringKeyedMRUCache<RetainPtr<CFLocaleRef> >, cache, ());
+ DEFINE_STATIC_LOCAL(AtomicStringKeyedMRUCache<RetainPtr<CFLocaleRef>>, cache, ());
return cache;
}
diff --git a/Source/WebCore/plugins/PluginMainThreadScheduler.h b/Source/WebCore/plugins/PluginMainThreadScheduler.h
index 29bc4e6..aafc491 100644
--- a/Source/WebCore/plugins/PluginMainThreadScheduler.h
+++ b/Source/WebCore/plugins/PluginMainThreadScheduler.h
@@ -55,7 +55,7 @@
class Call;
void dispatchCallsForPlugin(NPP, const Deque<Call>& calls);
- typedef HashMap<NPP, Deque<Call> > CallQueueMap;
+ typedef HashMap<NPP, Deque<Call>> CallQueueMap;
static void mainThreadCallback(void* context);
diff --git a/Source/WebCore/rendering/HitTestResult.h b/Source/WebCore/rendering/HitTestResult.h
index f5d0959..4d728a7 100644
--- a/Source/WebCore/rendering/HitTestResult.h
+++ b/Source/WebCore/rendering/HitTestResult.h
@@ -48,7 +48,7 @@
class HitTestResult {
public:
- typedef ListHashSet<RefPtr<Node> > NodeSet;
+ typedef ListHashSet<RefPtr<Node>> NodeSet;
HitTestResult();
explicit HitTestResult(const LayoutPoint&);
diff --git a/Source/WebCore/rendering/InlineFlowBox.h b/Source/WebCore/rendering/InlineFlowBox.h
index 8f37272..9a40fc7 100644
--- a/Source/WebCore/rendering/InlineFlowBox.h
+++ b/Source/WebCore/rendering/InlineFlowBox.h
@@ -36,7 +36,7 @@
struct GlyphOverflow;
-typedef HashMap<const InlineTextBox*, pair<Vector<const SimpleFontData*>, GlyphOverflow> > GlyphOverflowAndFallbackFontsMap;
+typedef HashMap<const InlineTextBox*, pair<Vector<const SimpleFontData*>, GlyphOverflow>> GlyphOverflowAndFallbackFontsMap;
class InlineFlowBox : public InlineBox {
public:
diff --git a/Source/WebCore/rendering/RenderBlock.cpp b/Source/WebCore/rendering/RenderBlock.cpp
index 5fde967..2563196 100644
--- a/Source/WebCore/rendering/RenderBlock.cpp
+++ b/Source/WebCore/rendering/RenderBlock.cpp
@@ -90,7 +90,7 @@
COMPILE_ASSERT(sizeof(RenderBlock) == sizeof(SameSizeAsRenderBlock), RenderBlock_should_stay_small);
-typedef WTF::HashMap<const RenderBox*, OwnPtr<ColumnInfo> > ColumnInfoMap;
+typedef WTF::HashMap<const RenderBox*, OwnPtr<ColumnInfo>> ColumnInfoMap;
static ColumnInfoMap* gColumnInfoMap = 0;
static TrackedDescendantsMap* gPositionedDescendantsMap = 0;
@@ -99,7 +99,7 @@
static TrackedContainerMap* gPositionedContainerMap = 0;
static TrackedContainerMap* gPercentHeightContainerMap = 0;
-typedef WTF::HashMap<RenderBlock*, OwnPtr<ListHashSet<RenderInline*> > > ContinuationOutlineTableMap;
+typedef WTF::HashMap<RenderBlock*, OwnPtr<ListHashSet<RenderInline*>>> ContinuationOutlineTableMap;
typedef WTF::HashSet<RenderBlock*> DelayedUpdateScrollInfoSet;
static int gDelayUpdateScrollInfo = 0;
@@ -2573,7 +2573,7 @@
if (table->isEmpty())
return;
- OwnPtr<ListHashSet<RenderInline*> > continuations = table->take(this);
+ OwnPtr<ListHashSet<RenderInline*>> continuations = table->take(this);
if (!continuations)
return;
@@ -3047,7 +3047,7 @@
if (!descendantsMap)
return;
- OwnPtr<HashSet<RenderBlock*> > containerSet = containerMap->take(descendant);
+ OwnPtr<HashSet<RenderBlock*>> containerSet = containerMap->take(descendant);
if (!containerSet)
return;
diff --git a/Source/WebCore/rendering/RenderBlock.h b/Source/WebCore/rendering/RenderBlock.h
index b9e6962..f4ae09d 100644
--- a/Source/WebCore/rendering/RenderBlock.h
+++ b/Source/WebCore/rendering/RenderBlock.h
@@ -67,8 +67,8 @@
typedef BidiResolver<InlineIterator, BidiRun> InlineBidiResolver;
typedef MidpointState<InlineIterator> LineMidpointState;
typedef WTF::ListHashSet<RenderBox*, 16> TrackedRendererListHashSet;
-typedef WTF::HashMap<const RenderBlock*, OwnPtr<TrackedRendererListHashSet> > TrackedDescendantsMap;
-typedef WTF::HashMap<const RenderBox*, OwnPtr<HashSet<RenderBlock*> > > TrackedContainerMap;
+typedef WTF::HashMap<const RenderBlock*, OwnPtr<TrackedRendererListHashSet>> TrackedDescendantsMap;
+typedef WTF::HashMap<const RenderBox*, OwnPtr<HashSet<RenderBlock*>>> TrackedContainerMap;
typedef Vector<WordMeasurement, 64> WordMeasurements;
enum CaretType { CursorCaret, DragCaret };
diff --git a/Source/WebCore/rendering/RenderButton.h b/Source/WebCore/rendering/RenderButton.h
index 1ff40c6d..b92bba5 100644
--- a/Source/WebCore/rendering/RenderButton.h
+++ b/Source/WebCore/rendering/RenderButton.h
@@ -75,7 +75,7 @@
RenderTextFragment* m_buttonText;
RenderBlock* m_inner;
- OwnPtr<Timer<RenderButton> > m_timer;
+ OwnPtr<Timer<RenderButton>> m_timer;
bool m_default;
};
diff --git a/Source/WebCore/rendering/RenderCounter.cpp b/Source/WebCore/rendering/RenderCounter.cpp
index 856807e..5b38a33 100644
--- a/Source/WebCore/rendering/RenderCounter.cpp
+++ b/Source/WebCore/rendering/RenderCounter.cpp
@@ -43,8 +43,8 @@
using namespace HTMLNames;
-typedef HashMap<AtomicString, RefPtr<CounterNode> > CounterMap;
-typedef HashMap<const RenderObject*, OwnPtr<CounterMap> > CounterMaps;
+typedef HashMap<AtomicString, RefPtr<CounterNode>> CounterMap;
+typedef HashMap<const RenderObject*, OwnPtr<CounterMap>> CounterMaps;
static CounterNode* makeCounterNode(RenderObject*, const AtomicString& identifier, bool alwaysCreateCounter);
diff --git a/Source/WebCore/rendering/RenderGrid.cpp b/Source/WebCore/rendering/RenderGrid.cpp
index 0172093..e5e0686 100644
--- a/Source/WebCore/rendering/RenderGrid.cpp
+++ b/Source/WebCore/rendering/RenderGrid.cpp
@@ -86,7 +86,7 @@
public:
// |direction| is the direction that is fixed to |fixedTrackIndex| so e.g
// GridIterator(m_grid, ForColumns, 1) will walk over the rows of the 2nd column.
- GridIterator(const Vector<Vector<Vector<RenderBox*, 1> > >& grid, TrackSizingDirection direction, size_t fixedTrackIndex)
+ GridIterator(const Vector<Vector<Vector<RenderBox*, 1>>>& grid, TrackSizingDirection direction, size_t fixedTrackIndex)
: m_grid(grid)
, m_direction(direction)
, m_rowIndex((direction == ForColumns) ? 0 : fixedTrackIndex)
@@ -134,7 +134,7 @@
}
private:
- const Vector<Vector<Vector<RenderBox*, 1> > >& m_grid;
+ const Vector<Vector<Vector<RenderBox*, 1>>>& m_grid;
TrackSizingDirection m_direction;
size_t m_rowIndex;
size_t m_columnIndex;
diff --git a/Source/WebCore/rendering/RenderGrid.h b/Source/WebCore/rendering/RenderGrid.h
index 86f6f91..3194107 100644
--- a/Source/WebCore/rendering/RenderGrid.h
+++ b/Source/WebCore/rendering/RenderGrid.h
@@ -130,7 +130,7 @@
return m_grid.size();
}
- Vector<Vector<Vector<RenderBox*, 1> > > m_grid;
+ Vector<Vector<Vector<RenderBox*, 1>>> m_grid;
HashMap<const RenderBox*, GridCoordinate> m_gridItemCoordinate;
};
diff --git a/Source/WebCore/rendering/RenderLayer.cpp b/Source/WebCore/rendering/RenderLayer.cpp
index 5bad9a8..2530294 100644
--- a/Source/WebCore/rendering/RenderLayer.cpp
+++ b/Source/WebCore/rendering/RenderLayer.cpp
@@ -630,8 +630,8 @@
ASSERT(!m_normalFlowListDirty);
ASSERT(!m_zOrderListsDirty);
- OwnPtr<Vector<RenderLayer*> > posZOrderList;
- OwnPtr<Vector<RenderLayer*> > negZOrderList;
+ OwnPtr<Vector<RenderLayer*>> posZOrderList;
+ OwnPtr<Vector<RenderLayer*>> negZOrderList;
rebuildZOrderLists(StopAtStackingContexts, posZOrderList, negZOrderList);
// Create a reverse lookup.
@@ -5776,7 +5776,7 @@
m_zOrderListsDirty = false;
}
-void RenderLayer::rebuildZOrderLists(CollectLayersBehavior behavior, OwnPtr<Vector<RenderLayer*> >& posZOrderList, OwnPtr<Vector<RenderLayer*> >& negZOrderList)
+void RenderLayer::rebuildZOrderLists(CollectLayersBehavior behavior, OwnPtr<Vector<RenderLayer*>>& posZOrderList, OwnPtr<Vector<RenderLayer*>>& negZOrderList)
{
#if USE(ACCELERATED_COMPOSITING)
bool includeHiddenLayers = compositor().inCompositingMode();
@@ -5814,7 +5814,7 @@
m_normalFlowListDirty = false;
}
-void RenderLayer::collectLayers(bool includeHiddenLayers, CollectLayersBehavior behavior, OwnPtr<Vector<RenderLayer*> >& posBuffer, OwnPtr<Vector<RenderLayer*> >& negBuffer)
+void RenderLayer::collectLayers(bool includeHiddenLayers, CollectLayersBehavior behavior, OwnPtr<Vector<RenderLayer*>>& posBuffer, OwnPtr<Vector<RenderLayer*>>& negBuffer)
{
updateDescendantDependentFlags();
@@ -5823,7 +5823,7 @@
bool includeHiddenLayer = includeHiddenLayers || (m_hasVisibleContent || (m_hasVisibleDescendant && isStacking));
if (includeHiddenLayer && !isNormalFlowOnly()) {
// Determine which buffer the child should be in.
- OwnPtr<Vector<RenderLayer*> >& buffer = (zIndex() >= 0) ? posBuffer : negBuffer;
+ OwnPtr<Vector<RenderLayer*>>& buffer = (zIndex() >= 0) ? posBuffer : negBuffer;
// Create the buffer if it doesn't exist yet.
if (!buffer)
diff --git a/Source/WebCore/rendering/RenderLayer.h b/Source/WebCore/rendering/RenderLayer.h
index 201885c..3327a31 100644
--- a/Source/WebCore/rendering/RenderLayer.h
+++ b/Source/WebCore/rendering/RenderLayer.h
@@ -820,7 +820,7 @@
void updateZOrderLists();
void rebuildZOrderLists();
- void rebuildZOrderLists(CollectLayersBehavior, OwnPtr<Vector<RenderLayer*> >&, OwnPtr<Vector<RenderLayer*> >&);
+ void rebuildZOrderLists(CollectLayersBehavior, OwnPtr<Vector<RenderLayer*>>&, OwnPtr<Vector<RenderLayer*>>&);
void clearZOrderLists();
void updateNormalFlowList();
@@ -888,7 +888,7 @@
LayoutPoint renderBoxLocation() const { return renderer().isBox() ? toRenderBox(renderer()).location() : LayoutPoint(); }
- void collectLayers(bool includeHiddenLayers, CollectLayersBehavior, OwnPtr<Vector<RenderLayer*> >&, OwnPtr<Vector<RenderLayer*> >&);
+ void collectLayers(bool includeHiddenLayers, CollectLayersBehavior, OwnPtr<Vector<RenderLayer*>>&, OwnPtr<Vector<RenderLayer*>>&);
void updateCompositingAndLayerListsIfNeeded();
@@ -1225,12 +1225,12 @@
// descendant layers within the stacking context that have z-indices of 0 or greater
// (auto will count as 0). m_negZOrderList holds descendants within our stacking context with negative
// z-indices.
- OwnPtr<Vector<RenderLayer*> > m_posZOrderList;
- OwnPtr<Vector<RenderLayer*> > m_negZOrderList;
+ OwnPtr<Vector<RenderLayer*>> m_posZOrderList;
+ OwnPtr<Vector<RenderLayer*>> m_negZOrderList;
// This list contains child layers that cannot create stacking contexts. For now it is just
// overflow layers, but that may change in the future.
- OwnPtr<Vector<RenderLayer*> > m_normalFlowList;
+ OwnPtr<Vector<RenderLayer*>> m_normalFlowList;
OwnPtr<ClipRectsCache> m_clipRectsCache;
diff --git a/Source/WebCore/rendering/RenderNamedFlowThread.cpp b/Source/WebCore/rendering/RenderNamedFlowThread.cpp
index 2f260ab..7842ff7 100644
--- a/Source/WebCore/rendering/RenderNamedFlowThread.cpp
+++ b/Source/WebCore/rendering/RenderNamedFlowThread.cpp
@@ -578,7 +578,7 @@
return NodeTraversal::next(currNode, contentElement);
}
-void RenderNamedFlowThread::getRanges(Vector<RefPtr<Range> >& rangeObjects, const RenderRegion* region) const
+void RenderNamedFlowThread::getRanges(Vector<RefPtr<Range>>& rangeObjects, const RenderRegion* region) const
{
LayoutUnit logicalTopForRegion;
LayoutUnit logicalBottomForRegion;
diff --git a/Source/WebCore/rendering/RenderNamedFlowThread.h b/Source/WebCore/rendering/RenderNamedFlowThread.h
index b102ff2..48f01ce 100644
--- a/Source/WebCore/rendering/RenderNamedFlowThread.h
+++ b/Source/WebCore/rendering/RenderNamedFlowThread.h
@@ -78,7 +78,7 @@
bool hasContentElement(Element&) const;
bool isMarkedForDestruction() const;
- void getRanges(Vector<RefPtr<Range> >&, const RenderRegion*) const;
+ void getRanges(Vector<RefPtr<Range>>&, const RenderRegion*) const;
protected:
void setMarkForDestruction();
diff --git a/Source/WebCore/rendering/RenderRegion.cpp b/Source/WebCore/rendering/RenderRegion.cpp
index ed9d242..89b970d 100644
--- a/Source/WebCore/rendering/RenderRegion.cpp
+++ b/Source/WebCore/rendering/RenderRegion.cpp
@@ -694,7 +694,7 @@
setPreferredLogicalWidthsDirty(false);
}
-void RenderRegion::getRanges(Vector<RefPtr<Range> >& rangeObjects) const
+void RenderRegion::getRanges(Vector<RefPtr<Range>>& rangeObjects) const
{
const RenderNamedFlowThread& namedFlow = view().flowThreadController().ensureRenderFlowThreadWithName(style()->regionThread());
namedFlow.getRanges(rangeObjects, this);
diff --git a/Source/WebCore/rendering/RenderRegion.h b/Source/WebCore/rendering/RenderRegion.h
index 77bcfe0..9da5b2d 100644
--- a/Source/WebCore/rendering/RenderRegion.h
+++ b/Source/WebCore/rendering/RenderRegion.h
@@ -96,7 +96,7 @@
LayoutUnit logicalTopForFlowThreadContent() const { return logicalTopOfFlowThreadContentRect(flowThreadPortionRect()); };
LayoutUnit logicalBottomForFlowThreadContent() const { return logicalBottomOfFlowThreadContentRect(flowThreadPortionRect()); };
- void getRanges(Vector<RefPtr<Range> >&) const;
+ void getRanges(Vector<RefPtr<Range>>&) const;
// This method represents the logical height of the entire flow thread portion used by the region or set.
// For RenderRegions it matches logicalPaginationHeight(), but for sets it is the height of all the pages
@@ -209,7 +209,7 @@
// A RenderBoxRegionInfo* tells us about any layout information for a RenderBox that
// is unique to the region. For now it just holds logical width information for RenderBlocks, but eventually
// it will also hold a custom style for any box (for region styling).
- typedef HashMap<const RenderBox*, OwnPtr<RenderBoxRegionInfo> > RenderBoxRegionInfoMap;
+ typedef HashMap<const RenderBox*, OwnPtr<RenderBoxRegionInfo>> RenderBoxRegionInfoMap;
RenderBoxRegionInfoMap m_renderBoxRegionInfo;
struct ObjectRegionStyleInfo {
diff --git a/Source/WebCore/rendering/RenderView.cpp b/Source/WebCore/rendering/RenderView.cpp
index 2e36fdd..b0d1c0a 100644
--- a/Source/WebCore/rendering/RenderView.cpp
+++ b/Source/WebCore/rendering/RenderView.cpp
@@ -662,7 +662,7 @@
{
document().updateStyleIfNeeded();
- typedef HashMap<RenderObject*, OwnPtr<RenderSelectionInfo> > SelectionMap;
+ typedef HashMap<RenderObject*, OwnPtr<RenderSelectionInfo>> SelectionMap;
SelectionMap selectedObjects;
RenderObject* os = m_selectionStart;
@@ -780,14 +780,14 @@
int oldEndPos = m_selectionEndPos;
// Objects each have a single selection rect to examine.
- typedef HashMap<RenderObject*, OwnPtr<RenderSelectionInfo> > SelectedObjectMap;
+ typedef HashMap<RenderObject*, OwnPtr<RenderSelectionInfo>> SelectedObjectMap;
SelectedObjectMap oldSelectedObjects;
SelectedObjectMap newSelectedObjects;
// Blocks contain selected objects and fill gaps between them, either on the left, right, or in between lines and blocks.
// In order to get the repaint rect right, we have to examine left, middle, and right rects individually, since otherwise
// the union of those rects might remain the same even when changes have occurred.
- typedef HashMap<RenderBlock*, OwnPtr<RenderBlockSelectionInfo> > SelectedBlockMap;
+ typedef HashMap<RenderBlock*, OwnPtr<RenderBlockSelectionInfo>> SelectedBlockMap;
SelectedBlockMap oldSelectedBlocks;
SelectedBlockMap newSelectedBlocks;
diff --git a/Source/WebCore/rendering/RootInlineBox.h b/Source/WebCore/rendering/RootInlineBox.h
index 15f86bc..2816acb 100644
--- a/Source/WebCore/rendering/RootInlineBox.h
+++ b/Source/WebCore/rendering/RootInlineBox.h
@@ -253,7 +253,7 @@
// Floats hanging off the line are pushed into this vector during layout. It is only
// good for as long as the line has not been marked dirty.
- OwnPtr<Vector<RenderBox*> > m_floats;
+ OwnPtr<Vector<RenderBox*>> m_floats;
};
} // namespace WebCore
diff --git a/Source/WebCore/rendering/shapes/PolygonShape.cpp b/Source/WebCore/rendering/shapes/PolygonShape.cpp
index 50f6297..d3f90eb 100644
--- a/Source/WebCore/rendering/shapes/PolygonShape.cpp
+++ b/Source/WebCore/rendering/shapes/PolygonShape.cpp
@@ -138,7 +138,7 @@
static inline PassOwnPtr<FloatPolygon> computeShapePaddingBounds(const FloatPolygon& polygon, float padding, WindRule fillRule)
{
- OwnPtr<Vector<FloatPoint> > paddedVertices = adoptPtr(new Vector<FloatPoint>());
+ OwnPtr<Vector<FloatPoint>> paddedVertices = adoptPtr(new Vector<FloatPoint>());
FloatPoint intersection;
for (unsigned i = 0; i < polygon.numberOfEdges(); ++i) {
@@ -159,7 +159,7 @@
static inline PassOwnPtr<FloatPolygon> computeShapeMarginBounds(const FloatPolygon& polygon, float margin, WindRule fillRule)
{
- OwnPtr<Vector<FloatPoint> > marginVertices = adoptPtr(new Vector<FloatPoint>());
+ OwnPtr<Vector<FloatPoint>> marginVertices = adoptPtr(new Vector<FloatPoint>());
FloatPoint intersection;
for (unsigned i = 0; i < polygon.numberOfEdges(); ++i) {
diff --git a/Source/WebCore/rendering/shapes/PolygonShape.h b/Source/WebCore/rendering/shapes/PolygonShape.h
index ed69f7b..266825c 100644
--- a/Source/WebCore/rendering/shapes/PolygonShape.h
+++ b/Source/WebCore/rendering/shapes/PolygonShape.h
@@ -82,7 +82,7 @@
class PolygonShape : public Shape {
WTF_MAKE_NONCOPYABLE(PolygonShape);
public:
- PolygonShape(PassOwnPtr<Vector<FloatPoint> > vertices, WindRule fillRule)
+ PolygonShape(PassOwnPtr<Vector<FloatPoint>> vertices, WindRule fillRule)
: Shape()
, m_polygon(vertices, fillRule)
, m_marginBounds(nullptr)
diff --git a/Source/WebCore/rendering/shapes/Shape.cpp b/Source/WebCore/rendering/shapes/Shape.cpp
index 197040c..678b688 100644
--- a/Source/WebCore/rendering/shapes/Shape.cpp
+++ b/Source/WebCore/rendering/shapes/Shape.cpp
@@ -63,7 +63,7 @@
return adoptPtr(new RectangleShape(FloatRect(center.x() - radii.width(), center.y() - radii.height(), radii.width()*2, radii.height()*2), radii));
}
-static PassOwnPtr<Shape> createPolygonShape(PassOwnPtr<Vector<FloatPoint> > vertices, WindRule fillRule)
+static PassOwnPtr<Shape> createPolygonShape(PassOwnPtr<Vector<FloatPoint>> vertices, WindRule fillRule)
{
return adoptPtr(new PolygonShape(vertices, fillRule));
}
@@ -161,7 +161,7 @@
const Vector<Length>& values = polygon->values();
size_t valuesSize = values.size();
ASSERT(!(valuesSize % 2));
- OwnPtr<Vector<FloatPoint> > vertices = adoptPtr(new Vector<FloatPoint>(valuesSize / 2));
+ OwnPtr<Vector<FloatPoint>> vertices = adoptPtr(new Vector<FloatPoint>(valuesSize / 2));
for (unsigned i = 0; i < valuesSize; i += 2) {
FloatPoint vertex(
floatValueForLength(values.at(i), boxWidth),
diff --git a/Source/WebCore/rendering/shapes/ShapeInfo.h b/Source/WebCore/rendering/shapes/ShapeInfo.h
index a839737..03e98b0 100644
--- a/Source/WebCore/rendering/shapes/ShapeInfo.h
+++ b/Source/WebCore/rendering/shapes/ShapeInfo.h
@@ -56,7 +56,7 @@
static void removeInfo(const KeyType* key) { infoMap().remove(key); }
static InfoType* info(const KeyType* key) { return infoMap().get(key); }
private:
- typedef HashMap<const KeyType*, OwnPtr<InfoType> > InfoMap;
+ typedef HashMap<const KeyType*, OwnPtr<InfoType>> InfoMap;
static InfoMap& infoMap()
{
DEFINE_STATIC_LOCAL(InfoMap, staticInfoMap, ());
diff --git a/Source/WebCore/rendering/shapes/ShapeInterval.h b/Source/WebCore/rendering/shapes/ShapeInterval.h
index 9efa0fe..476f0ce 100644
--- a/Source/WebCore/rendering/shapes/ShapeInterval.h
+++ b/Source/WebCore/rendering/shapes/ShapeInterval.h
@@ -85,7 +85,7 @@
return ShapeInterval<T>(std::max<T>(x1(), interval.x1()), std::min<T>(x2(), interval.x2()));
}
- typedef Vector<ShapeInterval<T> > ShapeIntervals;
+ typedef Vector<ShapeInterval<T>> ShapeIntervals;
typedef typename ShapeIntervals::const_iterator const_iterator;
typedef typename ShapeIntervals::iterator iterator;
diff --git a/Source/WebCore/rendering/style/QuotesData.cpp b/Source/WebCore/rendering/style/QuotesData.cpp
index cab8739..43b0df2 100644
--- a/Source/WebCore/rendering/style/QuotesData.cpp
+++ b/Source/WebCore/rendering/style/QuotesData.cpp
@@ -29,13 +29,13 @@
return sizeof(QuotesData) + sizeof(std::pair<String, String>) * count;
}
-PassRefPtr<QuotesData> QuotesData::create(const Vector<std::pair<String, String> >& quotes)
+PassRefPtr<QuotesData> QuotesData::create(const Vector<std::pair<String, String>>& quotes)
{
void* slot = fastMalloc(sizeForQuotesDataWithQuoteCount(quotes.size()));
return adoptRef(new (NotNull, slot) QuotesData(quotes));
}
-QuotesData::QuotesData(const Vector<std::pair<String, String> >& quotes)
+QuotesData::QuotesData(const Vector<std::pair<String, String>>& quotes)
: m_quoteCount(quotes.size())
{
for (unsigned i = 0; i < m_quoteCount; ++i)
diff --git a/Source/WebCore/rendering/style/QuotesData.h b/Source/WebCore/rendering/style/QuotesData.h
index df84d62..07e9253 100644
--- a/Source/WebCore/rendering/style/QuotesData.h
+++ b/Source/WebCore/rendering/style/QuotesData.h
@@ -36,7 +36,7 @@
class QuotesData : public RefCounted<QuotesData> {
public:
- static PassRefPtr<QuotesData> create(const Vector<std::pair<String, String> >& quotes);
+ static PassRefPtr<QuotesData> create(const Vector<std::pair<String, String>>& quotes);
~QuotesData();
friend bool operator==(const QuotesData&, const QuotesData&);
@@ -45,7 +45,7 @@
const String& closeQuote(unsigned index) const;
private:
- explicit QuotesData(const Vector<std::pair<String, String> >& quotes);
+ explicit QuotesData(const Vector<std::pair<String, String>>& quotes);
unsigned m_quoteCount;
std::pair<String, String> m_quotePairs[0];
diff --git a/Source/WebCore/rendering/style/RenderStyle.cpp b/Source/WebCore/rendering/style/RenderStyle.cpp
index 53bebe3..269afb5 100644
--- a/Source/WebCore/rendering/style/RenderStyle.cpp
+++ b/Source/WebCore/rendering/style/RenderStyle.cpp
@@ -983,7 +983,7 @@
rareNonInheritedData.access()->m_content = std::make_unique<QuoteContentData>(quote);
}
-inline bool requireTransformOrigin(const Vector<RefPtr<TransformOperation> >& transformOperations, RenderStyle::ApplyTransformOrigin applyOrigin)
+inline bool requireTransformOrigin(const Vector<RefPtr<TransformOperation>>& transformOperations, RenderStyle::ApplyTransformOrigin applyOrigin)
{
// transform-origin brackets the transform with translate operations.
// Optimize for the case where the only transform is a translation, since the transform-origin is irrelevant
@@ -1010,7 +1010,7 @@
// FIXME: when subpixel layout is supported (bug 71143) the body of this function could be replaced by
// applyTransform(transform, FloatRect(FloatPoint(), borderBoxSize), applyOrigin);
- const Vector<RefPtr<TransformOperation> >& transformOperations = rareNonInheritedData->m_transform->m_operations.operations();
+ const Vector<RefPtr<TransformOperation>>& transformOperations = rareNonInheritedData->m_transform->m_operations.operations();
bool applyTransformOrigin = requireTransformOrigin(transformOperations, applyOrigin);
if (applyTransformOrigin)
@@ -1026,7 +1026,7 @@
void RenderStyle::applyTransform(TransformationMatrix& transform, const FloatRect& boundingBox, ApplyTransformOrigin applyOrigin) const
{
- const Vector<RefPtr<TransformOperation> >& transformOperations = rareNonInheritedData->m_transform->m_operations.operations();
+ const Vector<RefPtr<TransformOperation>>& transformOperations = rareNonInheritedData->m_transform->m_operations.operations();
bool applyTransformOrigin = requireTransformOrigin(transformOperations, applyOrigin);
float offsetX = transformOriginX().type() == Percent ? boundingBox.x() : 0;
diff --git a/Source/WebCore/rendering/style/StyleGridData.h b/Source/WebCore/rendering/style/StyleGridData.h
index 1407cf9..7dd5a5f 100644
--- a/Source/WebCore/rendering/style/StyleGridData.h
+++ b/Source/WebCore/rendering/style/StyleGridData.h
@@ -36,7 +36,7 @@
namespace WebCore {
-typedef HashMap<String, Vector<size_t> > NamedGridLinesMap;
+typedef HashMap<String, Vector<size_t>> NamedGridLinesMap;
class StyleGridData : public RefCounted<StyleGridData> {
public:
diff --git a/Source/WebCore/rendering/svg/RenderSVGResourceGradient.h b/Source/WebCore/rendering/svg/RenderSVGResourceGradient.h
index 6bf2266..1b35d80 100644
--- a/Source/WebCore/rendering/svg/RenderSVGResourceGradient.h
+++ b/Source/WebCore/rendering/svg/RenderSVGResourceGradient.h
@@ -70,7 +70,7 @@
private:
bool m_shouldCollectGradientAttributes : 1;
- HashMap<RenderObject*, OwnPtr<GradientData> > m_gradientMap;
+ HashMap<RenderObject*, OwnPtr<GradientData>> m_gradientMap;
#if USE(CG)
GraphicsContext* m_savedContext;
diff --git a/Source/WebCore/rendering/svg/RenderSVGResourcePattern.h b/Source/WebCore/rendering/svg/RenderSVGResourcePattern.h
index e3f5b27..e6b02c9 100644
--- a/Source/WebCore/rendering/svg/RenderSVGResourcePattern.h
+++ b/Source/WebCore/rendering/svg/RenderSVGResourcePattern.h
@@ -72,7 +72,7 @@
bool m_shouldCollectPatternAttributes : 1;
PatternAttributes m_attributes;
- HashMap<RenderObject*, OwnPtr<PatternData> > m_patternMap;
+ HashMap<RenderObject*, OwnPtr<PatternData>> m_patternMap;
};
}
diff --git a/Source/WebCore/rendering/svg/SVGResourcesCache.h b/Source/WebCore/rendering/svg/SVGResourcesCache.h
index 67a0105..94f42ff 100644
--- a/Source/WebCore/rendering/svg/SVGResourcesCache.h
+++ b/Source/WebCore/rendering/svg/SVGResourcesCache.h
@@ -62,7 +62,7 @@
void addResourcesFromRenderObject(RenderObject*, const RenderStyle*);
void removeResourcesFromRenderObject(RenderObject*);
- typedef HashMap<const RenderObject*, OwnPtr<SVGResources> > CacheMap;
+ typedef HashMap<const RenderObject*, OwnPtr<SVGResources>> CacheMap;
CacheMap m_cache;
};
diff --git a/Source/WebCore/storage/StorageEventDispatcher.cpp b/Source/WebCore/storage/StorageEventDispatcher.cpp
index 2e2f285..b4de9b8 100644
--- a/Source/WebCore/storage/StorageEventDispatcher.cpp
+++ b/Source/WebCore/storage/StorageEventDispatcher.cpp
@@ -44,7 +44,7 @@
if (!page)
return;
- Vector<RefPtr<Frame> > frames;
+ Vector<RefPtr<Frame>> frames;
// Send events only to our page.
for (Frame* frame = &page->mainFrame(); frame; frame = frame->tree().traverseNext()) {
@@ -61,7 +61,7 @@
if (!page)
return;
- Vector<RefPtr<Frame> > frames;
+ Vector<RefPtr<Frame>> frames;
// Send events to every page.
const HashSet<Page*>& pages = page->group().pages();
@@ -75,7 +75,7 @@
dispatchLocalStorageEventsToFrames(page->group(), frames, key, oldValue, newValue, sourceFrame->document()->url(), securityOrigin);
}
-void StorageEventDispatcher::dispatchSessionStorageEventsToFrames(Page& page, const Vector<RefPtr<Frame> >& frames, const String& key, const String& oldValue, const String& newValue, const String& url, SecurityOrigin* securityOrigin)
+void StorageEventDispatcher::dispatchSessionStorageEventsToFrames(Page& page, const Vector<RefPtr<Frame>>& frames, const String& key, const String& oldValue, const String& newValue, const String& url, SecurityOrigin* securityOrigin)
{
InspectorInstrumentation::didDispatchDOMStorageEvent(key, oldValue, newValue, SessionStorage, securityOrigin, &page);
@@ -87,7 +87,7 @@
}
}
-void StorageEventDispatcher::dispatchLocalStorageEventsToFrames(PageGroup& pageGroup, const Vector<RefPtr<Frame> >& frames, const String& key, const String& oldValue, const String& newValue, const String& url, SecurityOrigin* securityOrigin)
+void StorageEventDispatcher::dispatchLocalStorageEventsToFrames(PageGroup& pageGroup, const Vector<RefPtr<Frame>>& frames, const String& key, const String& oldValue, const String& newValue, const String& url, SecurityOrigin* securityOrigin)
{
const HashSet<Page*>& pages = pageGroup.pages();
for (HashSet<Page*>::const_iterator it = pages.begin(), end = pages.end(); it != end; ++it)
diff --git a/Source/WebCore/storage/StorageEventDispatcher.h b/Source/WebCore/storage/StorageEventDispatcher.h
index 5176612..056a294 100644
--- a/Source/WebCore/storage/StorageEventDispatcher.h
+++ b/Source/WebCore/storage/StorageEventDispatcher.h
@@ -45,8 +45,8 @@
static void dispatchSessionStorageEvents(const String& key, const String& oldValue, const String& newValue, SecurityOrigin*, Frame* sourceFrame);
static void dispatchLocalStorageEvents(const String& key, const String& oldValue, const String& newValue, SecurityOrigin*, Frame* sourceFrame);
- static void dispatchSessionStorageEventsToFrames(Page&, const Vector<RefPtr<Frame> >& frames, const String& key, const String& oldValue, const String& newValue, const String& url, SecurityOrigin*);
- static void dispatchLocalStorageEventsToFrames(PageGroup&, const Vector<RefPtr<Frame> >& frames, const String& key, const String& oldValue, const String& newValue, const String& url, SecurityOrigin*);
+ static void dispatchSessionStorageEventsToFrames(Page&, const Vector<RefPtr<Frame>>& frames, const String& key, const String& oldValue, const String& newValue, const String& url, SecurityOrigin*);
+ static void dispatchLocalStorageEventsToFrames(PageGroup&, const Vector<RefPtr<Frame>>& frames, const String& key, const String& oldValue, const String& newValue, const String& url, SecurityOrigin*);
private:
// Do not instantiate.
StorageEventDispatcher();
diff --git a/Source/WebCore/storage/StorageNamespaceImpl.h b/Source/WebCore/storage/StorageNamespaceImpl.h
index 1da5670..1610d6f 100644
--- a/Source/WebCore/storage/StorageNamespaceImpl.h
+++ b/Source/WebCore/storage/StorageNamespaceImpl.h
@@ -60,7 +60,7 @@
private:
StorageNamespaceImpl(StorageType, const String& path, unsigned quota);
- typedef HashMap<RefPtr<SecurityOrigin>, RefPtr<StorageAreaImpl> > StorageAreaMap;
+ typedef HashMap<RefPtr<SecurityOrigin>, RefPtr<StorageAreaImpl>> StorageAreaMap;
StorageAreaMap m_storageAreaMap;
StorageType m_storageType;
diff --git a/Source/WebCore/storage/StorageThread.h b/Source/WebCore/storage/StorageThread.h
index 7ed8885..c3e6536 100644
--- a/Source/WebCore/storage/StorageThread.h
+++ b/Source/WebCore/storage/StorageThread.h
@@ -62,7 +62,7 @@
void performTerminate();
ThreadIdentifier m_threadID;
- MessageQueue<Function<void ()> > m_queue;
+ MessageQueue<Function<void ()>> m_queue;
};
} // namespace WebCore
diff --git a/Source/WebCore/storage/StorageTracker.cpp b/Source/WebCore/storage/StorageTracker.cpp
index a88a8a0..b9625e5 100644
--- a/Source/WebCore/storage/StorageTracker.cpp
+++ b/Source/WebCore/storage/StorageTracker.cpp
@@ -337,7 +337,7 @@
}
}
-void StorageTracker::origins(Vector<RefPtr<SecurityOrigin> >& result)
+void StorageTracker::origins(Vector<RefPtr<SecurityOrigin>>& result)
{
ASSERT(m_isActive);
diff --git a/Source/WebCore/storage/StorageTracker.h b/Source/WebCore/storage/StorageTracker.h
index ff979d2..dadfb43 100644
--- a/Source/WebCore/storage/StorageTracker.h
+++ b/Source/WebCore/storage/StorageTracker.h
@@ -55,7 +55,7 @@
void deleteAllOrigins();
void deleteOrigin(SecurityOrigin*);
void deleteOriginWithIdentifier(const String& originIdentifier);
- void origins(Vector<RefPtr<SecurityOrigin> >& result);
+ void origins(Vector<RefPtr<SecurityOrigin>>& result);
long long diskUsageForOrigin(SecurityOrigin*);
void cancelDeletingOrigin(const String& originIdentifier);
diff --git a/Source/WebCore/svg/SVGAnimatedPath.cpp b/Source/WebCore/svg/SVGAnimatedPath.cpp
index b8c8da1..e595f34 100644
--- a/Source/WebCore/svg/SVGAnimatedPath.cpp
+++ b/Source/WebCore/svg/SVGAnimatedPath.cpp
@@ -50,7 +50,7 @@
OwnPtr<SVGPathByteStream> byteStream = SVGPathByteStream::create();
buildSVGPathByteStreamFromSVGPathSegList(baseValue, byteStream.get(), UnalteredParsing);
- Vector<RefPtr<SVGAnimatedPathSegListPropertyTearOff> > result;
+ Vector<RefPtr<SVGAnimatedPathSegListPropertyTearOff>> result;
SVGElementAnimatedPropertyList::const_iterator end = animatedTypes.end();
for (SVGElementAnimatedPropertyList::const_iterator it = animatedTypes.begin(); it != end; ++it)
diff --git a/Source/WebCore/svg/SVGAnimatedTypeAnimator.cpp b/Source/WebCore/svg/SVGAnimatedTypeAnimator.cpp
index f2b598e..e19b1e1 100644
--- a/Source/WebCore/svg/SVGAnimatedTypeAnimator.cpp
+++ b/Source/WebCore/svg/SVGAnimatedTypeAnimator.cpp
@@ -33,7 +33,7 @@
: element(0)
{ }
-SVGElementAnimatedProperties::SVGElementAnimatedProperties(SVGElement* element, Vector<RefPtr<SVGAnimatedProperty> >& properties)
+SVGElementAnimatedProperties::SVGElementAnimatedProperties(SVGElement* element, Vector<RefPtr<SVGAnimatedProperty>>& properties)
: element(element)
, properties(properties)
{ }
@@ -67,7 +67,7 @@
SVGElementAnimatedPropertyList propertiesByInstance;
- Vector<RefPtr<SVGAnimatedProperty> > targetProperties;
+ Vector<RefPtr<SVGAnimatedProperty>> targetProperties;
targetElement->localAttributeToPropertyMap().animatedPropertiesForAttribute(targetElement, attributeName, targetProperties);
if (!SVGAnimatedType::supportsAnimVal(m_type))
@@ -83,7 +83,7 @@
if (!shadowTreeElement)
continue;
- Vector<RefPtr<SVGAnimatedProperty> > instanceProperties;
+ Vector<RefPtr<SVGAnimatedProperty>> instanceProperties;
targetElement->localAttributeToPropertyMap().animatedPropertiesForAttribute(shadowTreeElement, attributeName, instanceProperties);
SVGElementAnimatedProperties instancePropertiesPair(shadowTreeElement, instanceProperties);
diff --git a/Source/WebCore/svg/SVGAnimatedTypeAnimator.h b/Source/WebCore/svg/SVGAnimatedTypeAnimator.h
index f371118..a4d9a4c 100644
--- a/Source/WebCore/svg/SVGAnimatedTypeAnimator.h
+++ b/Source/WebCore/svg/SVGAnimatedTypeAnimator.h
@@ -32,10 +32,10 @@
struct SVGElementAnimatedProperties {
SVGElementAnimatedProperties();
- SVGElementAnimatedProperties(SVGElement*, Vector<RefPtr<SVGAnimatedProperty> >&);
+ SVGElementAnimatedProperties(SVGElement*, Vector<RefPtr<SVGAnimatedProperty>>&);
SVGElement* element;
- Vector<RefPtr<SVGAnimatedProperty> > properties;
+ Vector<RefPtr<SVGAnimatedProperty>> properties;
};
typedef Vector<SVGElementAnimatedProperties> SVGElementAnimatedPropertyList;
diff --git a/Source/WebCore/svg/SVGDocumentExtensions.cpp b/Source/WebCore/svg/SVGDocumentExtensions.cpp
index be4cb82..b141f40 100644
--- a/Source/WebCore/svg/SVGDocumentExtensions.cpp
+++ b/Source/WebCore/svg/SVGDocumentExtensions.cpp
@@ -95,10 +95,10 @@
// starting animations for a document will do this "latching"
// FIXME: We hold a ref pointers to prevent a shadow tree from getting removed out from underneath us.
// In the future we should refactor the use-element to avoid this. See https://webkit.org/b/53704
- Vector<RefPtr<SVGSVGElement> > timeContainers;
+ Vector<RefPtr<SVGSVGElement>> timeContainers;
timeContainers.appendRange(m_timeContainers.begin(), m_timeContainers.end());
- Vector<RefPtr<SVGSVGElement> >::iterator end = timeContainers.end();
- for (Vector<RefPtr<SVGSVGElement> >::iterator itr = timeContainers.begin(); itr != end; ++itr)
+ Vector<RefPtr<SVGSVGElement>>::iterator end = timeContainers.end();
+ for (Vector<RefPtr<SVGSVGElement>>::iterator itr = timeContainers.begin(); itr != end; ++itr)
(*itr)->timeContainer()->begin();
}
@@ -118,11 +118,11 @@
void SVGDocumentExtensions::dispatchSVGLoadEventToOutermostSVGElements()
{
- Vector<RefPtr<SVGSVGElement> > timeContainers;
+ Vector<RefPtr<SVGSVGElement>> timeContainers;
timeContainers.appendRange(m_timeContainers.begin(), m_timeContainers.end());
- Vector<RefPtr<SVGSVGElement> >::iterator end = timeContainers.end();
- for (Vector<RefPtr<SVGSVGElement> >::iterator it = timeContainers.begin(); it != end; ++it) {
+ Vector<RefPtr<SVGSVGElement>>::iterator end = timeContainers.end();
+ for (Vector<RefPtr<SVGSVGElement>>::iterator it = timeContainers.begin(); it != end; ++it) {
SVGSVGElement* outerSVG = (*it).get();
if (!outerSVG->isOutermostSVGSVGElement())
continue;
@@ -153,7 +153,7 @@
if (id.isEmpty())
return;
- HashMap<AtomicString, OwnPtr<SVGPendingElements> >::AddResult result = m_pendingResources.add(id, nullptr);
+ HashMap<AtomicString, OwnPtr<SVGPendingElements>>::AddResult result = m_pendingResources.add(id, nullptr);
if (result.isNewEntry)
result.iterator->value = adoptPtr(new SVGPendingElements);
result.iterator->value->add(element);
@@ -176,8 +176,8 @@
ASSERT(element);
- HashMap<AtomicString, OwnPtr<SVGPendingElements> >::const_iterator end = m_pendingResources.end();
- for (HashMap<AtomicString, OwnPtr<SVGPendingElements> >::const_iterator it = m_pendingResources.begin(); it != end; ++it) {
+ HashMap<AtomicString, OwnPtr<SVGPendingElements>>::const_iterator end = m_pendingResources.end();
+ for (HashMap<AtomicString, OwnPtr<SVGPendingElements>>::const_iterator it = m_pendingResources.begin(); it != end; ++it) {
SVGPendingElements* elements = it->value.get();
ASSERT(elements);
@@ -210,8 +210,8 @@
// Remove the element from pending resources.
if (!m_pendingResources.isEmpty() && element->hasPendingResources()) {
Vector<AtomicString> toBeRemoved;
- HashMap<AtomicString, OwnPtr<SVGPendingElements> >::iterator end = m_pendingResources.end();
- for (HashMap<AtomicString, OwnPtr<SVGPendingElements> >::iterator it = m_pendingResources.begin(); it != end; ++it) {
+ HashMap<AtomicString, OwnPtr<SVGPendingElements>>::iterator end = m_pendingResources.end();
+ for (HashMap<AtomicString, OwnPtr<SVGPendingElements>>::iterator it = m_pendingResources.begin(); it != end; ++it) {
SVGPendingElements* elements = it->value.get();
ASSERT(elements);
ASSERT(!elements->isEmpty());
@@ -232,8 +232,8 @@
// Remove the element from pending resources that were scheduled for removal.
if (!m_pendingResourcesForRemoval.isEmpty()) {
Vector<AtomicString> toBeRemoved;
- HashMap<AtomicString, OwnPtr<SVGPendingElements> >::iterator end = m_pendingResourcesForRemoval.end();
- for (HashMap<AtomicString, OwnPtr<SVGPendingElements> >::iterator it = m_pendingResourcesForRemoval.begin(); it != end; ++it) {
+ HashMap<AtomicString, OwnPtr<SVGPendingElements>>::iterator end = m_pendingResourcesForRemoval.end();
+ for (HashMap<AtomicString, OwnPtr<SVGPendingElements>>::iterator it = m_pendingResourcesForRemoval.begin(); it != end; ++it) {
SVGPendingElements* elements = it->value.get();
ASSERT(elements);
ASSERT(!elements->isEmpty());
@@ -297,7 +297,7 @@
HashSet<SVGElement*>* SVGDocumentExtensions::setOfElementsReferencingTarget(SVGElement* referencedElement) const
{
ASSERT(referencedElement);
- const HashMap<SVGElement*, OwnPtr<HashSet<SVGElement*> > >::const_iterator it = m_elementDependencies.find(referencedElement);
+ const HashMap<SVGElement*, OwnPtr<HashSet<SVGElement*>>>::const_iterator it = m_elementDependencies.find(referencedElement);
if (it == m_elementDependencies.end())
return 0;
return it->value.get();
@@ -313,7 +313,7 @@
return;
}
- OwnPtr<HashSet<SVGElement*> > elements = adoptPtr(new HashSet<SVGElement*>);
+ OwnPtr<HashSet<SVGElement*>> elements = adoptPtr(new HashSet<SVGElement*>);
elements->add(referencingElement);
m_elementDependencies.set(referencedElement, elements.release());
}
@@ -339,7 +339,7 @@
void SVGDocumentExtensions::rebuildAllElementReferencesForTarget(SVGElement* referencedElement)
{
ASSERT(referencedElement);
- HashMap<SVGElement*, OwnPtr<HashSet<SVGElement*> > >::iterator it = m_elementDependencies.find(referencedElement);
+ HashMap<SVGElement*, OwnPtr<HashSet<SVGElement*>>>::iterator it = m_elementDependencies.find(referencedElement);
if (it == m_elementDependencies.end())
return;
ASSERT(it->key == referencedElement);
diff --git a/Source/WebCore/svg/SVGDocumentExtensions.h b/Source/WebCore/svg/SVGDocumentExtensions.h
index a4d8bf6..5d0cb23 100644
--- a/Source/WebCore/svg/SVGDocumentExtensions.h
+++ b/Source/WebCore/svg/SVGDocumentExtensions.h
@@ -84,9 +84,9 @@
HashSet<SVGFontFaceElement*> m_svgFontFaceElements;
#endif
HashMap<AtomicString, RenderSVGResourceContainer*> m_resources;
- HashMap<AtomicString, OwnPtr<SVGPendingElements> > m_pendingResources; // Resources that are pending.
- HashMap<AtomicString, OwnPtr<SVGPendingElements> > m_pendingResourcesForRemoval; // Resources that are pending and scheduled for removal.
- HashMap<SVGElement*, OwnPtr<HashSet<SVGElement*> > > m_elementDependencies;
+ HashMap<AtomicString, OwnPtr<SVGPendingElements>> m_pendingResources; // Resources that are pending.
+ HashMap<AtomicString, OwnPtr<SVGPendingElements>> m_pendingResourcesForRemoval; // Resources that are pending and scheduled for removal.
+ HashMap<SVGElement*, OwnPtr<HashSet<SVGElement*>>> m_elementDependencies;
OwnPtr<SVGResourcesCache> m_resourcesCache;
public:
diff --git a/Source/WebCore/svg/SVGFontElement.h b/Source/WebCore/svg/SVGFontElement.h
index e8234a8..e6c580f 100644
--- a/Source/WebCore/svg/SVGFontElement.h
+++ b/Source/WebCore/svg/SVGFontElement.h
@@ -53,8 +53,8 @@
typedef Vector<SVGKerning> SVGKerningVector;
struct SVGKerningMap {
- HashMap<String, OwnPtr<SVGKerningVector> > unicodeMap;
- HashMap<String, OwnPtr<SVGKerningVector> > glyphMap;
+ HashMap<String, OwnPtr<SVGKerningVector>> unicodeMap;
+ HashMap<String, OwnPtr<SVGKerningVector>> glyphMap;
Vector<SVGKerningPair> kerningUnicodeRangeMap;
bool isEmpty() const { return unicodeMap.isEmpty() && glyphMap.isEmpty() && kerningUnicodeRangeMap.isEmpty(); }
diff --git a/Source/WebCore/svg/SVGGlyphMap.h b/Source/WebCore/svg/SVGGlyphMap.h
index 22ae150..407592d 100644
--- a/Source/WebCore/svg/SVGGlyphMap.h
+++ b/Source/WebCore/svg/SVGGlyphMap.h
@@ -32,7 +32,7 @@
struct GlyphMapNode;
class SVGFontData;
-typedef HashMap<UChar32, RefPtr<GlyphMapNode> > GlyphMapLayer;
+typedef HashMap<UChar32, RefPtr<GlyphMapNode>> GlyphMapLayer;
struct GlyphMapNode : public RefCounted<GlyphMapNode> {
private:
diff --git a/Source/WebCore/svg/SVGMarkerElement.cpp b/Source/WebCore/svg/SVGMarkerElement.cpp
index c6140d2..1abddec 100644
--- a/Source/WebCore/svg/SVGMarkerElement.cpp
+++ b/Source/WebCore/svg/SVGMarkerElement.cpp
@@ -250,10 +250,10 @@
(ownerType, orientTypePropertyInfo(), ownerType->m_orientType.value);
}
-PassRefPtr<SVGAnimatedEnumerationPropertyTearOff<SVGMarkerOrientType> > SVGMarkerElement::orientTypeAnimated()
+PassRefPtr<SVGAnimatedEnumerationPropertyTearOff<SVGMarkerOrientType>> SVGMarkerElement::orientTypeAnimated()
{
m_orientType.shouldSynchronize = true;
- return static_pointer_cast<SVGAnimatedEnumerationPropertyTearOff<SVGMarkerOrientType> >(lookupOrCreateOrientTypeWrapper(this));
+ return static_pointer_cast<SVGAnimatedEnumerationPropertyTearOff<SVGMarkerOrientType>>(lookupOrCreateOrientTypeWrapper(this));
}
}
diff --git a/Source/WebCore/svg/SVGMarkerElement.h b/Source/WebCore/svg/SVGMarkerElement.h
index c8a976b..61b5a63 100644
--- a/Source/WebCore/svg/SVGMarkerElement.h
+++ b/Source/WebCore/svg/SVGMarkerElement.h
@@ -159,7 +159,7 @@
SVGMarkerOrientType& orientType() const { return m_orientType.value; }
SVGMarkerOrientType& orientTypeBaseValue() const { return m_orientType.value; }
void setOrientTypeBaseValue(const SVGMarkerOrientType& type) { m_orientType.value = type; }
- PassRefPtr<SVGAnimatedEnumerationPropertyTearOff<SVGMarkerOrientType> > orientTypeAnimated();
+ PassRefPtr<SVGAnimatedEnumerationPropertyTearOff<SVGMarkerOrientType>> orientTypeAnimated();
private:
mutable SVGSynchronizableAnimatedProperty<SVGMarkerOrientType> m_orientType;
diff --git a/Source/WebCore/svg/SVGPathSegList.h b/Source/WebCore/svg/SVGPathSegList.h
index 058c080..553ea11 100644
--- a/Source/WebCore/svg/SVGPathSegList.h
+++ b/Source/WebCore/svg/SVGPathSegList.h
@@ -32,7 +32,7 @@
class SVGElement;
-class SVGPathSegList : public Vector<RefPtr<SVGPathSeg> > {
+class SVGPathSegList : public Vector<RefPtr<SVGPathSeg>> {
public:
SVGPathSegList(SVGPathSegRole role)
: m_role(role)
diff --git a/Source/WebCore/svg/animation/SMILTimeContainer.h b/Source/WebCore/svg/animation/SMILTimeContainer.h
index ca583a6..cebbdbe 100644
--- a/Source/WebCore/svg/animation/SMILTimeContainer.h
+++ b/Source/WebCore/svg/animation/SMILTimeContainer.h
@@ -87,7 +87,7 @@
typedef pair<SVGElement*, QualifiedName> ElementAttributePair;
typedef Vector<SVGSMILElement*> AnimationsVector;
- typedef HashMap<ElementAttributePair, OwnPtr<AnimationsVector> > GroupedAnimationsMap;
+ typedef HashMap<ElementAttributePair, OwnPtr<AnimationsVector>> GroupedAnimationsMap;
GroupedAnimationsMap m_scheduledAnimations;
SVGSVGElement* m_ownerSVGElement;
diff --git a/Source/WebCore/svg/graphics/SVGImageCache.h b/Source/WebCore/svg/graphics/SVGImageCache.h
index ebf5016..9782a6c 100644
--- a/Source/WebCore/svg/graphics/SVGImageCache.h
+++ b/Source/WebCore/svg/graphics/SVGImageCache.h
@@ -57,7 +57,7 @@
private:
SVGImageCache(SVGImage*);
- typedef HashMap<const CachedImageClient*, RefPtr<SVGImageForContainer> > ImageForContainerMap;
+ typedef HashMap<const CachedImageClient*, RefPtr<SVGImageForContainer>> ImageForContainerMap;
SVGImage* m_svgImage;
ImageForContainerMap m_imageForContainerMap;
diff --git a/Source/WebCore/svg/graphics/filters/SVGFilterBuilder.h b/Source/WebCore/svg/graphics/filters/SVGFilterBuilder.h
index f2eb460..a7fd273 100644
--- a/Source/WebCore/svg/graphics/filters/SVGFilterBuilder.h
+++ b/Source/WebCore/svg/graphics/filters/SVGFilterBuilder.h
@@ -65,13 +65,13 @@
inline void addBuiltinEffects()
{
- HashMap<AtomicString, RefPtr<FilterEffect> >::iterator end = m_builtinEffects.end();
- for (HashMap<AtomicString, RefPtr<FilterEffect> >::iterator iterator = m_builtinEffects.begin(); iterator != end; ++iterator)
+ HashMap<AtomicString, RefPtr<FilterEffect>>::iterator end = m_builtinEffects.end();
+ for (HashMap<AtomicString, RefPtr<FilterEffect>>::iterator iterator = m_builtinEffects.begin(); iterator != end; ++iterator)
m_effectReferences.add(iterator->value, FilterEffectSet());
}
- HashMap<AtomicString, RefPtr<FilterEffect> > m_builtinEffects;
- HashMap<AtomicString, RefPtr<FilterEffect> > m_namedEffects;
+ HashMap<AtomicString, RefPtr<FilterEffect>> m_builtinEffects;
+ HashMap<AtomicString, RefPtr<FilterEffect>> m_namedEffects;
// The value is a list, which contains those filter effects,
// which depends on the key filter effect.
HashMap<RefPtr<FilterEffect>, FilterEffectSet> m_effectReferences;
diff --git a/Source/WebCore/svg/properties/SVGAnimatedEnumerationPropertyTearOff.h b/Source/WebCore/svg/properties/SVGAnimatedEnumerationPropertyTearOff.h
index 28aaaa4..cd6347c 100644
--- a/Source/WebCore/svg/properties/SVGAnimatedEnumerationPropertyTearOff.h
+++ b/Source/WebCore/svg/properties/SVGAnimatedEnumerationPropertyTearOff.h
@@ -40,7 +40,7 @@
SVGAnimatedStaticPropertyTearOff<unsigned>::setBaseVal(property, ec);
}
- static PassRefPtr<SVGAnimatedEnumerationPropertyTearOff<EnumType> > create(SVGElement* contextElement, const QualifiedName& attributeName, AnimatedPropertyType animatedPropertyType, EnumType& property)
+ static PassRefPtr<SVGAnimatedEnumerationPropertyTearOff<EnumType>> create(SVGElement* contextElement, const QualifiedName& attributeName, AnimatedPropertyType animatedPropertyType, EnumType& property)
{
ASSERT(contextElement);
return adoptRef(new SVGAnimatedEnumerationPropertyTearOff<EnumType>(contextElement, attributeName, animatedPropertyType, reinterpret_cast<unsigned&>(property)));
diff --git a/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h b/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h
index 8d01c61..08ca780 100644
--- a/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h
+++ b/Source/WebCore/svg/properties/SVGAnimatedListPropertyTearOff.h
@@ -35,7 +35,7 @@
public:
typedef typename SVGPropertyTraits<PropertyType>::ListItemType ListItemType;
typedef SVGPropertyTearOff<ListItemType> ListItemTearOff;
- typedef Vector<RefPtr<ListItemTearOff> > ListWrapperCache;
+ typedef Vector<RefPtr<ListItemTearOff>> ListWrapperCache;
typedef SVGListProperty<PropertyType> ListProperty;
typedef SVGListPropertyTearOff<PropertyType> ListPropertyTearOff;
typedef PropertyType ContentType;
@@ -154,7 +154,7 @@
synchronizeWrappersIfNeeded();
}
- static PassRefPtr<SVGAnimatedListPropertyTearOff<PropertyType> > create(SVGElement* contextElement, const QualifiedName& attributeName, AnimatedPropertyType animatedPropertyType, PropertyType& values)
+ static PassRefPtr<SVGAnimatedListPropertyTearOff<PropertyType>> create(SVGElement* contextElement, const QualifiedName& attributeName, AnimatedPropertyType animatedPropertyType, PropertyType& values)
{
ASSERT(contextElement);
return adoptRef(new SVGAnimatedListPropertyTearOff<PropertyType>(contextElement, attributeName, animatedPropertyType, values));
diff --git a/Source/WebCore/svg/properties/SVGAnimatedPropertyTearOff.h b/Source/WebCore/svg/properties/SVGAnimatedPropertyTearOff.h
index 176304e..d406ff5 100644
--- a/Source/WebCore/svg/properties/SVGAnimatedPropertyTearOff.h
+++ b/Source/WebCore/svg/properties/SVGAnimatedPropertyTearOff.h
@@ -58,7 +58,7 @@
return m_animVal.get();
}
- static PassRefPtr<SVGAnimatedPropertyTearOff<PropertyType> > create(SVGElement* contextElement, const QualifiedName& attributeName, AnimatedPropertyType animatedPropertyType, PropertyType& property)
+ static PassRefPtr<SVGAnimatedPropertyTearOff<PropertyType>> create(SVGElement* contextElement, const QualifiedName& attributeName, AnimatedPropertyType animatedPropertyType, PropertyType& property)
{
ASSERT(contextElement);
return adoptRef(new SVGAnimatedPropertyTearOff<PropertyType>(contextElement, attributeName, animatedPropertyType, property));
diff --git a/Source/WebCore/svg/properties/SVGAnimatedStaticPropertyTearOff.h b/Source/WebCore/svg/properties/SVGAnimatedStaticPropertyTearOff.h
index 0c8fbe0..b035bd9 100644
--- a/Source/WebCore/svg/properties/SVGAnimatedStaticPropertyTearOff.h
+++ b/Source/WebCore/svg/properties/SVGAnimatedStaticPropertyTearOff.h
@@ -49,7 +49,7 @@
commitChange();
}
- static PassRefPtr<SVGAnimatedStaticPropertyTearOff<PropertyType> > create(SVGElement* contextElement, const QualifiedName& attributeName, AnimatedPropertyType animatedPropertyType, PropertyType& property)
+ static PassRefPtr<SVGAnimatedStaticPropertyTearOff<PropertyType>> create(SVGElement* contextElement, const QualifiedName& attributeName, AnimatedPropertyType animatedPropertyType, PropertyType& property)
{
ASSERT(contextElement);
return adoptRef(new SVGAnimatedStaticPropertyTearOff<PropertyType>(contextElement, attributeName, animatedPropertyType, property));
diff --git a/Source/WebCore/svg/properties/SVGAttributeToPropertyMap.cpp b/Source/WebCore/svg/properties/SVGAttributeToPropertyMap.cpp
index 38e5375..4d5ac02f 100644
--- a/Source/WebCore/svg/properties/SVGAttributeToPropertyMap.cpp
+++ b/Source/WebCore/svg/properties/SVGAttributeToPropertyMap.cpp
@@ -59,7 +59,7 @@
m_map.set(info->attributeName, vector.release());
}
-void SVGAttributeToPropertyMap::animatedPropertiesForAttribute(SVGElement* ownerType, const QualifiedName& attributeName, Vector<RefPtr<SVGAnimatedProperty> >& properties)
+void SVGAttributeToPropertyMap::animatedPropertiesForAttribute(SVGElement* ownerType, const QualifiedName& attributeName, Vector<RefPtr<SVGAnimatedProperty>>& properties)
{
ASSERT(ownerType);
PropertiesVector* vector = m_map.get(attributeName);
diff --git a/Source/WebCore/svg/properties/SVGAttributeToPropertyMap.h b/Source/WebCore/svg/properties/SVGAttributeToPropertyMap.h
index 16ab9d0..4b4f233 100644
--- a/Source/WebCore/svg/properties/SVGAttributeToPropertyMap.h
+++ b/Source/WebCore/svg/properties/SVGAttributeToPropertyMap.h
@@ -38,7 +38,7 @@
// FIXME: To match WebKit coding style either these functions should have return values instead of out parameters,
// or the word "get" should be added as a prefix to their names.
- void animatedPropertiesForAttribute(SVGElement* contextElement, const QualifiedName& attributeName, Vector<RefPtr<SVGAnimatedProperty> >&);
+ void animatedPropertiesForAttribute(SVGElement* contextElement, const QualifiedName& attributeName, Vector<RefPtr<SVGAnimatedProperty>>&);
void animatedPropertyTypeForAttribute(const QualifiedName& attributeName, Vector<AnimatedPropertyType>&);
void synchronizeProperties(SVGElement* contextElement);
@@ -49,7 +49,7 @@
PassRefPtr<SVGAnimatedProperty> animatedProperty(SVGElement* contextElement, const QualifiedName& attributeName, const SVGPropertyInfo*);
typedef Vector<const SVGPropertyInfo*> PropertiesVector;
- typedef HashMap<QualifiedName, OwnPtr<PropertiesVector> > AttributeToPropertiesMap;
+ typedef HashMap<QualifiedName, OwnPtr<PropertiesVector>> AttributeToPropertiesMap;
AttributeToPropertiesMap m_map;
};
diff --git a/Source/WebCore/svg/properties/SVGStaticListPropertyTearOff.h b/Source/WebCore/svg/properties/SVGStaticListPropertyTearOff.h
index c991192..b0a85dd 100644
--- a/Source/WebCore/svg/properties/SVGStaticListPropertyTearOff.h
+++ b/Source/WebCore/svg/properties/SVGStaticListPropertyTearOff.h
@@ -36,7 +36,7 @@
using Base::m_role;
using Base::m_values;
- static PassRefPtr<SVGStaticListPropertyTearOff<PropertyType> > create(SVGElement& contextElement, PropertyType& values)
+ static PassRefPtr<SVGStaticListPropertyTearOff<PropertyType>> create(SVGElement& contextElement, PropertyType& values)
{
return adoptRef(new SVGStaticListPropertyTearOff<PropertyType>(&contextElement, values));
}
diff --git a/Source/WebCore/svg/properties/SVGTransformListPropertyTearOff.h b/Source/WebCore/svg/properties/SVGTransformListPropertyTearOff.h
index 7ac124f..7fc183b 100644
--- a/Source/WebCore/svg/properties/SVGTransformListPropertyTearOff.h
+++ b/Source/WebCore/svg/properties/SVGTransformListPropertyTearOff.h
@@ -32,13 +32,13 @@
typedef SVGAnimatedListPropertyTearOff<SVGTransformList> AnimatedListPropertyTearOff;
typedef SVGAnimatedListPropertyTearOff<SVGTransformList>::ListWrapperCache ListWrapperCache;
- static PassRefPtr<SVGListPropertyTearOff<SVGTransformList> > create(AnimatedListPropertyTearOff* animatedProperty, SVGPropertyRole role, SVGTransformList& values, ListWrapperCache& wrappers)
+ static PassRefPtr<SVGListPropertyTearOff<SVGTransformList>> create(AnimatedListPropertyTearOff* animatedProperty, SVGPropertyRole role, SVGTransformList& values, ListWrapperCache& wrappers)
{
ASSERT(animatedProperty);
return adoptRef(new SVGTransformListPropertyTearOff(animatedProperty, role, values, wrappers));
}
- PassRefPtr<SVGPropertyTearOff<SVGTransform> > createSVGTransformFromMatrix(SVGPropertyTearOff<SVGMatrix>* matrix, ExceptionCode& ec)
+ PassRefPtr<SVGPropertyTearOff<SVGTransform>> createSVGTransformFromMatrix(SVGPropertyTearOff<SVGMatrix>* matrix, ExceptionCode& ec)
{
ASSERT(m_values);
if (!matrix) {
@@ -48,7 +48,7 @@
return SVGPropertyTearOff<SVGTransform>::create(m_values->createSVGTransformFromMatrix(matrix->propertyReference()));
}
- PassRefPtr<SVGPropertyTearOff<SVGTransform> > consolidate(ExceptionCode& ec)
+ PassRefPtr<SVGPropertyTearOff<SVGTransform>> consolidate(ExceptionCode& ec)
{
ASSERT(m_values);
ASSERT(m_wrappers);
@@ -62,7 +62,7 @@
return 0;
detachListWrappers(0);
- RefPtr<SVGPropertyTearOff<SVGTransform> > wrapper = SVGPropertyTearOff<SVGTransform>::create(m_values->consolidate());
+ RefPtr<SVGPropertyTearOff<SVGTransform>> wrapper = SVGPropertyTearOff<SVGTransform>::create(m_values->consolidate());
m_wrappers->append(wrapper);
ASSERT(m_values->size() == m_wrappers->size());
diff --git a/Source/WebCore/workers/DefaultSharedWorkerRepository.h b/Source/WebCore/workers/DefaultSharedWorkerRepository.h
index 8267c83..d262952 100644
--- a/Source/WebCore/workers/DefaultSharedWorkerRepository.h
+++ b/Source/WebCore/workers/DefaultSharedWorkerRepository.h
@@ -85,7 +85,7 @@
Mutex m_lock;
// List of shared workers. Expectation is that there will be a limited number of shared workers, and so tracking them in a Vector is more efficient than nested HashMaps.
- typedef Vector<RefPtr<SharedWorkerProxy> > SharedWorkerProxyRepository;
+ typedef Vector<RefPtr<SharedWorkerProxy>> SharedWorkerProxyRepository;
SharedWorkerProxyRepository m_proxies;
};
diff --git a/Source/WebCore/workers/WorkerMessagingProxy.h b/Source/WebCore/workers/WorkerMessagingProxy.h
index 1896a81..61a5836 100644
--- a/Source/WebCore/workers/WorkerMessagingProxy.h
+++ b/Source/WebCore/workers/WorkerMessagingProxy.h
@@ -115,7 +115,7 @@
bool m_askedToTerminate;
- Vector<OwnPtr<ScriptExecutionContext::Task> > m_queuedEarlyTasks; // Tasks are queued here until there's a thread object created.
+ Vector<OwnPtr<ScriptExecutionContext::Task>> m_queuedEarlyTasks; // Tasks are queued here until there's a thread object created.
#if ENABLE(INSPECTOR)
WorkerGlobalScopeProxy::PageInspector* m_pageInspector;
#endif
diff --git a/Source/WebCore/xml/XMLHttpRequestProgressEventThrottle.cpp b/Source/WebCore/xml/XMLHttpRequestProgressEventThrottle.cpp
index 836f481..b5182fc 100644
--- a/Source/WebCore/xml/XMLHttpRequestProgressEventThrottle.cpp
+++ b/Source/WebCore/xml/XMLHttpRequestProgressEventThrottle.cpp
@@ -133,14 +133,14 @@
m_deferEvents = false;
// Take over the deferred events before dispatching them which can potentially add more.
- Vector<RefPtr<Event> > deferredEvents;
+ Vector<RefPtr<Event>> deferredEvents;
m_deferredEvents.swap(deferredEvents);
RefPtr<Event> deferredProgressEvent = m_deferredProgressEvent;
m_deferredProgressEvent = 0;
- Vector<RefPtr<Event> >::const_iterator it = deferredEvents.begin();
- const Vector<RefPtr<Event> >::const_iterator end = deferredEvents.end();
+ Vector<RefPtr<Event>>::const_iterator it = deferredEvents.begin();
+ const Vector<RefPtr<Event>>::const_iterator end = deferredEvents.end();
for (; it != end; ++it)
dispatchEvent(*it);
diff --git a/Source/WebCore/xml/XMLHttpRequestProgressEventThrottle.h b/Source/WebCore/xml/XMLHttpRequestProgressEventThrottle.h
index d967985..e44c120 100644
--- a/Source/WebCore/xml/XMLHttpRequestProgressEventThrottle.h
+++ b/Source/WebCore/xml/XMLHttpRequestProgressEventThrottle.h
@@ -74,7 +74,7 @@
bool m_deferEvents;
RefPtr<Event> m_deferredProgressEvent;
- Vector<RefPtr<Event> > m_deferredEvents;
+ Vector<RefPtr<Event>> m_deferredEvents;
Timer<XMLHttpRequestProgressEventThrottle> m_dispatchDeferredEventsTimer;
};
diff --git a/Source/WebCore/xml/XPathNodeSet.cpp b/Source/WebCore/xml/XPathNodeSet.cpp
index df6633f..9764f79 100644
--- a/Source/WebCore/xml/XPathNodeSet.cpp
+++ b/Source/WebCore/xml/XPathNodeSet.cpp
@@ -153,7 +153,7 @@
bool containsAttributeNodes = false;
- Vector<Vector<Node*> > parentMatrix(nodeCount);
+ Vector<Vector<Node*>> parentMatrix(nodeCount);
for (unsigned i = 0; i < nodeCount; ++i) {
Vector<Node*>& parentsVector = parentMatrix[i];
Node* n = m_nodes[i].get();
@@ -205,7 +205,7 @@
containsAttributeNodes = true;
}
- Vector<RefPtr<Node> > sortedNodes;
+ Vector<RefPtr<Node>> sortedNodes;
sortedNodes.reserveInitialCapacity(nodeCount);
for (Node* n = findRootNode(m_nodes.first().get()); n; n = NodeTraversal::next(n)) {
diff --git a/Source/WebCore/xml/XSLStyleSheet.h b/Source/WebCore/xml/XSLStyleSheet.h
index fd1e393..0149a3f 100644
--- a/Source/WebCore/xml/XSLStyleSheet.h
+++ b/Source/WebCore/xml/XSLStyleSheet.h
@@ -108,7 +108,7 @@
URL m_finalURL;
bool m_isDisabled;
- Vector<OwnPtr<XSLImportRule> > m_children;
+ Vector<OwnPtr<XSLImportRule>> m_children;
bool m_embedded;
bool m_processed;
diff --git a/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp b/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp
index c2ac67a..b402cfc 100644
--- a/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp
+++ b/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp
@@ -354,7 +354,7 @@
OrdinalNumber columnNumber;
};
- Deque<OwnPtr<PendingCallback> > m_callbacks;
+ Deque<OwnPtr<PendingCallback>> m_callbacks;
};
// --------------------------------