[webkit-changes] [WebKit/WebKit] e6c01f: [UnifiedPDF] Occasionally, PDF is stuck displaying...

Abrar Rahman Protyasha noreply at github.com
Mon May 20 10:21:02 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e6c01f07ff5b32ac4d53a07b13ad5fbe3dd16843
      https://github.com/WebKit/WebKit/commit/e6c01f07ff5b32ac4d53a07b13ad5fbe3dd16843
  Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
  Date:   2024-05-20 (Mon, 20 May 2024)

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

  Log Message:
  -----------
  [UnifiedPDF] Occasionally, PDF is stuck displaying low-res tiles when switching tabs in Safari
https://bugs.webkit.org/show_bug.cgi?id=274386
rdar://127869064

Reviewed by Tim Horton.

We drop high-res tiles due to background tile purging, but do not get
them back when switching back to a Safari tab displaying a PDF. Since
this only reproduces with asynchronous drawing enabled for the contents
layer, this patch disables asynchronous drawing for said layer. A more
"correct" fix is tracked by https://webkit.org/b/274387.

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

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