If the document consists only of invalid pages, WebPDFViewPlaceholder will divide-by-zero when computing its destination size. WKPDFView will just crash when it hits an invalid page, so we should avoid that as well. <rdar://problem/15580682>
Created attachment 227159 [details] patch
Created attachment 227160 [details] patch
http://trac.webkit.org/changeset/165896