[webkit-changes] [WebKit/WebKit] 583a1d: [UnifiedPDF] Move annotationsForFieldName to SPI

Abrar Rahman Protyasha noreply at github.com
Fri Aug 9 11:52:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 583a1deaeece3d4ba0b26be6aaf7cf84c316288b
      https://github.com/WebKit/WebKit/commit/583a1deaeece3d4ba0b26be6aaf7cf84c316288b
  Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
  Date:   2024-08-09 (Fri, 09 Aug 2024)

  Changed paths:
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebKit/Platform/spi/Cocoa/PDFKitSPI.h
    M Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm

  Log Message:
  -----------
  [UnifiedPDF] Move annotationsForFieldName to SPI
https://bugs.webkit.org/show_bug.cgi?id=273643
rdar://124102402

Reviewed by Sammy Gill.

This patch moves the method declaration to an SPI category, and provides
a PlatformHave flag to guard against use of the SPI on unsupported
platforms.

* Source/WTF/wtf/PlatformHave.h:
* Source/WebKit/Platform/spi/Cocoa/PDFKitSPI.h:
* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
(WebKit::UnifiedPDFPlugin::repaintAnnotationsForFormField):

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