[webkit-changes] [WebKit/WebKit] 76b0ad: UnifiedPDF: Only the first page of incrementally-l...

Tim Horton noreply at github.com
Mon Feb 12 16:14:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 76b0ad84af4057e31a63c20893bc349011b898b7
      https://github.com/WebKit/WebKit/commit/76b0ad84af4057e31a63c20893bc349011b898b7
  Author: Tim Horton <thorton at apple.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

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

  Log Message:
  -----------
  UnifiedPDF: Only the first page of incrementally-loaded PDFs is visible
https://bugs.webkit.org/show_bug.cgi?id=269132
rdar://122692572

Reviewed by Simon Fraser.

* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
(WebKit::UnifiedPDFPlugin::installPDFDocument):
Hint to PDF that we have all the data once installing the PDFDocument
on the main thread, so that it will paint pages beyond the explicitly preloaded ones.

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




More information about the webkit-changes mailing list