Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1c887f9ef7f30d21664831ed974e73bef9af94f8
      
https://github.com/WebKit/WebKit/commit/1c887f9ef7f30d21664831ed974e73bef9af94f8
  Author: Abrar Rahman Protyasha <[email protected]>
  Date:   2025-05-18 (Sun, 18 May 2025)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm

  Log Message:
  -----------
  [watchOS debug] Build broken because of undefined symbol 
WebKit::WebPage::drawPDFDocument
https://bugs.webkit.org/show_bug.cgi?id=293210
rdar://151573329

Unreviewed build fix.

The !HAVE_PDFKIT configuration does not provide a definition for
WebPage::drawPDFDocument, and as such fails to link. This can be seen in
the debug watchOS build.

```
Undefined symbols for architecture arm64e:
  "WebKit::WebPage::drawPDFDocument(CGContext*, PDFDocument*, WebKit::PrintInfo 
const&, WebCore::IntRect const&)", referenced from:
      
WebKit::WebPage::drawRectToImage(WTF::ObjectIdentifierGeneric<WebCore::FrameIdentifierType,
 WTF::ObjectIdentifierMainThreadAccessTraits<unsigned long long>, unsigned long 
long>, WebKit::PrintInfo const&, WebCore::IntRect const&, WebCore::IntSize 
const&, WTF::CompletionHandler<void 
(std::__1::optional<WebCore::ShareableBitmapHandle>&&)>&&) in UnifiedSource137.o
ld: symbol(s) not found for architecture arm64e
```

This patch provides a placeholder implementation for drawPDFDocument in
the relevant configuration.

* Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm:
(WebKit::WebPage::drawPDFDocument):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to