[webkit-changes] [WebKit/WebKit] e311e6: Drop some dead code according to the clang static ...

Chris Dumez noreply at github.com
Mon Sep 18 13:32:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e311e6b7fce5059373b719341561a759f6bae7d1
      https://github.com/WebKit/WebKit/commit/e311e6b7fce5059373b719341561a759f6bae7d1
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M Source/WebCore/Modules/ShapeDetection/Implementation/Cocoa/VisionUtilities.mm
    M Source/WebCore/css/SelectorCheckerTestFunctions.h
    M Source/WebCore/css/calc/CSSCalcOperationNode.cpp
    M Source/WebCore/editing/cocoa/DataDetection.mm
    M Source/WebCore/html/canvas/GPUCanvasContextCocoa.mm
    M Source/WebCore/inspector/InspectorFrontendClientLocal.cpp
    M Source/WebCore/layout/Verification.cpp
    M Source/WebCore/page/LocalFrameView.cpp
    M Source/WebCore/platform/audio/ReverbConvolver.cpp
    M Source/WebCore/platform/audio/cocoa/CARingBuffer.cpp
    M Source/WebCore/platform/audio/ios/AudioSessionIOS.mm
    M Source/WebCore/platform/graphics/coretext/FontCoreText.cpp
    M Source/WebCore/rendering/AutoTableLayout.cpp
    M Source/WebCore/rendering/LegacyLineLayout.cpp
    M Source/WebCore/rendering/RenderText.cpp
    M Source/WebCore/rendering/mathml/MathOperator.cpp
    M Source/WebCore/rendering/style/StyleGradientImage.cpp
    M Source/WebCore/style/InlineTextBoxStyle.cpp
    M Source/WebCore/testing/Internals.cpp
    M Source/WebCore/xml/XSLTUnicodeSort.cpp
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm

  Log Message:
  -----------
  Drop some dead code according to the clang static analyzer
https://bugs.webkit.org/show_bug.cgi?id=261658

Reviewed by Darin Adler.

* Source/WebCore/Modules/ShapeDetection/Implementation/Cocoa/VisionUtilities.mm:
(WebCore::ShapeDetection::configureRequestToUseCPUOrGPU):
* Source/WebCore/css/SelectorCheckerTestFunctions.h:
(WebCore::matchesLangPseudoClass):
* Source/WebCore/css/calc/CSSCalcOperationNode.cpp:
(WebCore::CSSCalcOperationNode::createSum):
* Source/WebCore/editing/cocoa/DataDetection.mm:
(WebCore::DataDetection::detectContentInRange):
* Source/WebCore/html/canvas/GPUCanvasContextCocoa.mm:
(WebCore::GPUCanvasContextCocoa::markContextChangedAndNotifyCanvasObservers):
* Source/WebCore/inspector/InspectorFrontendClientLocal.cpp:
(WebCore::InspectorFrontendClientLocal::setAttachedWindow):
* Source/WebCore/layout/Verification.cpp:
(WebCore::Layout::outputMismatchingComplexLineInformationIfNeeded):
(WebCore::Layout::verifyAndOutputSubtree):
* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::isScrollable):
* Source/WebCore/platform/audio/ReverbConvolver.cpp:
(WebCore::ReverbConvolver::backgroundThreadEntry):
* Source/WebCore/platform/audio/cocoa/CARingBuffer.cpp:
(WebCore::CARingBuffer::fetchInternal):
* Source/WebCore/platform/audio/ios/AudioSessionIOS.mm:
(WebCore::AudioSessionIOS::setCategory):
* Source/WebCore/platform/graphics/coretext/FontCoreText.cpp:
(WebCore::Font::platformInit):
* Source/WebCore/rendering/AutoTableLayout.cpp:
(WebCore::AutoTableLayout::calcEffectiveLogicalWidth):
* Source/WebCore/rendering/LegacyLineLayout.cpp:
(WebCore::constructBidiRunsForSegment):
* Source/WebCore/rendering/RenderText.cpp:
(WebCore::RenderText::width const):
* Source/WebCore/rendering/mathml/MathOperator.cpp:
(WebCore::MathOperator::calculateStretchyData):
* Source/WebCore/rendering/style/StyleGradientImage.cpp:
(WebCore::endPointsFromAngleForPrefixedVariants):
* Source/WebCore/style/InlineTextBoxStyle.cpp:
(WebCore::computedUnderlineOffset):
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::parserMetaData):
* Source/WebCore/xml/XSLTUnicodeSort.cpp:
(WebCore::xsltUnicodeSortFunction):
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didAttachToRunningProcess):
* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::updateVisibleContentRects):

Canonical link: https://commits.webkit.org/268092@main




More information about the webkit-changes mailing list