Handle [PDFDocument initWithProvider:] returning nil <rdar://problem/61482395>
Created attachment 395880 [details] Patch
Comment on attachment 395880 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=395880&action=review r=me > Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm:873 > + if (!m_incrementalPDFLoadingEnabled || !m_backgroundThreadDocument) { > m_backgroundThreadDocument = nil; You could just do a separate early return, since it's kinda silly to say "if m_backgroundThreadDocument is null, set m_backgroundThreadDocument to null".
Created attachment 395882 [details] Patch
Committed r259765: <https://trac.webkit.org/changeset/259765> All reviewed patches have been landed. Closing bug and clearing flags on attachment 395882 [details].
<rdar://problem/61485477>