Changeset 249624 in webkit


Ignore:
Timestamp:
Sep 7, 2019 9:17:46 PM (5 years ago)
Author:
timothy_horton@apple.com
Message:

Marking up a note on iOS results in a PDF with no contents
https://bugs.webkit.org/show_bug.cgi?id=201530
<rdar://problem/53686019>

Unreviewed follow-up.

  • UIProcess/ios/WKContentView.mm:

(-[WKContentView _waitForDrawToPDFCallback]):
Remove an ASSERT_NOT_REACHED that fires if the synchronous wait for printing
times out. This is a totally legitimite situation that can occur if the process
crashes; there's no need for an assert there.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r249623 r249624  
     12019-09-07  Tim Horton  <timothy_horton@apple.com>
     2
     3        Marking up a note on iOS results in a PDF with no contents
     4        https://bugs.webkit.org/show_bug.cgi?id=201530
     5        <rdar://problem/53686019>
     6
     7        Unreviewed follow-up.
     8
     9        * UIProcess/ios/WKContentView.mm:
     10        (-[WKContentView _waitForDrawToPDFCallback]):
     11        Remove an ASSERT_NOT_REACHED that fires if the synchronous wait for printing
     12        times out. This is a totally legitimite situation that can occur if the process
     13        crashes; there's no need for an assert there.
     14
    1152019-09-07  Alex Christensen  <achristensen@webkit.org>
    216
  • trunk/Source/WebKit/UIProcess/ios/WKContentView.mm

    r249584 r249624  
    745745- (BOOL)_waitForDrawToPDFCallback
    746746{
    747     if (!_page->process().connection()->waitForAndDispatchImmediately<Messages::WebPageProxy::DrawToPDFCallback>(_page->webPageID(), Seconds::infinity())) {
    748         ASSERT_NOT_REACHED();
     747    if (!_page->process().connection()->waitForAndDispatchImmediately<Messages::WebPageProxy::DrawToPDFCallback>(_page->webPageID(), Seconds::infinity()))
    749748        return false;
    750     }
    751749    ASSERT(!_isPrintingToPDF);
    752750    return true;
Note: See TracChangeset for help on using the changeset viewer.