[webkit-changes] [WebKit/WebKit] a2d74c: REGRESSION (278263 at main): [UnifiedPDF] Error about...

Simon Fraser noreply at github.com
Thu May 2 18:44:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a2d74c7f55777b2a56cef8c4f90bb87182299a97
      https://github.com/WebKit/WebKit/commit/a2d74c7f55777b2a56cef8c4f90bb87182299a97
  Author: Simon Fraser <simon.fraser at apple.com>
  Date:   2024-05-02 (Thu, 02 May 2024)

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

  Log Message:
  -----------
  REGRESSION (278263 at main): [UnifiedPDF] Error about ProcessCapabilities::canUseAcceleratedBuffers()
https://bugs.webkit.org/show_bug.cgi?id=273658
rdar://127462832

Reviewed by Abrar Rahman Protyasha and Sammy Gill.

We can't mix and match accelerated drawing, and accessing the platform context, because this
tries to map IOSurfaces into the webcontent process, which is denied by the sandbox.

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

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