[webkit-changes] [WebKit/WebKit] 1db53f: [UnifiedPDF] `UnifiedPDFPlugin::scaleFactor()` alw...

Abrar Rahman Protyasha noreply at github.com
Thu Dec 7 19:22:59 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1db53fe7ec8e9962e9debd599fff40323cabd150
      https://github.com/WebKit/WebKit/commit/1db53fe7ec8e9962e9debd599fff40323cabd150
  Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
  Date:   2023-12-07 (Thu, 07 Dec 2023)

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

  Log Message:
  -----------
  [UnifiedPDF] `UnifiedPDFPlugin::scaleFactor()` always reports a scale factor of 1
https://bugs.webkit.org/show_bug.cgi?id=266035
rdar://119344324

Reviewed by Tim Horton and Simon Fraser.

Let's make it report `m_scaleFactor` instead, since it isn't guaranteed
that the scale factor will be 1.

* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
(WebKit::UnifiedPDFPlugin::scaleFactor):

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




More information about the webkit-changes mailing list