[webkit-changes] [WebKit/WebKit] d81106: Fix unexpected smart pointer static analyzer warni...

Ryosuke Niwa noreply at github.com
Wed Sep 18 19:54:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d8110645bb86fc8679dcf52e4d41c7548bc102a1
      https://github.com/WebKit/WebKit/commit/d8110645bb86fc8679dcf52e4d41c7548bc102a1
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2024-09-18 (Wed, 18 Sep 2024)

  Changed paths:
    M Source/WebCore/css/CSSFontFeatureValue.h
    M Source/WebCore/css/CSSFontStyleWithAngleValue.h
    M Source/WebCore/css/CSSFontVariationValue.h
    M Source/WebCore/style/StyleResolveForFont.cpp
    M Source/WebKit/GPUProcess/ShapeDetection/RemoteTextDetector.cpp
    M Source/WebKit/GPUProcess/ShapeDetection/RemoteTextDetector.h
    M Source/WebKit/Shared/Cocoa/WKNSArray.mm
    M Source/WebKit/UIProcess/ResponsivenessTimer.cpp
    M Source/WebKit/UIProcess/ResponsivenessTimer.h

  Log Message:
  -----------
  Fix unexpected smart pointer static analyzer warnings in WebCore and WebKit
https://bugs.webkit.org/show_bug.cgi?id=279920

Reviewed by Geoffrey Garen.

Fix unexpected smart pointer clang static analyzer warnings in WebCore and WebKit.

* Source/WebCore/css/CSSFontFeatureValue.h:
* Source/WebCore/css/CSSFontStyleWithAngleValue.h:
* Source/WebCore/css/CSSFontVariationValue.h:
* Source/WebCore/style/StyleResolveForFont.cpp:
(WebCore::Style::fontStyleFromCSSValueDeprecated):
(WebCore::Style::fontStyleFromCSSValue):
(WebCore::Style::fontFeatureSettingsFromCSSValue):
(WebCore::Style::fontVariationSettingsFromCSSValue):
(WebCore::Style::fontSizeAdjustFromCSSValue):
* Source/WebKit/GPUProcess/ShapeDetection/RemoteTextDetector.cpp:
(WebKit::RemoteTextDetector::sharedPreferencesForWebProcess const):
(WebKit::RemoteTextDetector::protectedBacking const):
(WebKit::RemoteTextDetector::protectedBackend const):
(WebKit::RemoteTextDetector::protectedBacking): Deleted.
(WebKit::RemoteTextDetector::protectedBackend): Deleted.
* Source/WebKit/GPUProcess/ShapeDetection/RemoteTextDetector.h:
(WebKit::RemoteTextDetector::backing const):
(WebKit::RemoteTextDetector::backing): Deleted.
* Source/WebKit/Shared/Cocoa/WKNSArray.mm:
(-[WKNSArray objectAtIndex:]):
(-[WKNSArray _protectedArray]):
* Source/WebKit/UIProcess/ResponsivenessTimer.cpp:
(WebKit::ResponsivenessTimer::protectedClient const):
(WebKit::ResponsivenessTimer::mayBecomeUnresponsive const):
* Source/WebKit/UIProcess/ResponsivenessTimer.h:

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list