Skip to content
  • commit-queue@webkit.org's avatar
    Make chromium-linux build without WTF_DEPRECATED_STRING_OPERATORS · fea002d0
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=95798
    
    Patch by Adam Barth <abarth@chromium.org> on 2012-09-04
    Reviewed by Eric Seidel.
    
    Source/WebCore:
    
    This patch makes the chromium-linux port build without
    WTF::String::operator+=.  There are a couple places that require some
    more careful study, and I've whitelisted those uses by defining
    WTF_DEPRECATED_STRING_OPERATORS at the top of the files. (See
    https://bugs.webkit.org/show_bug.cgi?id=95797 for an explanation of
    WTF_DEPRECATED_STRING_OPERATORS.)
    
    * css/StylePropertySet.cpp:
    * inspector/InspectorOverlay.cpp:
    (WebCore::InspectorOverlay::drawNodeHighlight):
    * platform/graphics/filters/CustomFilterValidatedProgram.cpp:
    (WebCore::CustomFilterValidatedProgram::rewriteMixVertexShader):
    
    Source/WebKit/chromium:
    
    * src/WebAccessibilityObject.cpp:
    (WebKit::WebAccessibilityObject::keyboardShortcut):
      - Remove use of WTF::String::operator+=
    * src/WebPageSerializerImpl.cpp:
      - Whitelist use of WTF::String::operator+=. Remove this use will take
        some more careful thought.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    fea002d0