[webkit-changes] [WebKit/WebKit] eecdb3: UnifiedPDF: Annotation entry fields are misplaced

Tim Horton noreply at github.com
Fri Feb 16 00:24:09 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: eecdb3e9f6ae0d03e0273303993c2b28f02ed106
      https://github.com/WebKit/WebKit/commit/eecdb3e9f6ae0d03e0273303993c2b28f02ed106
  Author: Tim Horton <timothy_horton at apple.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm

  Log Message:
  -----------
  UnifiedPDF: Annotation entry fields are misplaced
https://bugs.webkit.org/show_bug.cgi?id=269554

Reviewed by Sammy Gill.

* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
(WebKit::UnifiedPDFPlugin::pluginBoundsForAnnotation const):
Convert a rectangle using our (newly fixed) rectangle conversion method,
instead of decomposing it into a point and size and transforming them separately.

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




More information about the webkit-changes mailing list