[webkit-changes] [WebKit/WebKit] 8f4ad0: RELEASE_ASSERT() under PrintContext::spoolPage()

Chris Dumez noreply at github.com
Tue Mar 19 12:00:05 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8f4ad0b7b3a5ba05cc7dda83f2d99f2f1c9bcfe5
      https://github.com/WebKit/WebKit/commit/8f4ad0b7b3a5ba05cc7dda83f2d99f2f1c9bcfe5
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M Source/WebKit/WebProcess/WebPage/WebPage.cpp
    M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm

  Log Message:
  -----------
  RELEASE_ASSERT() under PrintContext::spoolPage()
https://bugs.webkit.org/show_bug.cgi?id=271176
rdar://122974558

Reviewed by Ryosuke Niwa.

Make sure the page index is valid before calling spoolPage().

* Source/WebKit/WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::drawPagesToPDFImpl):
* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::drawToImage):

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