[webkit-changes] [WebKit/WebKit] 59b718: [UnifiedPDF] Use std::optional::transform() in enq...

Abrar Rahman Protyasha noreply at github.com
Mon Aug 12 21:00:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 59b718516b85d023a655053ef5f8e0a7f9220d24
      https://github.com/WebKit/WebKit/commit/59b718516b85d023a655053ef5f8e0a7f9220d24
  Author: Abrar Rahman Protyasha <a_protyasha at apple.com>
  Date:   2024-08-12 (Mon, 12 Aug 2024)

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

  Log Message:
  -----------
  [UnifiedPDF] Use std::optional::transform() in enqueueTilePaintIfNecessary
https://bugs.webkit.org/show_bug.cgi?id=277985
rdar://133719325

Reviewed by Tim Horton.

We essentially hand-write `std::optional::transform()` in 282135 at main, so
this patch just migrates to using the standard library version instead.

* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/AsyncPDFRenderer.mm:
(WebKit::AsyncPDFRenderer::enqueueTilePaintIfNecessary):

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