[webkit-changes] [WebKit/WebKit] fb455d: Fix smart pointer warnings in FontCoreText.cpp

Ryosuke Niwa noreply at github.com
Thu Oct 3 18:09:36 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fb455d61079a345fdfbd4f8c5cc61be2f8082c33
      https://github.com/WebKit/WebKit/commit/fb455d61079a345fdfbd4f8c5cc61be2f8082c33
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2024-10-03 (Thu, 03 Oct 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/FontCustomPlatformData.h
    M Source/WebCore/platform/graphics/FontPlatformData.h
    M Source/WebCore/platform/graphics/coretext/FontCoreText.cpp

  Log Message:
  -----------
  Fix smart pointer warnings in FontCoreText.cpp
https://bugs.webkit.org/show_bug.cgi?id=280857

Reviewed by Vitor Roriz.

Deployed more smart pointers to fix clang static analyzer warnings.

* Source/WebCore/platform/graphics/FontCustomPlatformData.h:
(WebCore::FontPlatformData::protectedCustomPlatformData const):
* Source/WebCore/platform/graphics/FontPlatformData.h:
* Source/WebCore/platform/graphics/coretext/FontCoreText.cpp:
(WebCore::Font::createFontWithoutSynthesizableFeatures const):
(WebCore::Font::platformCreateScaledFont const):

Canonical link: https://commits.webkit.org/284649@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