[webkit-changes] [WebKit/WebKit] 647e46: Stop using raw pointer in PlatformSpeechSynthesisU...

Sihui noreply at github.com
Thu Aug 17 01:49:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 647e462ab39a515c2e3a1eec0a998e13ab4eed76
      https://github.com/WebKit/WebKit/commit/647e462ab39a515c2e3a1eec0a998e13ab4eed76
  Author: Sihui Liu <sihui_liu at apple.com>
  Date:   2023-08-17 (Thu, 17 Aug 2023)

  Changed paths:
    M Source/WebCore/platform/PlatformSpeechSynthesisUtterance.h

  Log Message:
  -----------
  Stop using raw pointer in PlatformSpeechSynthesisUtteranceClient
https://bugs.webkit.org/show_bug.cgi?id=260304
rdar://113988475

Reviewed by Ryosuke Niwa.

Replace it with WeakPtr for safety.

* Source/WebCore/platform/PlatformSpeechSynthesisUtterance.h:
(WebCore::PlatformSpeechSynthesisUtterance::client const):

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




More information about the webkit-changes mailing list