• kangil.han@samsung.com's avatar
    Prefer prefix ++/-- operators for non-primitive types · d97b4ea1
    kangil.han@samsung.com authored
    https://bugs.webkit.org/show_bug.cgi?id=114033
    
    Reviewed by Alexey Proskuryakov.
    
    Post ++/-- creates a copy of current value and it is not necessary, so use prefix instead.
    
    * bindings/js/Dictionary.cpp:
    (WebCore::Dictionary::getOwnPropertiesAsStringHashMap):
    (WebCore::Dictionary::getOwnPropertyNames):
    * bindings/js/ScriptCallStackFactory.cpp:
    (WebCore::createScriptCallStack):
    * dom/ContainerNode.cpp:
    (WebCore::willRemoveChildren):
    * dom/Range.cpp:
    (WebCore::Range::processAncestorsAndTheirSiblings):
    * loader/FrameLoader.cpp:
    (WebCore::FrameLoader::detachChildren):
    * platform/graphics/gpu/LoopBlinnPathProcessor.cpp:
    (WebCore):
    (WebCore::LoopBlinnPathProcessor::subdivideCurvesSlow):
    * rendering/InlineTextBox.cpp:
    (WebCore::InlineTextBox::paintDocumentMarkers):
    * xml/XPathFunctions.cpp:
    (WebCore::XPath::Function::setArguments):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147832 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d97b4ea1
XPathFunctions.cpp 20.3 KB