Skip to content
  • abarth@webkit.org's avatar
    Convert more static Strings to use ASCIILiteral · b1e7d635
    abarth@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=95313
    
    Reviewed by Eric Seidel.
    
    This patch converts another swath of static strings to use ASCIILiteral
    as recommended by http://trac.webkit.org/wiki/EfficientStrings.
    
    * Modules/mediasource/MediaSource.cpp:
    (WebCore::MediaSource::openKeyword):
    (WebCore):
    (WebCore::MediaSource::closedKeyword):
    (WebCore::MediaSource::endedKeyword):
    * Modules/mediasource/MediaSource.h:
    (MediaSource):
    * Modules/navigatorcontentutils/NavigatorContentUtils.cpp:
    (WebCore::customHandlersStateString):
    * Modules/notifications/Notification.cpp:
    (WebCore::Notification::permissionString):
    * accessibility/AccessibilityMediaControls.cpp:
    (WebCore::AccessibilityMediaControl::controlTypeName):
    (WebCore::AccessibilityMediaControl::title):
    (WebCore::AccessibilityMediaControlsContainer::elementTypeName):
    (WebCore::AccessibilityMediaTimeline::helpText):
    * bindings/js/JSInspectorFrontendHostCustom.cpp:
    (WebCore::JSInspectorFrontendHost::platform):
    (WebCore::JSInspectorFrontendHost::port):
    * bindings/js/ScriptEventListener.cpp:
    (WebCore::eventParameterName):
    * bindings/v8/ScriptEventListener.cpp:
    (WebCore::eventParameterName):
    * css/CSSWrapShapes.cpp:
    (WebCore::CSSWrapShapeRectangle::cssText):
    (WebCore::CSSWrapShapeCircle::cssText):
    (WebCore::CSSWrapShapeEllipse::cssText):
    (WebCore::CSSWrapShapePolygon::cssText):
    * css/StyleSheetContents.cpp:
    (WebCore::StyleSheetContents::parseAuthorStyleSheet):
    * dom/Document.cpp:
    (WebCore::Document::readyState):
    * editing/MarkupAccumulator.cpp:
    (WebCore::appendCharactersReplacingEntities):
    * editing/markup.cpp:
    (WebCore::StyledMarkupAccumulator::appendStyleNodeOpenTag):
    (WebCore::StyledMarkupAccumulator::styleNodeCloseTag):
    (WebCore::StyledMarkupAccumulator::appendElement):
    (WebCore::createMarkup):
    * html/track/TextTrackCue.cpp:
    (WebCore::startKeyword):
    (WebCore::middleKeyword):
    (WebCore::endKeyword):
    (WebCore::verticalGrowingLeftKeyword):
    (WebCore::verticalGrowingRightKeyword):
    (WebCore::TextTrackCue::updateDisplayTree):
    (WebCore::TextTrackCue::settingName):
    * page/DiagnosticLoggingKeys.cpp:
    (WebCore::DiagnosticLoggingKeys::mediaLoadedKey):
    (WebCore::DiagnosticLoggingKeys::mediaLoadingFailedKey):
    (WebCore::DiagnosticLoggingKeys::pluginLoadedKey):
    (WebCore::DiagnosticLoggingKeys::pluginLoadingFailedKey):
    (WebCore::DiagnosticLoggingKeys::pageContainsPluginKey):
    (WebCore::DiagnosticLoggingKeys::pageContainsAtLeastOnePluginKey):
    (WebCore::DiagnosticLoggingKeys::passKey):
    (WebCore::DiagnosticLoggingKeys::failKey):
    (WebCore::DiagnosticLoggingKeys::noopKey):
    * page/PageVisibilityState.cpp:
    (WebCore::pageVisibilityStateString):
    * page/UserContentURLPattern.cpp:
    (WebCore::UserContentURLPattern::parse):
    * platform/KURLWTFURL.cpp:
    (WebCore::KURL::string):
    * platform/MIMETypeRegistry.cpp:
    (WebCore::defaultMIMEType):
    (WebCore::mimeTypeAssociationMap):
    * platform/network/ContentTypeParser.cpp:
    (WebCore::ContentTypeParser::parse):
    * platform/network/win/DownloadBundleWin.cpp:
    (WebCore::DownloadBundle::fileExtension):
    * storage/StorageTracker.cpp:
    (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
    * svg/SVGAnimatedBoolean.cpp:
    (WebCore::SVGAnimatedBooleanAnimator::constructFromString):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127062 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b1e7d635