Bug 252194

Summary: [GPU Process] REGRESSION(259928@main): Assertion fails when drawing a PDFDocumentImage as a background-image
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: ImagesAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: sabouhallawa
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=245664
https://bugs.webkit.org/show_bug.cgi?id=252129

Description Said Abou-Hallawa 2023-02-13 14:15:06 PST
Image::drawTiled() calls Image::draw() directly instead of calling GraphicsContext::drawImage(). For the PDFDocumentImage, this will hit an assertion failure and trial to draw the pdf image on a DisplayRecorder context.
Comment 1 Said Abou-Hallawa 2023-02-13 14:56:44 PST
This is fixed by the patch of bug 252129.

*** This bug has been marked as a duplicate of bug 252129 ***